allfro / pymetasploit

A full-fledged msfrpc library for Metasploit framework.
297 stars 141 forks source link

How to run exploit with option -j ? #13

Open D35m0nd142 opened 6 years ago

D35m0nd142 commented 6 years ago

Hi, first of all compliments for your job, it's very easy to use and useful. I would like to ask you if it is possible to execute exploits using the option "-j". I am trying to figure it out, but what should I add in this command?

exploit.execute(payload=mypayload,...)

Thanks in advance.