pymetasploit3
pymetasploit3 copied to clipboard
Payload dosen`t change after execution
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.

Hello. I believe I am seeing this same issue. wondering whether there are any thoughts on how to work around it at present?
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:
- debug it
- it actually listens to your additional commands (like set payload...)