Browse files

Print out successful mysql connection URI

  • Loading branch information...
1 parent 931f24b commit 74cbca5809fe53d57a6f4339bef36ac43c5d42d1 @graingert graingert committed Jun 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/auxiliary/scanner/mysql/mysql_authbypass_hashdump.rb
View
2 modules/auxiliary/scanner/mysql/mysql_authbypass_hashdump.rb
@@ -130,7 +130,7 @@ def run_host(ip)
:socket => s,
:db => nil
})
- print_status "#{rhost}:#{rport} Successfully bypassed authentication after #{count} attempts"
+ print_status "mysql://#{username}:#{password}@#{rhost}:#{rport} Successfully bypassed authentication after #{count} attempts"
results << x
rescue RbMysql::AccessDeniedError
rescue Exception => e

0 comments on commit 74cbca5

Please sign in to comment.