Last active
August 29, 2015 14:06
-
-
Save pmocek/1d558542e8a532327d61 to your computer and use it in GitHub Desktop.
No SSL with The Intercept's interc.pt URL shortener
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl --verbose https://interc.pt/1r3Srqo | |
* About to connect() to interc.pt port 443 (#0) | |
* Trying 69.58.188.49... connected | |
* successfully set certificate verify locations: | |
* CAfile: none | |
CApath: /etc/ssl/certs | |
* SSLv3, TLS handshake, Client hello (1): | |
* Unknown SSL protocol error in connection to interc.pt:443 | |
* Closing connection #0 | |
curl: (35) Unknown SSL protocol error in connection to interc.pt:443 | |
$ curl --verbose http://interc.pt/1r3Srqo | head | |
* About to connect() to interc.pt port 80 (#0) | |
* Trying 69.58.188.49... % Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- 0:00:10 --:--:-- 0connected | |
> GET /1r3Srqo HTTP/1.1 | |
> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3 | |
> Host: interc.pt | |
> Accept: */* | |
> | |
< HTTP/1.1 301 Moved Permanently | |
< Server: nginx | |
< Date: Fri, 19 Sep 2014 05:09:48 GMT | |
< Content-Type: text/html; charset=utf-8 | |
< Connection: keep-alive | |
< Cache-Control: private; max-age=90 | |
< Content-Length: 157 | |
< Location: https://firstlook.org/theintercept/2014/09/18/detainees-portaits/ | |
< Mime-Version: 1.0 | |
< Set-Cookie: _bit=541bba9c-00072-03062-271cf10a;domain=.interc.pt;expires=Wed Mar 18 05:09:48 2015;path=/; HttpOnly | |
< | |
{ [data not shown] | |
100 157 100 157 0 0 15 0 0:00:10 0:00:10 --:--:-- 1189 | |
* Connection #0 to host interc.pt left intact | |
* Closing connection #0 | |
<html> | |
<head> | |
<title>bit.ly</title> | |
</head> | |
<body> | |
<a href="https://firstlook.org/theintercept/2014/09/18/detainees-portaits/">moved here</a> | |
</body> | |
</html> | |
$ date -u | |
Fri Sep 19 05:10:13 UTC 2014 | |
$ curl --version | |
curl 7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3 | |
Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3 pop3s rtmp rtsp smtp smtps telnet tftp | |
Features: GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment