revshellgen icon indicating copy to clipboard operation
revshellgen copied to clipboard

Making better fully interactive Shells

Open PowerPress opened this issue 4 years ago • 1 comments

https://blog.ropnop.com/upgrading-simple-shells-to-fully-interactive-ttys/

See Method 3: Upgrading from netcat with magic:

To get fully interactive shells it should provide these additional commands and prompt the rows and columns

In reverse shell

$ python -c 'import pty; pty.spawn("/bin/bash")' Ctrl-Z

In Kali

$ stty raw -echo $ fg

In reverse shell

$ reset $ export SHELL=bash $ export TERM=xterm-256color $ stty rows columns

PowerPress avatar Nov 19 '20 22:11 PowerPress

I'm aware of this technique, butI think that this is not in the scope of this project. The main goal here is to quickly generate reverse shell commands without additional hassle. If you have further ideas that you want to implement in this project let me know.

t0thkr1s avatar Nov 20 '20 16:11 t0thkr1s