mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-06 13:02:24 -07:00
version bump
This commit is contained in:
parent
fcdbe49df9
commit
caaee53079
7 changed files with 12 additions and 37 deletions
|
@ -50,7 +50,7 @@ class JavaPwn(BrowserProfiler, Plugin):
|
|||
msf = msfrpc.Msfrpc({"host": self.rpcip}) #create an instance of msfrpc libarary
|
||||
msf.login('msf', self.rpcpass)
|
||||
version = msf.call('core.version')['version']
|
||||
print "[*] Successfully connected to Metasploit v%s" % version
|
||||
print "| |_ Connected to Metasploit v%s" % version
|
||||
except Exception:
|
||||
sys.exit("[-] Error connecting to MSF! Make sure you started Metasploit and its MSGRPC server")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue