Reverse Shells
Revision as of 07:47, 23 January 2020 by Rafahsolis (talk | contribs)
http://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet
https://blog.ropnop.com/upgrading-simple-shells-to-fully-interactive-ttys/
Upgrading nc shell
$ stty -a # to get rows and columns from your machine
$ nc -lvp 444 # connect from the attacked machine
$ stty raw -echo
$ fg 1
$ reset
$ export SHELL=bash
$ export TERM=xterm256-color
$ stty rows 38 columns 116