mailing list archives
[NSE] http library patch
From: Patrik Karlsson <patrik () cqure net>
Date: Wed, 2 Nov 2011 11:07:00 +0100
I've noticed that the scripts collecting information from the Citrix XML
service sometimes fail.
The reason for this is that there's no CRLF after the chunked-data in the
I would therefore like to commit the following patch that changes the
behavior of the library to just print a warning if it detects this error
instead of aborting.
--- nselib/http.lua (revision 26971)
+++ nselib/http.lua (working copy)
@@ -493,7 +493,7 @@
line, partial = recv_line(s, partial)
if not line then
- return nil, string.format("Didn't find CRLF after chunk-data.")
+ stdnse.print_debug(2, "Didn't find CRLF after chunk-data.")
elseif not string.match(line, "^\r?\n") then
return nil, string.format("Didn't find CRLF after chunk-data; got
Before I do commit it, I just wanted to do a quick check whether there's a
reason not to do this?
Sent through the nmap-dev mailing list
Archived at http://seclists.org/nmap-dev/
- [NSE] http library patch Patrik Karlsson (Nov 02)