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
\r
20 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
21 Proxy-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
\r
22 Proxy-Authenticate: Basic realm="gimme all yer s3cr3ts"
\r
23 Proxy-Authenticate: NTLM
\r
24 Content-Type: text/html; charset=iso-8859-1
\r
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
\r
33 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
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
\r
43 Server: Microsoft-IIS/5.0
\r
44 Content-Type: text/html; charset=iso-8859-1
\r
47 Contents of that page you requested, sir.
51 HTTP/1.1 407 Authorization Required swsclose
\r
52 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
53 Proxy-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
\r
54 Proxy-Authenticate: Basic realm="gimme all yer s3cr3ts"
\r
55 Proxy-Authenticate: NTLM
\r
56 Content-Type: text/html; charset=iso-8859-1
\r
59 HTTP/1.1 407 Authorization Required to proxy me my dear
\r
60 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
63 HTTP/1.1 200 Things are fine in proxy land swsclose
\r
64 Server: Microsoft-IIS/5.0
\r
65 Content-Type: text/html; charset=iso-8859-1
\r
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
\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: test.remote.server.com
\r
108 Proxy-Connection: Keep-Alive
\r
110 Content-Type: application/x-www-form-urlencoded
\r
112 this is the blurb we want to upload
113 POST http://test.remote.server.com/path/555 HTTP/1.1
\r
114 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
\r
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
\r
116 Host: test.remote.server.com
\r
119 Proxy-Connection: Keep-Alive
\r
121 Content-Type: application/x-www-form-urlencoded
\r
123 POST http://test.remote.server.com/path/555 HTTP/1.1
\r
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
\r
126 Host: test.remote.server.com
\r
129 Proxy-Connection: Keep-Alive
\r
131 Content-Type: application/x-www-form-urlencoded
\r
133 this is the blurb we want to upload