Skip to content

Instantly share code, notes, and snippets.

@chids
Created October 27, 2010 17:47
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 chids/649565 to your computer and use it in GitHub Desktop.
Save chids/649565 to your computer and use it in GitHub Desktop.
Försöker logga in på Telia homerun på Hotell Amaranten i Stockholm
$ curl -v http://login.homerun.telia.com
* About to connect() to login.homerun.telia.com port 80 (#0)
* Trying 10.0.0.6... connected
* Connected to login.homerun.telia.com (10.0.0.6) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3
> Host: login.homerun.telia.com
> Accept: */*
>
< HTTP/1.1 302 Found
< Date: Wed, 27 Oct 2010 17:45:13 GMT
< Server: Apache
< Location: https://login.homerun.telia.com/sd/init?scheme=http&host=login.homerun.telia.com&path=%2f
< Connection: close
< Transfer-Encoding: chunked
< Content-Type: text/html; charset=iso-8859-1
<
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>302 Found</TITLE>
</HEAD><BODY>
<H1>Found</H1>
The document has moved <A HREF="https://login.homerun.telia.com/sd/init?scheme=http&amp;host=login.homerun.telia.com&amp;path=%2f">here</A>.<P>
</BODY></HTML>
* Closing connection #0
$ curl -v "https://login.homerun.telia.com/sd/init?scheme=http&host=login.homerun.telia.com&path=%2f"
* About to connect() to login.homerun.telia.com port 443 (#0)
* Trying 10.0.0.6... connected
* Connected to login.homerun.telia.com (10.0.0.6) port 443 (#0)
* SSLv3, TLS handshake, Client hello (1):
* Unknown SSL protocol error in connection to login.homerun.telia.com:443
* Closing connection #0
curl: (35) Unknown SSL protocol error in connection to login.homerun.telia.com:443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment