mirror of
https://github.com/hackerschoice/thc-tips-tricks-hacks-cheat-sheet.git
synced 2026-07-13 13:57:19 +02:00
zsh workaround
This commit is contained in:
@@ -413,13 +413,10 @@ $ python -c 'import pty; pty.spawn("/bin/bash")'
|
||||
|
||||
# Now Press Ctrl-Z to suspend the connection and return to your own terminal.
|
||||
# On your terminal execute:
|
||||
$ stty raw -echo
|
||||
|
||||
# ...and bring the connection back into the foreground:
|
||||
$ fg
|
||||
$ reset
|
||||
$ stty raw -echo; fg
|
||||
|
||||
# On target host
|
||||
$ reset
|
||||
$ export SHELL=bash
|
||||
$ export TERM=xterm-256color
|
||||
$ stty rows 24 columns 80
|
||||
|
||||
Reference in New Issue
Block a user