Home page logo

nmap-dev logo 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

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

Sent through the dev mailing list
Archived at http://seclists.org/nmap-dev/

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]