make sure everybody is using the same SRVHOST. fixes #511

git-svn-id: file:///home/svn/framework3/trunk@7545 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2009-11-16 22:06:32 +00:00
parent 6142f5d509
commit 777317d0ad
1 changed files with 1 additions and 0 deletions

View File

@ -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