1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-16 04:39:03 +00:00

more stdnse.print_debug -> stdnse.debug

Manual corrections.
This commit is contained in:
batrick
2014-08-02 03:15:44 +00:00
parent 6e3bde5de5
commit 91a106e7d5
26 changed files with 80 additions and 209 deletions

View File

@@ -113,9 +113,7 @@ local function exploit(host, port, basepath)
for i, vector in ipairs(CREDENTIALS_PAYLOADS) do
local req = http.get(host, port, basepath..LFI_PAYLOAD_FRAG_1..vector..LFI_PAYLOAD_FRAG_2)
if req.body and string.find(req.body, "encrypted=true") then
stdnse.print_debug(1,
"%s: String pattern found. Exploitation worked with vector '%s'.",
SCRIPT_NAME, vector)
stdnse.debug1("String pattern found. Exploitation worked with vector '%s'.", vector)
return true, req.body
end
end