Nmap Development mailing list archives

NSE http-vhosts bugs


From: Szymon Gruszecki <szymon.gruszecki () gmail com>
Date: Thu, 11 Jul 2013 16:50:39 +0200

Hi,
I'd like to report 2 bugs that found in http-vhosts script:

1) for custom vhosts list the script expects argument named
'http-vhostfilelist' instead of 'http-vhost.filelist' (like mentioned in
manual)
Look at source code https://svn.nmap.org/nmap/scripts/http-vhosts.nse and
following line:
local arg_filelist = stdnse.get_script_args(SCRIPT_NAME..'filelist')

I'm sure the reason is missing '.' (dot) at the beginning of string
'filelist'.

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')

Cheers,
Szymon
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: