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

Stop hanging command execution in console #80

Open
0xless opened this issue Nov 18, 2021 · 0 comments
Open

Stop hanging command execution in console #80

0xless opened this issue Nov 18, 2021 · 0 comments

Comments

@0xless
Copy link

0xless commented Nov 18, 2021

I'm trying to automate the attack to a whole network and I'm using client.consoles.console(cid).write(command) to execute commands in a metasploit console.

I found that an exploit I'm using sometimes hangs and blocks the execution of the whole process.
What I need to do is to stop the execution of this command (without destroying the console).

I couldn't find a way to do this using the library. It would be a cool feature to have.

I thought about sending a SIGINT signal to take care of that but I struggle to figure out the process to which send the signal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant