make sure everybody is using the same SRVHOST. fixes #511
git-svn-id: file:///home/svn/framework3/trunk@7545 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
6142f5d509
commit
777317d0ad
|
@ -262,6 +262,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
@payloads[lport] = payload
|
||||
|
||||
print_status("Starting exploit #{name} with payload #{payload}")
|
||||
@exploits[name].datastore['SRVHOST'] = datastore['SRVHOST']
|
||||
@exploits[name].datastore['SRVPORT'] = datastore['SRVPORT']
|
||||
|
||||
# For testing, set the exploit uri to the name of the exploit so it's
|
||||
|
|
Loading…
Reference in New Issue