13 HTTP/1.1 407 Authorization Required swsclose
14 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
15 Proxy-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
16 Proxy-Authenticate: Basic realm="gimme all yer s3cr3ts"
17 Proxy-Authenticate: NTLM
18 Content-Type: text/html; charset=iso-8859-1
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
27 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
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
37 Server: Microsoft-IIS/5.0
38 Content-Type: text/html; charset=iso-8859-1
41 Contents of that page you requested, sir.
45 HTTP/1.1 407 Authorization Required swsclose
46 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
47 Proxy-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
48 Proxy-Authenticate: Basic realm="gimme all yer s3cr3ts"
49 Proxy-Authenticate: NTLM
50 Content-Type: text/html; charset=iso-8859-1
53 HTTP/1.1 407 Authorization Required to proxy me my dear
54 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
57 HTTP/1.1 200 Things are fine in proxy land swsclose
58 Server: Microsoft-IIS/5.0
59 Content-Type: text/html; charset=iso-8859-1
62 Contents of that page you requested, sir.
79 HTTP proxy auth NTLM with POST data from CURLOPT_POSTFIELDS
82 http://test.remote.server.com/path/548 http://%HOSTIP:%HTTPPORT s1lly:pers0n
86 # Verify data after the test has been "shot"
91 # We strip off a large chunk of the type-2 NTLM message since it depends on
92 # the local host name and thus differs on different machines!
94 s/^(Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAA).*/$1/
97 POST http://test.remote.server.com/path/548 HTTP/1.1
98 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
99 Host: test.remote.server.com
102 Proxy-Connection: Keep-Alive
104 Content-Type: application/x-www-form-urlencoded
106 this is the blurb we want to upload
107 POST http://test.remote.server.com/path/548 HTTP/1.1
108 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
109 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
110 Host: test.remote.server.com
113 Proxy-Connection: Keep-Alive
115 Content-Type: application/x-www-form-urlencoded
117 POST http://test.remote.server.com/path/548 HTTP/1.1
118 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAA
119 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
120 Host: test.remote.server.com
123 Proxy-Connection: Keep-Alive
125 Content-Type: application/x-www-form-urlencoded
127 this is the blurb we want to upload