Nmap Development mailing list archives

another redirect bug, invalid location header field


From: Robin Wood <robin () digininja org>
Date: Fri, 1 Mar 2013 13:27:15 +0000

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/

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


Current thread: