mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
nse-check-globals cleanup
This commit is contained in:
parent
448bb5a71b
commit
6c97e0721d
2 changed files with 5 additions and 4 deletions
|
|
@ -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" ..
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue