1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-05 22:19:03 +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

@@ -2173,6 +2173,10 @@ end
--
-- @param body The body of the page.
function clean_404(body)
if ( not(body) ) then
return
end
-- Remove anything that looks like time
body = string.gsub(body, '%d?%d:%d%d:%d%d', "")
body = string.gsub(body, '%d%d:%d%d', "")