Merge pull request #495 from graingert/patch-2

Print out successful mysql connection URI
unstable
HD Moore 2012-06-17 11:59:35 -07:00
commit fe34293ab4
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ class Metasploit3 < Msf::Auxiliary
:socket => s,
:db => nil
})
print_status "#{rhost}:#{rport} Successfully bypassed authentication after #{count} attempts"
print_status "#{rhost}:#{rport} Successfully bypassed authentication after #{count} attempts. URI: mysql://#{username}:#{password}@#{rhost}:#{rport}"
results << x
rescue RbMysql::AccessDeniedError
rescue Exception => e