News:

How did you even find this place?

Main Menu

Gmail with HTTPS

Started by deadly7, August 19, 2008, 02:01:59 PM

Previous topic - Next topic

0 Members and 7 Guests are viewing this topic.

Camel

Quote from: Sidoh on August 20, 2008, 11:37:12 AM
Quote from: iago on August 20, 2008, 10:00:42 AM
Quote from: Sidoh on August 19, 2008, 04:58:05 PM
gmail doesn't have to use cookies.  The "remember me" checkbox will do this, but without it, I don't think it uses cookies.  This tool hijacks the session by looking for the session ids in the requests, from what I understand.  It's unlikely that it's anything fancy, but it's irrelevant.  This thread is saying "turn on always over https" not "omg look at these sweet hax".
A site *always* uses cookies to remember who you are, even if the cookie only lasts for the session. The only alternative is to use trickery, like somebody's cache or ip address or something.

But yeah, I think it's ridiculous that sites like gmail and hotmail don't have SSL on for everybody, by default.


Passing the session ID around through the URLs works too.

Certain browsers don't allow global javascript variables, and while there are workarounds to that, they're all far more ugly than using cookies. Every major web app users cookies, period.

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

Sidoh

Quote from: Camel on August 20, 2008, 01:44:34 PM
Quote from: Sidoh on August 20, 2008, 11:37:12 AM
Quote from: iago on August 20, 2008, 10:00:42 AM
Quote from: Sidoh on August 19, 2008, 04:58:05 PM
gmail doesn't have to use cookies.  The "remember me" checkbox will do this, but without it, I don't think it uses cookies.  This tool hijacks the session by looking for the session ids in the requests, from what I understand.  It's unlikely that it's anything fancy, but it's irrelevant.  This thread is saying "turn on always over https" not "omg look at these sweet hax".
A site *always* uses cookies to remember who you are, even if the cookie only lasts for the session. The only alternative is to use trickery, like somebody's cache or ip address or something.

But yeah, I think it's ridiculous that sites like gmail and hotmail don't have SSL on for everybody, by default.


Passing the session ID around through the URLs works too.

Certain browsers don't allow global javascript variables, and while there are workarounds to that, they're all far more ugly than using cookies. Every major web app users cookies, period.

I know.

Quik

Quote from: Sidoh on August 19, 2008, 02:40:38 PM
I just turned it on.  Thanks.  I was under the impression that it was already across SSL the whole time... lol.

How were you able to set it so that it redirects you automatically to the secure site? I was thinking about this the other day, because I use GMail Notifier in my tray and it doesn't run HTTPS. Hrm.. guess I have to wait for them to update for that to work secure.
Quote[20:21:13] xar: i was just thinking about the time iago came over here and we made this huge bomb and light up the sky for 6 min
[20:21:15] xar: that was funny

Camel

#18
It's an option in the main settings page on the website. I'm not sure about notifier; I use several different flavors of notifiers on different computers, and I'd like to know too :P

I work at an IP company; ethereal is on the standard image that we use for new computers, because it's used by so many. All our switches are managed, etc. It really would be trivial for anyone who works here to hijack my gmail session.

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

Sidoh

Quote from: Quik on August 20, 2008, 02:18:26 PM
Quote from: Sidoh on August 19, 2008, 02:40:38 PM
I just turned it on.  Thanks.  I was under the impression that it was already across SSL the whole time... lol.

How were you able to set it so that it redirects you automatically to the secure site? I was thinking about this the other day, because I use GMail Notifier in my tray and it doesn't run HTTPS. Hrm.. guess I have to wait for them to update for that to work secure.

Does the updater use HTTP?  I could be the case that it's using IMAP with SSL.  I haven't used it in a long time.

Camel

Quote from: Sidoh on August 20, 2008, 02:33:23 PM
Does the updater use HTTP?  I could be the case that it's using IMAP with SSL.  I haven't used it in a long time.

Yes; it's accessing the GWT-RPC service directly with HTTP.

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

Explicit

Quote from: Quik on August 20, 2008, 02:18:26 PM
Quote from: Sidoh on August 19, 2008, 02:40:38 PM
I just turned it on. Thanks. I was under the impression that it was already across SSL the whole time... lol.

