1
0
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:
batrick
2014-08-01 21:29:42 +00:00
parent b7485a6e7f
commit 5161b8642a
46 changed files with 140 additions and 140 deletions

View File

@@ -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)