mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Fix an indexing bug in http-vhosts.nse. Found by Daniel Miller.
This commit is contained in:
parent
bbf254d90e
commit
e2bb7cc271
1 changed files with 1 additions and 1 deletions
|
|
@ -547,7 +547,7 @@ action = function(host, port)
|
|||
if not http_response["ERROR"] then
|
||||
result["ERROR"]={}
|
||||
end
|
||||
result["ERROR"][result["ERROR"] + 1] = targetname
|
||||
result["ERROR"][#result["ERROR"] + 1] = targetname
|
||||
else
|
||||
local status = tostring(http_response.status)
|
||||
if not result[status] then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue