mirror of
https://github.com/0xdade/HackerStuff.git
synced 2025-10-29 16:59:27 +00:00
14 lines
186 B
Bash
14 lines
186 B
Bash
# Victim
|
|
python -c 'import pty; pty.spawn("/bin/bash")'
|
|
#Ctrl-Z
|
|
|
|
# Attacker
|
|
stty raw -echo
|
|
fg
|
|
|
|
# Victim
|
|
reset
|
|
export SHELL=bash
|
|
export TERM=xterm-256color
|
|
stty rows <num> columns <cols>
|