开发者

Help deciphering Gmail script

I was monitoring Gmail network traffic using Microsoft Network Monitor. I observed that the server sends intermittently a packet of 104 bytes. I deciphered that packet and found it contains-

<script>try {pa开发者_开发知识库rent.m("[[21,[\42noop\42]\n]\n]\n")} catch(e) {}</script>

Can someone please help me in deciphering what this script does?


It's the server sending status updates to the client. Try sending yourself an email while monitoring and see what happens.

"NOOP" sounds like a "no operation" message, meaning basically "nothing's new".

When something does happen, it sends JSON formatted data about what happened, such as:

[[["v","CIzJ7EeCcMM.en.","8","d7634f09ff9e61c8","1s6nd4ek6sr8c","!ZbXmJFDN_0FrQv3hwuA5MuXHaf_vuWmWJ2VM8bIVByboryZZvtkt4ejfKk8"]
,["di",182,,,,,[]
] ...

Whatever that means... It's obfuscated and optimized code that updates the interface with new number of messages, new message headers, etc...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