mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 06:01:28 +00:00
more stdnse.print_debug -> stdnse.debug
Manual corrections.
This commit is contained in:
@@ -77,7 +77,7 @@ action = function(host, port)
|
||||
end
|
||||
-- Cache in case retest is requested.
|
||||
options_status_line = response["status-line"]
|
||||
stdnse.print_debug("http-methods.nse: HTTP Status for OPTIONS is " .. response.status)
|
||||
stdnse.debug1("HTTP Status for OPTIONS is " .. response.status)
|
||||
|
||||
if not (response.header["allow"] or response.header["public"]) then
|
||||
return string.format("No Allow or Public header in OPTIONS response (status code %d)", response.status)
|
||||
|
||||
Reference in New Issue
Block a user