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

Starting shell in meterpreter session doesn't work #78

Open
dupouyleo opened this issue Jul 7, 2021 · 0 comments
Open

Starting shell in meterpreter session doesn't work #78

dupouyleo opened this issue Jul 7, 2021 · 0 comments

Comments

@dupouyleo
Copy link

dupouyleo commented Jul 7, 2021

Hi,
The following line make an infinite sleep when we try to start a shell inside a meterpreter session :

self.run_with_output(cmd, end_strs)

The reason is that meterpreter never show the ">" character when we try to launch a shell session.
We should replace the line by something like that :

res = self.run_with_output("shell")
if "command not found" in res:
    return False
else:
    return True

Thanks for the great work !

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