Nmap Development mailing list archives
Re: NSE http lib cookies
From: David Fifield <david () bamsoftware com>
Date: Mon, 14 Mar 2011 15:44:44 -0700
On Mon, Mar 14, 2011 at 11:38:57PM +0100, Patrik Karlsson wrote:
Hi Ryan, You can use the following example code to iterate over cookies and their attributes: for _, cookie in ipairs(result.cookies) do stdnse.print_debug(0, "Cookie: name=%s; value=%s; path=%s", cookie.name, cookie.value, cookie.path) end
And cookies have historically been buggy in the http.lua library because we don't have scripts that use them. You might try with the latest code from Subversion if that's not what you're using already. David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- NSE http lib cookies Ryan Dewhurst (Mar 14)
- Re: NSE http lib cookies Patrik Karlsson (Mar 14)
- Re: NSE http lib cookies David Fifield (Mar 14)
- Re: NSE http lib cookies Ryan Dewhurst (Mar 14)
- Re: NSE http lib cookies Patrik Karlsson (Mar 15)
- Re: NSE http lib cookies Patrik Karlsson (Mar 14)