Skip to content

Commit 09d735e

Browse files
David MaloneyDavid Maloney
authored andcommitted
remove proof from failure message
the snmp login scanner will only have proof on success, not on failure. remove it from the failure message for cleaner formatting 5266
1 parent 7376d4d commit 09d735e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/snmp/snmp_login.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def run_batch(batch)
8585
print_good "#{ip}:#{rport} - LOGIN SUCCESSFUL: #{result.credential} (Access level: #{result.access_level})"
8686
else
8787
invalidate_login(credential_data)
88-
vprint_error "#{ip}:#{rport} - LOGIN FAILED: #{result.credential} (#{result.status}: #{result.proof})"
88+
vprint_error "#{ip}:#{rport} - LOGIN FAILED: #{result.credential} (#{result.status})"
8989
end
9090
end
9191
end

0 commit comments

Comments
 (0)