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

Payload dosen`t change after execution #92

Open
zsamamah opened this issue Dec 25, 2022 · 2 comments
Open

Payload dosen`t change after execution #92

zsamamah opened this issue Dec 25, 2022 · 2 comments

Comments

@zsamamah
Copy link

While i`m trying to automate the exploitation, i set the exploit and the payload; But when a session opened it takes a different payload and execute the exploit using it.
pymetasploit3

@kevin-poole
Copy link

Hello. I believe I am seeing this same issue. wondering whether there are any thoughts on how to work around it at present?

@nrathaus
Copy link

nrathaus commented Mar 5, 2024

I had better success of controlling everything if I use run_module_with_output

As it opens a console, and "types" the commands one by one - and you can more easily:

  1. debug it
  2. it actually listens to your additional commands (like set payload...)

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

3 participants