mirror of
https://github.com/nmap/nmap.git
synced 2025-12-29 10:59:02 +00:00
stdnse.print_debug -> stdnse.debug1
$ sed -i 's/stdnse.print_debug(1, "%s: \([^"]*\)", SCRIPT_NAME/stdnse.debug1("\1"/' *.nse
This commit is contained in:
@@ -130,7 +130,7 @@ basically account password protection is as good as nonexistent.
|
||||
-- Chance of succeeding is 1/256. Let's try 1,500 to be safe.
|
||||
--
|
||||
for i=1,iterations do
|
||||
stdnse.print_debug(1, "%s: Connection attempt #%d", SCRIPT_NAME, i)
|
||||
stdnse.debug1("Connection attempt #%d", i)
|
||||
try( socket:connect(host, port) )
|
||||
response = try( mysql.receiveGreeting(socket) )
|
||||
status, response = mysql.loginRequest(socket, {authversion = "post41", charset = response.charset}, mysql_user, mysql_pwd, response.salt)
|
||||
|
||||
Reference in New Issue
Block a user