mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-12 16:13:59 -07:00
updated javapwns shutdown function
This commit is contained in:
parent
a60a199e59
commit
0148246155
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ class JavaPwn(BrowserProfiler, Plugin):
|
||||||
|
|
||||||
def finish(self):
|
def finish(self):
|
||||||
'''This will be called when shutting down'''
|
'''This will be called when shutting down'''
|
||||||
msf = msfrpc.Msfrpc({})
|
msf = msfrpc.Msfrpc({"host": self.rpcip})
|
||||||
msf.login('msf', 'abc123')
|
msf.login('msf', 'abc123')
|
||||||
jobs = msf.call('job.list')
|
jobs = msf.call('job.list')
|
||||||
if len(jobs) > 0:
|
if len(jobs) > 0:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue