Skip to content

Commit ee5d91f

Browse files
committed
Better logging when exploit gets 401
1 parent c4ffd7a commit ee5d91f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/linux/http/f5_icall_cmd.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def check
217217
if res && res.code == 500 && res.body =~ /path is empty/
218218
return Exploit::CheckCode::Appears
219219
elsif res && res.code == 401
220-
print_error('401 Unauthorized')
220+
print_warning("HTTP/#{res.proto} #{res.status} #{res.message} -- incorrect USERNAME or PASSWORD?")
221221
return Exploit::CheckCode::Unknown
222222
else
223223
return Exploit::CheckCode::Safe

0 commit comments

Comments
 (0)