mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-31 04:00:19 -07:00
Re-Wrote Beef-api, refactored the beefAutorun plugin as per #113, this also should address any problems left over from #106
This commit is contained in:
parent
7110238fb2
commit
316246e3cc
7 changed files with 339 additions and 201 deletions
|
@ -95,7 +95,9 @@ class Msf:
|
|||
'''
|
||||
def __init__(self):
|
||||
try:
|
||||
self.msf = Msfrpc({"host": ConfigWatcher.config['MITMf']['Metasploit']['rpcip']})
|
||||
self.msf = Msfrpc({"host": ConfigWatcher.config['MITMf']['Metasploit']['rpcip'],
|
||||
"port": ConfigWatcher.config['MITMf']['Metasploit']['rpcport']})
|
||||
|
||||
self.msf.login('msf', ConfigWatcher.config['MITMf']['Metasploit']['rpcpass'])
|
||||
except Exception as e:
|
||||
shutdown("[Msfrpc] Error connecting to Metasploit: {}".format(e))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue