Skip to content

Instantly share code, notes, and snippets.

@mythmon
Created August 13, 2014 16:58
Show Gist options
  • Save mythmon/f48312adc88469c98179 to your computer and use it in GitHub Desktop.
Save mythmon/f48312adc88469c98179 to your computer and use it in GitHub Desktop.
$ curl -v 'https://vid.ly/9w8q7n?content=video' -H 'Host: vid.ly' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Language: en-us,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Referer: https://bugzilla.mozilla.org/show_bug.cgi?id=1053103' -H 'Connection: keep-alive'
* Hostname was NOT found in DNS cache
* Trying 23.21.174.14...
* Connected to vid.ly (23.21.174.14) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server key exchange (12):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* Server certificate:
* subject: serialNumber=OAqJZGKgK6-Msazg7D3eGhxYX1CHIx/e; OU=GT92054694; OU=See www.rapidssl.com/resources/cps (c)14; OU=Domain Control Validated - RapidSSL(R); CN=vid.ly
* start date: 2014-01-23 09:34:38 GMT
* expire date: 2015-02-25 05:09:45 GMT
* subjectAltName: vid.ly matched
* issuer: C=US; O=GeoTrust, Inc.; CN=RapidSSL CA
* SSL certificate verify ok.
> GET /9w8q7n?content=video HTTP/1.1
> Host: vid.ly
> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> Accept-Language: en-us,en;q=0.5
> Accept-Encoding: gzip, deflate
> Referer: https://bugzilla.mozilla.org/show_bug.cgi?id=1053103
> Connection: keep-alive
>
< HTTP/1.1 302 Found
< Content-Location: https://d3fenhwk93s16g.cloudfront.net/9w8q7n/flv.flv?t=140794903553eb98ebd4bc4
< Content-Type: application/octet-stream
< Date: Wed, 13 Aug 2014 16:57:16 GMT
< Location: https://d3fenhwk93s16g.cloudfront.net/9w8q7n/flv.flv?t=140794903553eb98ebd4bc4
* Server nginx is not blacklisted
< Server: nginx
< X-Powered-By: PHP/5.3.9
< Content-Length: 0
< Connection: keep-alive
<
* Connection #0 to host vid.ly left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment