Nmap-Tools
Nmap-Tools copied to clipboard
Fixed Freeze on 401
If you encounter a web server requesting basic auth credentials (401 HTTP Response), the script will freeze and require the user to force the script to quit. This new addition to the code requests the page first, detects if the response is a 401 and will return a message to the user if it encounters an authorization request.
Cost: two HTTP requests are made instead of only one.
Tested on HTTP and HTTPS against an apache basic auth.