Nmap Development mailing list archives
Re: How do I do HTTP Basic Auth?
From: David Fifield <david () bamsoftware com>
Date: Sun, 17 Feb 2013 14:58:46 -0800
On Sun, Feb 17, 2013 at 10:55:45PM +0000, Robin Wood wrote:
I'm writing an nse script which needs to do basic auth, I've found quite a few scripts which call the brute force engine to do the authentication but I can't find any examples of doing it when you know the credentials. Can anyone give me an example?
In general it's something like this: http.get(host, port, path, { auth = { username = "user", password = "pass" } }) The fourth argument is an option table that controls auth, as well as other things. David Fifield _______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- How do I do HTTP Basic Auth? Robin Wood (Feb 17)
- Re: How do I do HTTP Basic Auth? David Fifield (Feb 17)
- Re: How do I do HTTP Basic Auth? Robin Wood (Feb 17)
- Re: How do I do HTTP Basic Auth? David Fifield (Feb 17)