Nmap Development mailing list archives

Re: Get value in IncompleteRead exception


From: nnposter <nnposter () users sourceforge net>
Date: Sun, 12 Mar 2017 11:41:40 -0600

On 3/12/17 11:38 AM, nnposter wrote:

Here is a quick and dirty patch that might work for you. You can use it
as follows:

req = http.get(host, port, path)
if not req and req.partial then
  stdnse.debug1("Partial response is %d bytes long", #req.partial)
end

The "IF" should have been:

if not req.status and req.partial then


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


Current thread: