updated javapwns shutdown function

This commit is contained in:
byt3bl33d3r 2014-07-18 01:32:34 +02:00
parent a60a199e59
commit 0148246155

View file

@ -170,7 +170,7 @@ class JavaPwn(BrowserProfiler, Plugin):
def finish(self):
'''This will be called when shutting down'''
msf = msfrpc.Msfrpc({})
msf = msfrpc.Msfrpc({"host": self.rpcip})
msf.login('msf', 'abc123')
jobs = msf.call('job.list')
if len(jobs) > 0: