Hacking Gmail

(Grace) #1

Chapter 5 — How Gmail Works 83


);


D([“mb”,”3rd! THREE! THIRD!

”,0]
);
D([“ce”]);


//-->


First thing first: the URL. Requesting this message caused Gmail to load this


URL:
/gmail?ik=344af70c5d&view=cv&search=inbox&th=101865c04ac2427f&l


vp=-1&cvp=0&zx=9m4966e44e98uu.


Or, to put it more understandably:


/gmail?
ik=344af70c5d
&view=cv
&search=inbox
&th=101865c04ac2427f
&lvp=-1
&cvp=0
&zx=9m4966e44e98uu


As you can see,this the message ID of the message I clicked on. But the others
are mysterious at the moment.


At this point in the proceedings, alarms went off in my head. Why, I was think-
ing, is the variable for message ID th— when that probably stands for thread. So,


I sent a few mails back and forth to create a thread, and loaded the Inbox and the
message back up again under Tcpflow. Listing 5-13 shows the resulting trace. It is


illuminating.


Listing 5-13: Retrieving a Thread, Not a Message

THE INBOX LOADING:


D([“t”,[“10187696869432e6”,1,0,”9:00pm”,”<span
id=\’[email protected]\’>Ben, <span
id=\’[email protected]\’>me, <span
id=\’[email protected]\’>Ben
(3)”,”» ”,”This is the third
message
”,,[]


Continued
Free download pdf