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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user