1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-07 06:59:03 +00:00
Files
nmap/scripts/http-backup-finder.nse
tomsellers e3787f2a37 Handle exception generated when the spider process hands http-backup-finder a URL that is only a hostname. When url.parse processes this value on line 107 of http-backup-finder it returns nil for the .path property.
http-backup-finder.nse:107: attempt to index field 'path' (a nil value)
stack traceback:

Addressed this by setting nil .path values to '/'.  Tested with sites with and without backup files.  Verified that duplicate results were not returned.
2012-07-04 18:54:38 +00:00

4.7 KiB