mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 22:21:29 +00:00
Corrected the bug reported here http://seclists.org/nmap-dev/2009/q2/0192.html
by Michael Pattrick.
This commit is contained in:
@@ -333,7 +333,7 @@ int script_updatedb (void)
|
||||
" local categories = rawget(env, 'categories')\n"
|
||||
" assert(type(categories) == 'table', script.."
|
||||
" ' categories field is not a table')\n"
|
||||
" local basename = assert(match(script, '([^\\/]-%.nse)$'))\n"
|
||||
" local basename = assert(match(script, '[/\\]?([^/\\]-%.nse)$'))\n"
|
||||
" table.sort(categories)\n"
|
||||
" for j, category in ipairs(categories) do\n"
|
||||
" db:write('Entry { category = \"', lower(category),"
|
||||
|
||||
Reference in New Issue
Block a user