DanMcInerney / pymetasploit3

Automation library for Metasploit
MIT License
373 stars 92 forks source link

Fixed setting target value when running a module using the console #68

Closed code4days closed 3 years ago

code4days commented 3 years ago

When running a module using a console, the run_module_with_output method does not add a set TARGET <ID> line to the outputs_str variable. This prevents some exploits from running successfully when the target value is changed.