moved module to modules/auxiliary/dos/misc

bug/bundler_fix
William Webb 2016-02-09 11:44:01 -06:00
parent 1eabec6e9b
commit eadbb6b582
1 changed files with 6 additions and 4 deletions

View File

@ -20,7 +20,7 @@ class Metasploit4 < Msf::Exploit::Remote
'License' => MSF_LICENSE,
'Author' =>
[
'Gianni Gnesa', # Public disclosure/Proof of Concept
'Gianni Gnesa', # Public disclosure/Proof of Concept
'William Webb <william_webb[at]rapid7.com>', # Metasploit
],
'References' =>
@ -88,9 +88,11 @@ class Metasploit4 < Msf::Exploit::Remote
)
sock.put(p)
disconnect
print_status("Packet sent!")
rescue ::Exception => ex
print_status("Exploit failed: #{ex.class}: #{ex.message}")
rescue Rex::AddressInUse, ::Errno::ETIMEDOUT, Rex::HostUnreachable, Rex::ConnectionTimeout, Rex::ConnectionRefused, ::Timeout::Error, ::EOFError => ex
print_status("Exploit failed: #{ex.class} #{ex.message}")
elog("#{ex.class} #{ex.message}\n#{ex.backtrace * "\n"}")
ensure
disconnect
end
end