Last active
April 2, 2019 20:32
-
-
Save chosenonehacks/7d8f7853027594961d3dbcc8b190ee9f to your computer and use it in GitHub Desktop.
Spawn TTY Shell
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
python -c 'import pty;pty.spawn("/bin/bash")' | |
#or | |
/bin/sh -i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment