mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +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:
parent
68f3bca589
commit
53460a9682
2 changed files with 27 additions and 29 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue