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:
@@ -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', "")
|
||||
|
||||
Reference in New Issue
Block a user