diff --git a/Upgrade-Shells/stty.sh b/Upgrade-Shells/stty.sh new file mode 100644 index 0000000..b7a4190 --- /dev/null +++ b/Upgrade-Shells/stty.sh @@ -0,0 +1,13 @@ +# 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 columns