mirror of
https://github.com/nmap/nmap.git
synced 2026-06-26 03:03:55 +00:00
Applied Jah's patch to fix --script-updatedb use of an old index for the
script table. http://seclists.org/nmap-dev/2008/q3/0164.html
This commit is contained in:
parent
5f2e6cf5ac
commit
b0a62d2aca
1 changed files with 1 additions and 1 deletions
|
|
@ -381,7 +381,7 @@ int init_updatedb (lua_State *L)
|
|||
lua_getglobal(L, "string");
|
||||
lua_getfield(L, -1, "lower"); lua_replace(L, -2);
|
||||
lua_pushnil(L);
|
||||
while (lua_next(L, -2) != 0)
|
||||
while (lua_next(L, -3) != 0)
|
||||
{
|
||||
lua_pushvalue(L, -3); // string.lower
|
||||
lua_insert(L, -2); // put below category string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue