2 # NOTE: this test case is a duplicate of 547 but the tool is built to use the
3 # multi interface instead of easy, but that shouldn't be noticable at all in
19 HTTP/1.1 407 Authorization Required swsclose
20 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
21 Proxy-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
22 Proxy-Authenticate: Basic realm="gimme all yer s3cr3ts"
23 Proxy-Authenticate: NTLM
24 Content-Type: text/html; charset=iso-8859-1
27 This is not the real page
30 # this is returned first since we get no proxy-auth
32 HTTP/1.1 407 Authorization Required to proxy me my dear
33 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
36 Hey you, authenticate or go away!
39 # This is supposed to be returned when the server gets the second
40 # Authorization: NTLM line passed-in from the client
42 HTTP/1.1 200 Things are fine in proxy land swsclose
43 Server: Microsoft-IIS/5.0
44 Content-Type: text/html; charset=iso-8859-1
47 Contents of that page you requested, sir.
51 HTTP/1.1 407 Authorization Required swsclose
52 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
53 Proxy-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
54 Proxy-Authenticate: Basic realm="gimme all yer s3cr3ts"
55 Proxy-Authenticate: NTLM
56 Content-Type: text/html; charset=iso-8859-1
59 HTTP/1.1 407 Authorization Required to proxy me my dear
60 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
63 HTTP/1.1 200 Things are fine in proxy land swsclose
64 Server: Microsoft-IIS/5.0
65 Content-Type: text/html; charset=iso-8859-1
68 Contents of that page you requested, sir.
85 HTTP proxy auth NTLM with POST data from read callback multi-if
88 http://test.remote.server.com/path/555 http://%HOSTIP:%HTTPPORT s1lly:pers0n
92 # Verify data after the test has been "shot"
97 # We strip off a large chunk of the type-2 NTLM message since it depends on
98 # the local host name and thus differs on different machines!
100 s/^(Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAA).*/$1/
103 POST http://test.remote.server.com/path/555 HTTP/1.1
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
105 Host: test.remote.server.com
108 Proxy-Connection: Keep-Alive
110 Content-Type: application/x-www-form-urlencoded
112 this is the blurb we want to upload
113 POST http://test.remote.server.com/path/555 HTTP/1.1
114 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
115 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
116 Host: test.remote.server.com
119 Proxy-Connection: Keep-Alive
121 Content-Type: application/x-www-form-urlencoded
123 POST http://test.remote.server.com/path/555 HTTP/1.1
124 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAA
125 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
126 Host: test.remote.server.com
129 Proxy-Connection: Keep-Alive
131 Content-Type: application/x-www-form-urlencoded
133 this is the blurb we want to upload