mirror of
https://github.com/0xdade/HackerStuff.git
synced 2025-10-29 16:59:27 +00:00
Create stty.sh
This commit is contained in:
parent
e3a3f8f882
commit
49835eed58
13
Upgrade-Shells/stty.sh
Normal file
13
Upgrade-Shells/stty.sh
Normal file
@ -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 <num> columns <cols>
|
||||||
Loading…
x
Reference in New Issue
Block a user