handle case-insensitive password, fix received
parent
06334aa2bd
commit
7edab268f5
|
@ -74,9 +74,9 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
sock = connect
|
||||
Rex.sleep(2)
|
||||
banner = sock.get_once
|
||||
vprint_status("Recieved #{banner.length} bytes from service")
|
||||
vprint_status("Received #{banner.length} bytes from service")
|
||||
vprint_line("#{banner}")
|
||||
if banner =~ /password/
|
||||
if banner =~ /password/i
|
||||
print_status("Authentication enabled on device, authenticating with target...")
|
||||
if datastore['PASSWORD'].nil?
|
||||
print_error("#{peer} - Please supply a password to authenticate with")
|
||||
|
@ -111,7 +111,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
if datastore['VERBOSE']
|
||||
Rex.sleep(2)
|
||||
resp = sock.get_once
|
||||
vprint_status("Recieved #{resp.length} bytes in response")
|
||||
vprint_status("Received #{resp.length} bytes in response")
|
||||
vprint_line(resp)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue