mailing list archives
Re: --lua-exec packaging
From: Jacek Wielemborek <wielemborekj1 () gmail com>
Date: Thu, 5 Sep 2013 00:16:00 +0200
2013/9/5 David Fifield <david () bamsoftware com>:
On Thu, Sep 05, 2013 at 12:04:39AM +0200, Jacek Wielemborek wrote:
The way I see it, Ncat --lua-exec scripts could install on Unix to
$PREFIX/share/ncat/scripts. This leaves us some room for future
$PREFIX/share/ncat/filters ($PREFIX is usually /usr or /usr/local). On
Windows (though it's definitely not my district, so feel free to
correct me), I'd suggest %ProgramFiles%\Nmap\Ncat\Scripts (and later,
I agree on $datadir/ncat/scripts for the installation directory.
I don't think we should put everything that is in the ncat/scripts
directory in the source code there. Some of them are demos that are
better worked into documentation. Some of them are trivial and not
likely to be ever used.
I think the only scripts I would install, of those existing, are
httpd.lua and whatismyip.lua.
I believe that echo.lua, discard.lua and echo.lua could be useful as
well - definitely way less than httpd.lua, still - remember that it's
not easy to achieve this kind of functionality on Windows and this way
you could do it not only easily, but also in a portable manner.
What do you think about the search path concept?
Sent through the dev mailing list
Archived at http://seclists.org/nmap-dev/