Skip to content

Instantly share code, notes, and snippets.

@gnuns
Created January 11, 2016 01:06
Show Gist options
  • Save gnuns/a6027c3374c44fe3b2de to your computer and use it in GitHub Desktop.
Save gnuns/a6027c3374c44fe3b2de to your computer and use it in GitHub Desktop.
Using Python To Get A TTY on netcat reverse shell
#sh: no job control in this shell
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