Nmap Development mailing list archives

[NSE] Adding mkdir support


From: Patrik Karlsson <patrik () cqure net>
Date: Thu, 29 Mar 2012 23:00:50 +0200

Hi all,

I'm working on implementing the http-mirror script and ran into some
trouble as there's no support for creating directories from within NSE.
I've tried to achieve this through the attached patch, and as my focus is
mostly Lua, I would appreciate some comments concerning the implementation.
I know that there is a luafilesystem module providing this and some
additional functionality, but at this point mkdir is really the only thing
I need to complete the script.

Cheers,
Patrik
-- 
Patrik Karlsson
http://www.cqure.net
http://twitter.com/nevdull77

Attachment: mkdir_nse_nmaplib.cc.path
Description:

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

Current thread: