Skip to content

Instantly share code, notes, and snippets.

@noobpk
Created August 31, 2020 16:45
Show Gist options
  • Select an option

  • Save noobpk/f8119f89ae8d8be35c23ce24ba077271 to your computer and use it in GitHub Desktop.

Select an option

Save noobpk/f8119f89ae8d8be35c23ce24ba077271 to your computer and use it in GitHub Desktop.
Spawn 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