1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

fixed a bug in whitelisting code

This commit is contained in:
patrik
2012-07-26 13:37:04 +00:00
parent 5e588b53da
commit 6dc6b95377

View File

@@ -275,6 +275,7 @@ LinkExtractor = {
-- check the url against our whitelist
if ( #self.options.whitelist > 0 ) then
valid = false
for _, func in ipairs(self.options.whitelist) do
if ( func(url) ) then
stdnse.print_debug(2, "%s: Whitelist match: %s", LIBRARY_NAME, tostring(url))