mirror of
https://github.com/nmap/nmap.git
synced 2025-12-30 19:39:07 +00:00
Fixed a bunch of errors related to inproper responses from webservers.
This commit is contained in:
@@ -78,6 +78,7 @@ action = function(host, port)
|
||||
end)
|
||||
|
||||
response = follow_redirects(host, port, path, redirects)
|
||||
return response.body:match(pattern)
|
||||
|
||||
if ( response and response.body ) then
|
||||
return response.body:match(pattern)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user