4 HTTP/1.1 401 Authorization Required swsclose
5 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
6 WWW-Authenticate: Magic-Negotiate
8 WWW-Authenticate: Basic realm="daniel"
9 Content-Type: text/html; charset=iso-8859-1
14 # This is supposed to be returned when the server gets a first
15 # Authorization: NTLM line passed-in from the client
17 HTTP/1.1 401 Now gimme that second request of crap
18 Server: Microsoft-IIS/5.0
20 Content-Type: text/html; charset=iso-8859-1
21 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
23 This is not the real page either!
26 # This is supposed to be returned when the server gets the second
27 # Authorization: NTLM line passed-in from the client
29 HTTP/1.1 200 Things are fine in server land swsclose
30 Server: Microsoft-IIS/5.0
31 Content-Type: text/html; charset=iso-8859-1
33 Finally, this is the real page!
37 HTTP/1.1 401 Authorization Required swsclose
38 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
39 WWW-Authenticate: Magic-Negotiate
40 WWW-Authenticate: NTLM
41 WWW-Authenticate: Basic realm="daniel"
42 Content-Type: text/html; charset=iso-8859-1
45 HTTP/1.1 401 Now gimme that second request of crap
46 Server: Microsoft-IIS/5.0
48 Content-Type: text/html; charset=iso-8859-1
49 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
51 HTTP/1.1 200 Things are fine in server land swsclose
52 Server: Microsoft-IIS/5.0
53 Content-Type: text/html; charset=iso-8859-1
55 Finally, this is the real page!
62 # NTLM only works if SSL-support is present
70 HTTP with NTLM/Negotiate/Basic, anyauth and user with domain, with size 0
73 http://%HOSTIP:%HOSTPORT/91 --anyauth -u mydomain\\myself:secret
77 # Verify data after the test has been "shot"
84 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
90 Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=
91 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
97 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAE4AAAAAAAAAZgAAAAgACABAAAAABgAGAEgAAAAAAAAATgAAAAAAAABmAAAAAYIAAG15ZG9tYWlubXlzZWxmwjImlHmYemDYVmFrmRFoVn3jfoYDE+7Q
98 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