14
HTTP/1.1 407 Authorization Required swsclose
15
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
16
Proxy-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
17
Proxy-Authenticate: Basic realm="gimme all yer s3cr3ts"
18
Proxy-Authenticate: NTLM
19
Content-Type: text/html; charset=iso-8859-1
22
This is not the real page
25
# this is returned first since we get no proxy-auth
27
HTTP/1.1 407 Authorization Required to proxy me my dear
28
Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
31
Hey you, authenticate or go away!
34
# This is supposed to be returned when the server gets the second
35
# Authorization: NTLM line passed-in from the client
37
HTTP/1.1 200 Things are fine in proxy land swsclose
38
Server: Microsoft-IIS/5.0
39
Content-Type: text/html; charset=iso-8859-1
42
Contents of that page you requested, sir.
46
HTTP/1.1 407 Authorization Required swsclose
47
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
48
Proxy-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
49
Proxy-Authenticate: Basic realm="gimme all yer s3cr3ts"
50
Proxy-Authenticate: NTLM
51
Content-Type: text/html; charset=iso-8859-1
54
HTTP/1.1 407 Authorization Required to proxy me my dear
55
Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
58
HTTP/1.1 200 Things are fine in proxy land swsclose
59
Server: Microsoft-IIS/5.0
60
Content-Type: text/html; charset=iso-8859-1
63
Contents of that page you requested, sir.
80
HTTP proxy auth NTLM with POST data from read callback
83
http://test.remote.server.com/path/547 http://%HOSTIP:%HTTPPORT s1lly:pers0n
87
# Verify data after the test has been "shot"
92
# We strip off a large chunk of the type-2 NTLM message since it depends on
93
# the local host name and thus differs on different machines!
95
s/^(Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAA).*/$1/
98
POST http://test.remote.server.com/path/547 HTTP/1.1
99
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
100
Host: test.remote.server.com
103
Proxy-Connection: Keep-Alive
105
Content-Type: application/x-www-form-urlencoded
107
this is the blurb we want to upload
108
POST http://test.remote.server.com/path/547 HTTP/1.1
109
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
110
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
111
Host: test.remote.server.com
114
Proxy-Connection: Keep-Alive
116
Content-Type: application/x-www-form-urlencoded
118
POST http://test.remote.server.com/path/547 HTTP/1.1
119
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAA
120
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
121
Host: test.remote.server.com
124
Proxy-Connection: Keep-Alive
126
Content-Type: application/x-www-form-urlencoded
128
this is the blurb we want to upload