14 HTTP/1.1 401 Authorization Required swsclose
\r
15 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
16 WWW-Authenticate: Basic
\r
17 WWW-Authenticate: Wild-and-crazy
\r
18 WWW-Authenticate: NTLM
\r
19 Content-Type: text/html; charset=iso-8859-1
\r
21 This is not the real page
24 # This is supposed to be returned when the server gets a first
25 # Authorization: NTLM line passed-in from the client
27 HTTP/1.1 401 Now gimme that second request of crap
\r
28 Server: Microsoft-IIS/5.0
\r
29 Content-Type: text/html; charset=iso-8859-1
\r
31 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
33 This is not the real page either!
36 # This is supposed to be returned when the server gets the second
37 # Authorization: NTLM line passed-in from the client
39 HTTP/1.1 301 Things are fine in server land swsclose
\r
40 Server: Microsoft-IIS/5.0
\r
42 Location: /you/900010
\r
46 # This is the first reply after the redirection
48 HTTP/1.1 401 Authorization Required swsclose
\r
49 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
50 WWW-Authenticate: Basic
\r
51 WWW-Authenticate: Wild-and-crazy
\r
52 WWW-Authenticate: NTLM
\r
53 Content-Type: text/html; charset=iso-8859-1
\r
55 This is not the real page
59 HTTP/1.1 401 Now gimme that second round of crap
\r
60 Server: Microsoft-IIS/5.0
\r
61 Content-Type: text/html; charset=iso-8859-1
\r
63 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
65 This is not the real page either!
68 # This is supposed to be returned when the server gets the second
69 # Authorization: NTLM line passed-in from the client
71 HTTP/1.1 200 Things are fine in server land swsclose
\r
72 Server: Microsoft-IIS/5.0
\r
73 Content-Type: text/html; charset=iso-8859-1
\r
75 Finally, this is the real page!
79 HTTP/1.1 401 Authorization Required swsclose
\r
80 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
81 WWW-Authenticate: Basic
\r
82 WWW-Authenticate: Wild-and-crazy
\r
83 WWW-Authenticate: NTLM
\r
84 Content-Type: text/html; charset=iso-8859-1
\r
86 HTTP/1.1 401 Now gimme that second request of crap
\r
87 Server: Microsoft-IIS/5.0
\r
88 Content-Type: text/html; charset=iso-8859-1
\r
90 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
92 HTTP/1.1 301 Things are fine in server land swsclose
\r
93 Server: Microsoft-IIS/5.0
\r
95 Location: /you/900010
\r
97 HTTP/1.1 401 Authorization Required swsclose
\r
98 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
99 WWW-Authenticate: Basic
\r
100 WWW-Authenticate: Wild-and-crazy
\r
101 WWW-Authenticate: NTLM
\r
102 Content-Type: text/html; charset=iso-8859-1
\r
104 HTTP/1.1 401 Now gimme that second round of crap
\r
105 Server: Microsoft-IIS/5.0
\r
106 Content-Type: text/html; charset=iso-8859-1
\r
108 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
110 HTTP/1.1 200 Things are fine in server land swsclose
\r
111 Server: Microsoft-IIS/5.0
\r
112 Content-Type: text/html; charset=iso-8859-1
\r
114 Finally, this is the real page!
128 HTTP with NTLM via --anyauth, and then follow-location with NTLM again
131 http://%HOSTIP:%HTTPPORT/90 -u testuser:testpass --anyauth -L
135 # Verify data after the test has been "shot"
142 Host: 127.0.0.1:%HTTPPORT
\r
147 Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=
\r
148 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
\r
149 Host: 127.0.0.1:%HTTPPORT
\r
154 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEgAAAAYABgAYAAAAAAAAABAAAAACAAIAEAAAAAAAAAASAAAAAAAAAB4AAAAAYIAAHRlc3R1c2VyWmRDApEJkUyGOPS3DjvASModEeW/N/FBqYVyF4y6/y/7F6qmEQ7lXjXFF3tH1145
\r
155 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
\r
156 Host: 127.0.0.1:%HTTPPORT
\r
160 GET /you/900010 HTTP/1.1
\r
161 Host: 127.0.0.1:%HTTPPORT
\r
165 GET /you/900010 HTTP/1.1
\r
166 Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=
\r
167 User-Agent: curl/7.10.8-pre1 (i686-pc-linux-gnu) libcurl/7.10.8-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3 GSS
\r
168 Host: 127.0.0.1:%HTTPPORT
\r
172 GET /you/900010 HTTP/1.1
\r
173 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEgAAAAYABgAYAAAAAAAAABAAAAACAAIAEAAAAAAAAAASAAAAAAAAAB4AAAAAYIAAHRlc3R1c2VyWmRDApEJkUyGOPS3DjvASModEeW/N/FBqYVyF4y6/y/7F6qmEQ7lXjXFF3tH1145
\r
174 User-Agent: curl/7.10.8-pre1 (i686-pc-linux-gnu) libcurl/7.10.8-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3 GSS
\r
175 Host: 127.0.0.1:%HTTPPORT
\r