Nmap Development mailing list archives

Re: http NSE errors


From: Patrik Karlsson <patrik () cqure net>
Date: Fri, 31 Aug 2012 17:18:14 +0200

On Thu, Aug 30, 2012 at 9:45 PM, Christopher Clements <
christopher.a.clements () gmail com> wrote:

A handful of other http NSE errors I've received during scanning:


NSE: 'http-title' (thread: 0x39dc710) against xx.xx.xx.81:443 threw an
error!
/usr/local/bin/../share/nmap/scripts/http-title.nse:55: bad argument #1 to
'match' (string expected, got nil)
stack traceback:
[C]: in function 'match'
/usr/local/bin/../share/nmap/scripts/http-title.nse:55: in function
</usr/local/bin/../share/nmap/scripts/http-title.nse:41>
(...tail calls...)

NSE: 'http-affiliate-id' (thread: 0x39127e0) against xx.xx.xx.81:443 threw
an error!
/usr/local/bin/../share/nmap/scripts/http-affiliate-id.nse:97: bad argument
#1 to 'match' (string expected, got nil)
stack traceback:
[C]: in function 'match'
/usr/local/bin/../share/nmap/scripts/http-affiliate-id.nse:97: in function
</usr/local/bin/../share/nmap/scripts/http-affiliate-id.nse:89>
(...tail calls...)


NSE: 'http-waf-detect' (thread: 0x3a09860) against xx.xx.xx.81:443 threw an
error!
/usr/local/bin/../share/nmap/nselib/http.lua:2177: bad argument #1 to
'gsub' (string expected, got nil)
stack traceback:
[C]: in function 'gsub'
/usr/local/bin/../share/nmap/nselib/http.lua:2177: in function 'clean_404'
/usr/local/bin/../share/nmap/scripts/http-waf-detect.nse:75: in function
</usr/local/bin/../share/nmap/scripts/http-waf-detect.nse:66>
(...tail calls...)


NSE: 'http-trace' (thread: 0x39e2490) against xx.xx.xx.81:443 threw an
error!
/usr/local/bin/../share/nmap/scripts/http-trace.nse:41: attempt to index
local 'response' (a nil value)
stack traceback:
/usr/local/bin/../share/nmap/scripts/http-trace.nse:41: in function
</usr/local/bin/../share/nmap/scripts/http-trace.nse:38>
(...tail calls...)


NSE: 'http-slowloris-check' (thread: 0x2e0c060) against xx.xx.xx.110:80
threw an error!
...local/bin/../share/nmap/scripts/http-slowloris-check.nse:138: attempt to
perform arithmetic on upvalue 'TimeWith' (a nil value)
stack traceback:
...local/bin/../share/nmap/scripts/http-slowloris-check.nse:138: in
function <...local/bin/../share/nmap/scripts/http-slowloris-check.nse:101>
(...tail calls...)


NSE: 'http-generator' (thread: 0x39705c0) against xx.xx.xx.81:443 threw an
error!
/usr/local/bin/../share/nmap/scripts/http-generator.nse:81: attempt to
index field 'body' (a nil value)
stack traceback:
/usr/local/bin/../share/nmap/scripts/http-generator.nse:81: in function
</usr/local/bin/../share/nmap/scripts/http-generator.nse:66>
(...tail calls...)
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Thanks for the report. I believe the errors were all related to improper
responses (empty responses) from a web server.
I think I've addressed them all and committed the changes as r29705.

Thanks,
Patrik

-- 
Patrik Karlsson
http://www.cqure.net
http://twitter.com/nevdull77
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: