Nmap Development mailing list archives

Re: another redirect bug, invalid location header field


From: Robin Wood <robin () digininja org>
Date: Fri, 1 Mar 2013 21:09:50 +0000

On 1 March 2013 16:54, David Fifield <david () bamsoftware com> wrote:

On Fri, Mar 01, 2013 at 01:27:15PM +0000, Robin Wood wrote:
I just hit another bug in the redirect code, scanning india-forums.com I
got the following error:

NSE: http-tracker_tracking against 173.248.143.140:80 threw an error!
/usr/bin/../share/nmap/nselib/http.lua:941: attempt to concatenate local
'port' (a nil value)
stack traceback:
        /usr/bin/../share/nmap/nselib/http.lua:941: in function
'lookup_cache'
        /usr/bin/../share/nmap/nselib/http.lua:1384: in function 'get'
        http-tracker_tracking.nse:65: in function
<http-tracker_tracking.nse:59>
        (tail call): ?

I think this is probably because their header location field isn't a
valid
URL:

Location: //www.india-forums.com/

I hit this recently too--it's already fixed in r30589. You will want to
use at least r30593 if you're doing lots of scans that have redirects.

David Fifield


If I'm going to run them again then I'll grab the latest version from the
repo.

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


Current thread: