Skip to content

Instantly share code, notes, and snippets.

Created February 4, 2016 17:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/a6e21d674d45280ec9fb to your computer and use it in GitHub Desktop.
Save anonymous/a6e21d674d45280ec9fb to your computer and use it in GitHub Desktop.
cURL output
~ » curl -Iv -H "Proxy-Authorization: NTLM TlRMTVNTUAABAAAAAYIIogAAAAAoAAAAAAAAACgAAAAFASgKAAAADw==" --proxy %PROXY%:8080 http://repo1.maven.org/
* Hostname was NOT found in DNS cache
* Trying 161.62.241.91...
* Connected to %PROXY% (161.62.241.91) port 8080 (#0)
> HEAD http://repo1.maven.org/ HTTP/1.1
> User-Agent: curl/7.35.0
> Host: repo1.maven.org
> Accept: */*
> Proxy-Connection: Keep-Alive
> Proxy-Authorization: NTLM TlRMTVNTUAABAAAAAYIIogAAAAAoAAAAAAAAACgAAAAFASgKAAAADw==
>
< HTTP/1.1 407 Proxy Authentication Required
HTTP/1.1 407 Proxy Authentication Required
< Proxy-Authenticate: NTLM TlRMTVNTUAACAAAACgAKADgAAAAFgomioW986SW+0ngAAAAAAAAAAJwAnABCAAAABgLwIwAAAA9JAE4AUwBFAEwAAgAKAEkATgBTAEUATAABABQAVwBWAEkAUwBSAFoAMAAyADAAOQAEACAAaQBuAHMAZQBsAC4AcgBvAG8AdAAuAGwAbwBjAGEAbAADACYAdwB2AGkAcwByAHoAMAAyADAAOQAuAGkAbgBzAGUAbAAuAGMAaAAFABQAcgBvAG8AdAAuAGwAbwBjAGEAbAAHAAgA2oF662xf0QEAAAAA
Proxy-Authenticate: NTLM TlRMTVNTUAACAAAACgAKADgAAAAFgomioW986SW+0ngAAAAAAAAAAJwAnABCAAAABgLwIwAAAA9JAE4AUwBFAEwAAgAKAEkATgBTAEUATAABABQAVwBWAEkAUwBSAFoAMAAyADAAOQAEACAAaQBuAHMAZQBsAC4AcgBvAG8AdAAuAGwAbwBjAGEAbAADACYAdwB2AGkAcwByAHoAMAAyADAAOQAuAGkAbgBzAGUAbAAuAGMAaAAFABQAcgBvAG8AdAAuAGwAbwBjAGEAbAAHAAgA2oF662xf0QEAAAAA
< Cache-Control: no-cache
Cache-Control: no-cache
< Pragma: no-cache
Pragma: no-cache
< Content-Type: text/html; charset=utf-8
Content-Type: text/html; charset=utf-8
< Proxy-Connection: Keep-Alive
Proxy-Connection: Keep-Alive
< Set-Cookie: BCSI-CS-b9f3c7be02ee178f=2; Path=/
Set-Cookie: BCSI-CS-b9f3c7be02ee178f=2; Path=/
< Connection: Keep-Alive
Connection: Keep-Alive
< Content-Length: 866
Content-Length: 866
<
* Connection #0 to host %PROXY% left intact
~ » curl -Iv -H "Proxy-Authorization: NTLM TlRMTVNTUAABAAAAAQIAAA==" --proxy %PROXY%:8080 http://repo1.maven.org/
* Hostname was NOT found in DNS cache
* Trying 161.62.241.91...
* Connected to %PROXY% (161.62.241.91) port 8080 (#0)
> HEAD http://repo1.maven.org/ HTTP/1.1
> User-Agent: curl/7.35.0
> Host: repo1.maven.org
> Accept: */*
> Proxy-Connection: Keep-Alive
> Proxy-Authorization: NTLM TlRMTVNTUAABAAAAAQIAAA==
>
< HTTP/1.1 500 Internal Server Error
HTTP/1.1 500 Internal Server Error
< Cache-Control: no-cache
Cache-Control: no-cache
< Pragma: no-cache
Pragma: no-cache
< Content-Type: text/html; charset=utf-8
Content-Type: text/html; charset=utf-8
< Proxy-Connection: Keep-Alive
Proxy-Connection: Keep-Alive
< Connection: Keep-Alive
Connection: Keep-Alive
< Content-Length: 773
Content-Length: 773
<
* Connection #0 to host %PROXY% left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment