Version 3, 29 June 2007
Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
| $ sudo kpartx -v -a stripe-ctf-server-ubuntu-10.04-lucid-amd64-20120427-0108.img | |
| add map loop0p1 (253:7): 0 8386560 linear /dev/loop0 2048 | |
| $ mkdir /tmp/mnt | |
| $ sudo mount /dev/mapper/loop0p1 /tmp/mnt | |
| $ sudo chroot /tmp/mnt | |
| # getent passwd | |
| root:x:0:0:root:/root:/bin/bash | |
| daemon:x:1:1:daemon:/usr/sbin:/bin/sh | |
| bin:x:2:2:bin:/bin:/bin/sh | |
| sys:x:3:3:sys:/dev:/bin/sh |
| # Colorizes the output of the standard library logger, depending on the logger level: | |
| # To adjust the colors, look at Logger::Colors::SCHEMA and Logger::Colors::constants | |
| class ColoredLogger < Logger | |
| module Colors | |
| VERSION = '1.0.1' | |
| NOTHING = '0;0' | |
| BLACK = '0;30' | |
| RED = '0;31' | |
| GREEN = '0;32' |
| #!/bin/sh | |
| cat /home/level02/.password |
| #!/usr/bin/env ruby | |
| require 'rubygems' | |
| require 'eventmachine' | |
| class Server < EM::Connection | |
| def post_init | |
| puts "Someone connected" | |
| send_data "Hello!\n" | |
| end |
Version 3, 29 June 2007
Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.