mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 12:41:29 +00:00
stdnse.print_verbose -> stdnse.verbose1
$ sed -i 's/stdnse.print_verbose( *\([0-9]*\) *, *" *%s *:* *\([^"]*\)" *, *SCRIPT_NAME/stdnse.verbose\1("\2"/' *.nse
$ sed -i 's/stdnse.print_verbose( *" *%s *:* *\([^"]*\)" *, *SCRIPT_NAME/stdnse.verbose1("\1"/' *.nse
and some manual corrections.
This commit is contained in:
@@ -168,7 +168,7 @@ local function test_ccs_injection(host, port, version)
|
||||
repeat
|
||||
status, response, err = tls.record_buffer(s, response, i)
|
||||
if err == "TIMEOUT" or not status then
|
||||
stdnse.print_verbose(1, "No response from server: %s", err)
|
||||
stdnse.verbose1("No response from server: %s", err)
|
||||
s:close()
|
||||
return false
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user