Nmap-Tools icon indicating copy to clipboard operation
Nmap-Tools copied to clipboard

Fixed Freeze on 401

Open Th3R3p0 opened this issue 9 years ago • 0 comments

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.

Th3R3p0 avatar Oct 09 '15 02:10 Th3R3p0