diff options
Diffstat (limited to 'ramfs/home')
| -rw-r--r-- | ramfs/home/.profile | 5 | ||||
| -rw-r--r-- | ramfs/home/README | 21 |
2 files changed, 26 insertions, 0 deletions
diff --git a/ramfs/home/.profile b/ramfs/home/.profile new file mode 100644 index 0000000..7a6e604 --- /dev/null +++ b/ramfs/home/.profile @@ -0,0 +1,5 @@ +if [ "$(id -u)" == "0" ] ; then + PS1='\[\033[01;31m\]hackme\[\033[01;34m\] \W #\[\033[00m\] ' +else + PS1='\[\033[01;32m\]not-yet-root@hackme\[\033[01;34m\] \w \$\[\033[00m\] ' +fi diff --git a/ramfs/home/README b/ramfs/home/README new file mode 100644 index 0000000..48f8c16 --- /dev/null +++ b/ramfs/home/README @@ -0,0 +1,21 @@ +=== Welcome to the ZX2C4 Kernel Challenge === + by Jason A. Donenfeld <Jason@zx2c4.com> + + +Pwn the kernel and pop a root shell! + +Source is available inside /src. + + +eth0 receives an IP address via dhcp. It may be helpful to do +development on the host and send binaries to the VM: + +On the VM: + /home $ while true; do nc -l -p 1234 > a; chmod +x a; ./a; done + +On the host: + $ gcc -static -o a vuln.c && nc 192.168.56.102 1234 < a + + +More information about this project is available at: + <http://git.zx2c4.com/kernel-pwn-challenge/about/> |
