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

Add option for fully interactive shell #1415

Open
clubby789 opened this issue Jan 24, 2020 · 2 comments
Open

Add option for fully interactive shell #1415

clubby789 opened this issue Jan 24, 2020 · 2 comments
Labels
term This is connected to pwnlib.term module

Comments

@clubby789
Copy link
Contributor

Whenever I use pwntools to gain a shell, and call interactive() it can be frustrating to deal with not being able to use Ctrl-C, Ctrl-Z etc. I believe it would be useful to add a tty flag to interactive() so it handles keyboard events such as these without exiting.

@Arusekk
Copy link
Member

Arusekk commented Apr 10, 2020

This could possibly be solved if the remote end was shell, we could spawn a pty on remote end and route keystrokes through it... but it is way harder than just installing a signal handler on local side / manipulating termios stuff.

@Arusekk Arusekk added the term This is connected to pwnlib.term module label Apr 10, 2020
@Arusekk
Copy link
Member

Arusekk commented Jun 3, 2020

This might be actually possible as in rapid7/metasploit-framework#10389 (we already have a dealarm function)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
term This is connected to pwnlib.term module
Projects
None yet
Development

No branches or pull requests

2 participants