Make msftidy happy

unstable
jvazquez-r7 2013-06-10 08:16:15 -05:00
parent 3c05cf4382
commit 3fbbe3e7b3
1 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ class Metasploit3 < Msf::Auxiliary
end
def run
# the M-SEARCH probe packet that tries to identify whether the service is up or not
# the M-SEARCH probe packet that tries to identify whether the service is up or not
msearch_probe = "M-SEARCH * HTTP/1.1\r\n"
msearch_probe << "Host:239.255.255.250:1900\r\n"
msearch_probe << "ST:upnp:rootdevice\r\n"
@ -90,7 +90,7 @@ class Metasploit3 < Msf::Auxiliary
print_status("#{rhost}:#{rport} - Sending malformed packet...")
udp_sock.put(sploit)
# send the probe to the target
# send the probe to the target
print_status("#{rhost}:#{rport} - The target should be unresponsive now...")
response = send_probe(udp_sock, msearch_probe)
if response.nil?