upgrade reverse shell
code:bash
python -c 'import pty;pty.spawn("/bin/bash")'
export TERM=xterm
# ここで Ctrl + z をおす
stty raw -echo; fg
# 上記入力後、Enter を二回おす
nanoやviが小さい時は、まず自分のターミナルの設定を確認する:
code:bash
$ stty -a
rows 34; columns 137
...
code:bash
$ stty rows 34 columns 137