Nmap Development mailing list archives

Re: Persistent NSE registry


From: "Patrick Donnelly" <batrick.donnelly () gmail com>
Date: Tue, 18 Nov 2008 01:08:13 -0700

I have two concerns so far:

o What should happen if a script scan is aborted? Perhaps the Lua
State was left corrupt?
o These two lines:
    lua_settop(L, 0); // safety, is 0 anyway
    lua_rawgeti(L, LUA_REGISTRYINDEX, errfunc); // index 1
should be executed each time a script_scan is run. It is possible
something was left on the stack from previous runs.

Otherwise seems fine.

Cheers,

-- 
-Patrick Donnelly

"One of the lessons of history is that nothing is often a good thing
to do and always a clever thing to say."

-Will Durant

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: