File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
modules/exploits/unix/misc Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -74,9 +74,9 @@ def exploit
74
74
sock = connect
75
75
Rex . sleep ( 2 )
76
76
banner = sock . get_once
77
- vprint_status ( "Recieved #{ banner . length } bytes from service" )
77
+ vprint_status ( "Received #{ banner . length } bytes from service" )
78
78
vprint_line ( "#{ banner } " )
79
- if banner =~ /password/
79
+ if banner =~ /password/i
80
80
print_status ( "Authentication enabled on device, authenticating with target..." )
81
81
if datastore [ 'PASSWORD' ] . nil?
82
82
print_error ( "#{ peer } - Please supply a password to authenticate with" )
@@ -111,7 +111,7 @@ def do_payload(sock)
111
111
if datastore [ 'VERBOSE' ]
112
112
Rex . sleep ( 2 )
113
113
resp = sock . get_once
114
- vprint_status ( "Recieved #{ resp . length } bytes in response" )
114
+ vprint_status ( "Received #{ resp . length } bytes in response" )
115
115
vprint_line ( resp )
116
116
end
117
117
You can’t perform that action at this time.
0 commit comments