Nmap Development mailing list archives

[NSE] (New) Merged Changes


From: "Patrick Donnelly" <batrick.donnelly () gmail com>
Date: Mon, 7 Jul 2008 11:53:22 -0600

Hello folks,

I've committed several changes that have been on hold for a while to
the main nmap branch:

-- nse_string has been removed and equivalent, cleaner, procedures
have been moved to nse_main and nse_nsock.

-- Case insensitive categories.

-- Porttests and Hosttests tables are now in the Lua registry where they belong.

-- Each thread for a script gets its own action closure (and
upvalues). See: http://seclists.org/nmap-dev/2008/q2/0549.html

-- script_scan_result structure has been changed to a class,
ScriptResult, that now uses std::strings to hold a Script's output and
id. This alleviates the need to manage memory on the heap explicitly
(malloc & free).


The change for the action closure is particularly large. Because most
of it had to be adapted for the main branch's nse_main (from my
branch), it needs more thorough testing. I would appreciate it if the
community would give the changes a try and report any problems or
comments here.

Thanks,

-- 
-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: