mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
fixed a bug in whitelisting code
This commit is contained in:
parent
5e588b53da
commit
6dc6b95377
1 changed files with 1 additions and 0 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue