Prevent duplicate signatures by using http_fingerprint() without args
parent
f349f85a70
commit
f80b9d50f0
|
@ -32,12 +32,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
# Fingerprint a single host
|
||||
def run_host(ip)
|
||||
begin
|
||||
connect
|
||||
|
||||
res = send_request_raw({'uri' => '/', 'method' => 'GET' })
|
||||
return if not res
|
||||
|
||||
fp = http_fingerprint(:response => res)
|
||||
fp = http_fingerprint
|
||||
print_status("#{ip}:#{rport} #{fp}") if fp
|
||||
rescue ::Timeout::Error, ::Errno::EPIPE
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue