4 # This is supposed to be returned when the server gets a first
5 # Authorization: NTLM line passed-in from the client
7 HTTP/1.1 407 Now gimme that second request of crap
8 Server: Microsoft-IIS/5.0
9 Content-Type: text/html; charset=iso-8859-1
11 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
13 This is not the real page either!
16 # This is supposed to be returned when the server gets the second
17 # Authorization: NTLM line passed-in from the client
19 HTTP/1.1 200 Things are fine in server land swsclose
20 Server: Microsoft-IIS/5.0
21 Content-Type: text/html; charset=iso-8859-1
23 Finally, this is the real page!
27 HTTP/1.1 407 Now gimme that second request of crap
28 Server: Microsoft-IIS/5.0
29 Content-Type: text/html; charset=iso-8859-1
31 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
33 HTTP/1.1 200 Things are fine in server land swsclose
34 Server: Microsoft-IIS/5.0
35 Content-Type: text/html; charset=iso-8859-1
37 Finally, this is the real page!
44 # NTLM only works if SSL-support is present
52 HTTP with proxy using NTLM authorization
55 http://%HOSTIP:%HOSTPORT/81 --proxy-user testuser:testpass -x http://%HOSTIP:%HOSTPORT --proxy-ntlm
59 # Verify data after the test has been "shot"
65 GET http://127.0.0.1:8999/81 HTTP/1.1
66 Proxy-Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=
67 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3
72 GET http://127.0.0.1:8999/81 HTTP/1.1
73 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEgAAAAAAAAAYAAAAAAAAABAAAAACAAIAEAAAAAAAAAASAAAAAAAAABgAAAAAYIAAHRlc3R1c2VyWmRDApEJkUyGOPS3DjvASModEeW/N/FB
74 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3