Nmap Development mailing list archives

Re: [NSE][PATCH] patch for datafiles.lua to use nmap.fetchfile() directly


From: jah <jah () zadkiel plus com>
Date: Tue, 09 Sep 2008 16:41:45 +0100

On 07/09/2008 16:41, Sven Klemm wrote:
Hi,

currently datafiles.parsefile() looks for the passed filename in the
directory where it finds nmap-rpc,nmap-services or nmap-protocols.
The attached patch makes datafiles use nmap.fetchfile directly so the
file will be searched in multiple locations instead of only one.

This might be a candidate for inclusion before the release. Currently
only rpcinfo.nse uses datafiles.lua and with the patch applied
rpcinfo.nse still works fine.

Aye, Sven's patch uses fetchfile() the way it's supposed to work - and
it works lovely!

jah

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


Current thread: