1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 06:01:28 +00:00
Files
nmap/nse_main.lua
dmiller 69345854ee Fix script matching patterns that start with category names
The keyword patterns like "categories" or K "true" were consuming the
first part of patterns like --script 'broadcast-*' resulting in the
error "'broadcast-*' did not match a category, filename, or directory"

Changed to add a lookahead match for space, parentheses, or end-of-line
before considering a keyword to have matched.
2015-08-12 14:29:20 +00:00

45 KiB