Nmap Development mailing list archives
Re: [NSE] Adding mkdir support
From: Patrik Karlsson <patrik () cqure net>
Date: Thu, 29 Mar 2012 23:59:23 +0200
On Thu, Mar 29, 2012 at 11:34 PM, Patrick Donnelly <batrick () batbytes com>wrote:
On Thu, Mar 29, 2012 at 5:00 PM, Patrik Karlsson <patrik () cqure net> wrote: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 theimplementation.I know that there is a luafilesystem module providing this and some additional functionality, but at this point mkdir is really the onlythingI need to complete the script.In the past we have added parts of luafilesystem (directory iterator comes to mind) which ended up being copied to nse_fs.cc. Maybe it's time to just add lfs to NSE entirely? -- - Patrick Donnelly
Ok, the nse_fs.cc does definitely look like a better place to add the code :) If we find we need another function or two from there, I vote for adding lfs entirely. Thanks, Patrik -- Patrik Karlsson http://www.cqure.net http://twitter.com/nevdull77 _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- [NSE] Adding mkdir support Patrik Karlsson (Mar 29)
- Re: [NSE] Adding mkdir support Patrick Donnelly (Mar 29)
- Re: [NSE] Adding mkdir support Patrik Karlsson (Mar 29)
- Re: [NSE] Adding mkdir support Patrick Donnelly (Mar 29)
- Re: [NSE] Adding mkdir support Patrik Karlsson (Mar 29)
- Re: [NSE] Adding mkdir support Patrick Donnelly (Mar 29)
- Re: [NSE] Adding mkdir support Patrik Karlsson (Mar 30)
- Re: [NSE] Adding mkdir support Patrick Donnelly (Mar 30)
- Re: [NSE] Adding mkdir support Djalal Harouni (Mar 30)
- Re: [NSE] Adding mkdir support Patrik Karlsson (Mar 31)
- Re: [NSE] Adding mkdir support Patrik Karlsson (Mar 31)
- Re: [NSE] Adding mkdir support Patrik Karlsson (Mar 29)
- Re: [NSE] Adding mkdir support Patrick Donnelly (Mar 29)