How were you able to set it so that it redirects you automatically to the secure site? I was thinking about this the other day, because I use GMail Notifier in my tray and it doesn't run HTTPS. Hrm.. guess I have to wait for them to update for that to work secure.

What I did to solve that problem awhile back was hex edit Gmail Notifier. Run a string search for 'http://mail.google.com/mail/';, and from there just change it to 'https://mail.google.com/mail/'; without inserting any extra bytes (you're going to overwrite one of the bytes).
QuoteLike all things in life, pumping is just a primitive, degenerate form of bending.

QuoteHey, I don't tell you how to tell me what to do, so don't tell me how to do what you tell me to do! ... Bender knows when to use finesse.

[13:41:45]<@Fapiko> Why is TehUser asking for wang pictures?
[13:42:03]<@TehUser> I wasn't asking for wang pictures, I was looking at them.
[13:47:40]<@TehUser> Mine's fairly short.

Newby

That would be good, but can it handle HTTPS connections?
- Newby
http://www.x86labs.org

Quote[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

Quote from: Rule on June 30, 2008, 01:13:20 PM
Quote from: CrAz3D on June 30, 2008, 10:38:22 AM
I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Camel

Quote from: Explicit[nK] on August 20, 2008, 03:10:36 PM
What I did to solve that problem awhile back was hex edit Gmail Notifier. Run a string search for 'http://mail.google.com/mail/';, and from there just change it to 'https://mail.google.com/mail/'; without inserting any extra bytes (you're going to overwrite one of the bytes).

That sounds too simple to be true; I refuse to believe it :)

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

Explicit

QuoteLike all things in life, pumping is just a primitive, degenerate form of bending.

QuoteHey, I don't tell you how to tell me what to do, so don't tell me how to do what you tell me to do! ... Bender knows when to use finesse.

[13:41:45]<@Fapiko> Why is TehUser asking for wang pictures?
[13:42:03]<@TehUser> I wasn't asking for wang pictures, I was looking at them.
[13:47:40]<@TehUser> Mine's fairly short.

Sidoh

Quote from: Newby on August 20, 2008, 03:12:11 PM
That would be good, but can it handle HTTPS connections?

I'm assuming it uses a common library to handle its connections.  Most of the ones I've seen support stuff like HTTPS transparently.

Camel

Well, I turned on the option to force https, and google notifier is broken now. I suppose I'll have to hex it.

Is the byte following the string known to be unused? It seems likely that it is, since compilers tend to align strings.

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

Explicit

#27
Quote from: Camel on August 20, 2008, 03:18:53 PM
Well, I turned on the option to force https, and google notifier is broken now. I suppose I'll have to hex it.

Is the byte following the string known to be unused? It seems likely that it is, since compilers tend to align strings.

I'm assuming it's unused since I haven't experienced anything out of the norm when running the notifier, though it's not a safe assumption to make.

This is on Windows by the way.
QuoteLike all things in life, pumping is just a primitive, degenerate form of bending.

QuoteHey, I don't tell you how to tell me what to do, so don't tell me how to do what you tell me to do! ... Bender knows when to use finesse.

[13:41:45]<@Fapiko> Why is TehUser asking for wang pictures?
[13:42:03]<@TehUser> I wasn't asking for wang pictures, I was looking at them.
[13:47:40]<@TehUser> Mine's fairly short.

Quik

#28
Quote from: Camel on August 20, 2008, 03:18:53 PM
Well, I turned on the option to force https, and google notifier is broken now. I suppose I'll have to hex it.

Is the byte following the string known to be unused? It seems likely that it is, since compilers tend to align strings.

Same thing happened to me.. so I fooled around with it in a hex editor, and now it seems to work. Not sure if it's completely secure though, you'd have to hex it and then sniff the traffic to test. Try it!
Quote[20:21:13] xar: i was just thinking about the time iago came over here and we made this huge bomb and light up the sky for 6 min
[20:21:15] xar: that was funny

Camel

#29
I got lazy and did the edit with vi in text mode; despite the file size changing by one byte, it still works. I've verified that it's using TLSv1.

[edit] Specifically, TLS_RSA_WITH_RC4_128_SHA

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!