1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 22:21:29 +00:00
by Michael Pattrick.
This commit is contained in:
batrick
2009-04-25 01:31:58 +00:00
parent 1fba10f142
commit ea388dc454

View File

@@ -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),"