When a client requests a HTTP Basic-protected resource, the web server will challenge with a HTTP 401 Authorization Required (See www.w3.org's page for a listing of all HTTP codes) which causes a username/password dialog to pop up in your browser. Now you've identified the target URL for authforce to run against.
Authforce needs a list of usernames, a list of passwords, and target URL to work. Here's an example:
authforce --verbose --beep --logfile=aftest --username-file=users --password-file=words http://192.168.1.100/tmp
authforce will show you the current username and password being tried in realtime. If it gets a match you will see something like this:
match [goonda:mysecretpass]
Note that authforce will work against both http and https URLs, however you will need to add the
--no-ssl-fail option if the site uses self-signed certificates. Happy Hacking!
Calendar


