Last active
October 29, 2018 23:22
-
-
Save sckalath/af08c129f03629d6bd14 to your computer and use it in GitHub Desktop.
tricks
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
#get a pty through python | |
python -c 'import pty; pty.spawn("/bin/bash");' | |
#grab the user agent from the http header on port 10443 | |
tcpdump -A -l -vvvs 1024 -npi eth0 port 10443 | |
#base64 decode a string | |
echo STRINGTODECODE | base64 --decode | |
#escape jail shell | |
echo os.system("/bin/bash") #when echo command is available |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment