13 HTTP/1.1 407 Authorization Required swsclose
\r
14 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
15 Proxy-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
\r
16 Proxy-Authenticate: Basic realm="gimme all yer s3cr3ts"
\r
17 Proxy-Authenticate: NTLM
\r
18 Content-Type: text/html; charset=iso-8859-1
\r
21 This is not the real page
24 # this is returned first since we get no proxy-auth
26 HTTP/1.1 407 Authorization Required to proxy me my dear
\r
27 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
30 Hey you, authenticate or go away!
33 # This is supposed to be returned when the server gets the second
34 # Authorization: NTLM line passed-in from the client
36 HTTP/1.1 200 Things are fine in proxy land swsclose
\r
37 Server: Microsoft-IIS/5.0
\r
38 Content-Type: text/html; charset=iso-8859-1
\r
41 Contents of that page you requested, sir.
45 HTTP/1.1 407 Authorization Required swsclose
\r
46 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
47 Proxy-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
\r
48 Proxy-Authenticate: Basic realm="gimme all yer s3cr3ts"
\r
49 Proxy-Authenticate: NTLM
\r
50 Content-Type: text/html; charset=iso-8859-1
\r
53 HTTP/1.1 407 Authorization Required to proxy me my dear
\r
54 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
57 HTTP/1.1 200 Things are fine in proxy land swsclose
\r
58 Server: Microsoft-IIS/5.0
\r
59 Content-Type: text/html; charset=iso-8859-1
\r
62 Contents of that page you requested, sir.
75 HTTP POST with --proxy-anyauth, picking NTLM
78 http://%HOSTIP:%HTTPPORT/243 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-anyauth -d "postit"
82 # Verify data after the test has been "shot"
87 # We strip off a large chunk of the type-2 NTLM message since it depends on
88 # the local host name and thus differs on different machines!
90 s/^(Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAA).*/$1/
92 <protocol nonewline=yes>
93 POST http://127.0.0.1:8990/243 HTTP/1.1
\r
94 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13
\r
95 Host: 127.0.0.1:8990
\r
98 Proxy-Connection: Keep-Alive
\r
100 Content-Type: application/x-www-form-urlencoded
\r
102 postitPOST http://%HOSTIP:%HTTPPORT/243 HTTP/1.1
\r
103 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
\r
104 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13
\r
105 Host: %HOSTIP:%HTTPPORT
\r
108 Proxy-Connection: Keep-Alive
\r
110 Content-Type: application/x-www-form-urlencoded
\r
112 POST http://127.0.0.1:8990/243 HTTP/1.1
\r
113 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAA
114 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13
\r
115 Host: 127.0.0.1:8990
\r
118 Proxy-Connection: Keep-Alive
\r
120 Content-Type: application/x-www-form-urlencoded
\r