Bump up the wait_timeout (works with the recent AR patch) and fix a typo in the http_version commit
parent
59ecc8584d
commit
a1f9d2c27a
|
@ -182,6 +182,9 @@ class DBManager
|
|||
|
||||
# Prefer the config file's pool setting
|
||||
nopts['pool'] ||= 75
|
||||
|
||||
# Prefer the config file's wait_timeout setting too
|
||||
nopts['wait_timeout'] ||= 300
|
||||
|
||||
begin
|
||||
self.migrated = false
|
||||
|
|
|
@ -39,17 +39,11 @@ class Metasploit3 < Msf::Auxiliary
|
|||
# Fingerprint a single host
|
||||
def run_host(ip)
|
||||
begin
|
||||
connect(opts)
|
||||
uri = opts[:uri] || '/'
|
||||
method = opts[:method] || 'GET'
|
||||
connect
|
||||
|
||||
res = send_request_raw(
|
||||
{
|
||||
'uri' => uri,
|
||||
'method' => method
|
||||
})
|
||||
|
||||
res = send_request_raw({'uri' => '/', 'method' => 'GET' })
|
||||
return if not res
|
||||
|
||||
fp = http_fingerprint(:response => res)
|
||||
print_status("#{ip}:#{rport} #{fp}") if fp
|
||||
rescue ::Timeout::Error, ::Errno::EPIPE
|
||||
|
|
Loading…
Reference in New Issue