1
0
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:
patrik
2012-08-31 15:17:14 +00:00
parent b14a8518a3
commit 13411ab6d1
6 changed files with 29 additions and 3 deletions

View File

@@ -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