Skip to content

Instantly share code, notes, and snippets.

@cfra
Created November 11, 2012 14:06
Show Gist options
  • Save cfra/4054987 to your computer and use it in GitHub Desktop.
Save cfra/4054987 to your computer and use it in GitHub Desktop.
tty fun
[root@hermes nihilus]# su - dropoff # <- This is the only line ever entered on a keyboard
exit
echo "Running exploit as $(whoami)"
[dropoff@hermes ~]$ exit
logout
[root@hermes nihilus]# echo "Running exploit as $(whoami)"
Running exploit as root
[root@hermes nihilus]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment