Nmap Development mailing list archives
Re: NSE http-vhosts bugs
From: George Chatzisofroniou <sophron () latthi com>
Date: Mon, 15 Jul 2013 01:56:14 +0300
Hi Szymon. On Thu, Jul 11, 2013 at 04:50:39PM +0200, Szymon Gruszecki wrote:
2) cannot set absolute path to http-vhost.filelist. When such path is used nmap stops execution of script, but works perfectly when set relative path (e.g. 'nselib/data/vhosts-default.lst')
I think the problem is that this script uses datafiles.parse_file that makes internal use of nmap.fetchfile [1] which is only intended for finding Nmap files. The attached patch should fix this. [1]: http://nmap.org/nsedoc/lib/nmap.html#fetchfile -- George Chatzisofroniou
Attachment:
allow_absolute_paths_to_http_vhosts.diff
Description:
_______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- NSE http-vhosts bugs Szymon Gruszecki (Jul 12)
- Re: NSE http-vhosts bugs George Chatzisofroniou (Jul 14)
- Re: NSE http-vhosts bugs George Chatzisofroniou (Jul 18)
- Re: NSE http-vhosts bugs Szymon Gruszecki (Jul 19)