Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making better fully interactive Shells #3

Open
PowerPress opened this issue Nov 19, 2020 · 1 comment
Open

Making better fully interactive Shells #3

PowerPress opened this issue Nov 19, 2020 · 1 comment
Assignees
Labels
invalid This doesn't seem right question Further information is requested

Comments

@PowerPress
Copy link

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

@t0thkr1s
Copy link
Owner

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 t0thkr1s added invalid This doesn't seem right question Further information is requested labels Nov 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants