mirror of
https://github.com/nmap/nmap.git
synced 2026-02-07 22:16:33 +00:00
Change some http scripts to use host table instead of IP in requests
This commit is contained in:
@@ -56,7 +56,7 @@ action = function(host, port)
|
||||
end
|
||||
|
||||
-- Perform a GET request on the file
|
||||
result = http.get_url("http://" .. host.ip .. ":" .. port.number .. "/ts/in.cgi?open2")
|
||||
result = http.get(host, port, "/ts/in.cgi?open2")
|
||||
if(not(result)) then
|
||||
return stdnse.format_output(false, "Couldn't perform GET request")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user