1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 06:01:28 +00:00

o [NSE] Fixed mysql-brute.nse error that would cause brute-forcing to fail

if password contained a format string. Fixed a problem with SSL support
  detection in mysql.lua library. [Patrik]
This commit is contained in:
patrik
2010-03-17 09:30:26 +00:00
parent 68f3bca589
commit 53460a9682
2 changed files with 27 additions and 29 deletions

View File

@@ -63,7 +63,7 @@ action = function( host, port )
try( socket:connect(host.ip, port.number, "tcp") )
response = try( mysql.receiveGreeting( socket ) )
stdnse.print_debug( string.format("Trying %s/%s ...", username, password ) )
stdnse.print_debug( "Trying %s/%s ...", username, password )
status, response = mysql.loginRequest( socket, { authversion = "post41", charset = response.charset }, username, password, response.salt )
socket:close()