How can one brute force a website using HTTP Basic authentication using metasploit which uses XHR in background? I am getting error "No URI found that asks for HTTP authentication". Relevant headers are as below:
Authorization: Basic ###########
X-Requested-With: XMLHttpRequest
I did not found any relevant Metasploit options to set specific to XHR while using /auxiliary/scanner/http/http_login. Also site uses Ajax/Javascript for form submission.
Also when you visit the http://hostname:port
it redirects to http://hostname:port>/#/signin
, is this # here of any significance?
P.S. I am using URI_PATH = /#/signin
as the option with no luck.