Skip to content

Commit 0ea03c0

Browse files
committed
Use print_brute instead of print_good for format consistency
1 parent a5a8488 commit 0ea03c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/mysql/mysql_login.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def run_host(ip)
7676
credential_data[:core] = credential_core
7777
create_credential_login(credential_data)
7878

79-
print_good "#{ip}:#{rport} - LOGIN SUCCESSFUL: #{result.credential}"
79+
print_brute :level => :good, :ip => ip, :msg => "Success: '#{result.credential}'"
8080
else
8181
invalidate_login(credential_data)
8282
vprint_error "#{ip}:#{rport} - LOGIN FAILED: #{result.credential} (#{result.status}: #{result.proof})"

0 commit comments

Comments
 (0)