Skip to content

Commit 69a7a89

Browse files
David MaloneyDavid Maloney
authored andcommitted
use the correct print_error message
vrpint_error feeds through the old authbrute mixin which does not behave properly anymore. use print_error instead 5266
1 parent 09d735e commit 69a7a89

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})"
88+
print_error "#{ip}:#{rport} - LOGIN FAILED: #{result.credential} (#{result.status})"
8989
end
9090
end
9191
end

0 commit comments

Comments
 (0)