Nmap Development mailing list archives

Re: using the credentials database


From: Patrik Karlsson <patrik () cqure net>
Date: Mon, 27 Jun 2011 23:04:59 +0200


On Jun 27, 2011, at 4:25 PM, Toni Ruottu wrote:

Do we have examples for using the credentials stored in the database?
Do I need to use the credentials explicitly when I am developing http
info scripts, or does the http library just log in for me if
authorization is required?

 --Toni
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Hi Toni,

I've added some documentation and a new function called getCredentials that will hopefully get you what you need.
Let me know if there's anything else you find missing :)

In regards to the http library, you need to se the credentials explicitly. Check out the http-brute script for an 
example.

//Patrik
--
Patrik Karlsson
http://www.cqure.net
http://www.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: