Skip to content

Commit c8d72f9

Browse files
committed
Land rapid7#4252 - Print access level for snmp_login
2 parents b34ddbd + 57419bb commit c8d72f9

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
@@ -74,7 +74,7 @@ def run_batch(batch)
7474
credential_data[:core] = credential_core
7575
create_credential_login(credential_data)
7676

77-
print_good "#{ip}:#{rport} - LOGIN SUCCESSFUL: #{result.credential}"
77+
print_good "#{ip}:#{rport} - LOGIN SUCCESSFUL: #{result.credential} (Access level: #{result.access_level})"
7878
else
7979
invalidate_login(credential_data)
8080
vprint_error "#{ip}:#{rport} - LOGIN FAILED: #{result.credential} (#{result.status}: #{result.proof})"

0 commit comments

Comments
 (0)