1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-14 09:26:35 +00:00

nse-check-globals cleanup

This commit is contained in:
patrik
2012-08-29 05:42:27 +00:00
parent 448bb5a71b
commit 6c97e0721d
2 changed files with 5 additions and 4 deletions

View File

@@ -119,6 +119,7 @@ so, it starves the http server's resources causing Denial Of Service.
local report = vulns.Report:new(SCRIPT_NAME, host, port)
slowloris.state = vulns.STATE.NOT_VULN
local _
_, _, Bestopt = comm.tryssl(host, port, "GET / \r\n\r\n", {}) -- first determine if we need ssl
HalfHTTP = "POST /" .. tostring(math.random(100000, 900000)) .. " HTTP/1.1\r\n" ..
"Host: " .. host.ip .. "\r\n" ..