mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 22:21:29 +00:00
nselib stdnse.print_debug -> stdnse.debug
$ f() { find -name \*.lua -exec /bin/echo sed -i "$1" {} \; ; }
$ f 's/stdnse.print_debug( *\([0-9]*\) *, */stdnse.debug\1(/'
$ f 's/stdnse.print_debug( *"\(.*\))/stdnse.debug1("\1)/'
This commit is contained in:
@@ -326,7 +326,7 @@ Comm = {
|
||||
|
||||
local pos, itut_code = bin.unpack("C", data, 6)
|
||||
if ( itut_code == 0xD0 ) then
|
||||
stdnse.print_debug(2, "RDP: Received ConnectionConfirm response")
|
||||
stdnse.debug2("RDP: Received ConnectionConfirm response")
|
||||
return true, Response.ConnectionConfirm.parse(data)
|
||||
elseif ( itut_code == 0xF0 ) then
|
||||
return true, Response.MCSConnectResponse.parse(data)
|
||||
|
||||
Reference in New Issue
Block a user