js怎么解密,js解密工具js怎么查看这些代码麻烦给解决一下

JavaScript020

js怎么解密,js解密工具js怎么查看这些代码麻烦给解决一下,第1张

首先你的加密后的代码有误,无法执行,应将return(c35?String.fromCharCode(c+29):

修改为return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):

c和35之间的部分你没复制出来

这种加密的算法的解密方法很简单

<html>

<body>

<div id="test"></div>

<script type="text/javascript">

document.getElementById('test').innerHTML = 将需要破解的代码全部复制过来,注意你原来的代码不对,请通过替换先将上面说的那个错误改正

</script>

</body>

</html>

将上面的代码保存成html文件,打开此文件即可看到加密前的内容,由于你的问题解密后是广告语,所以不在此处给出,自己试一下

你好,解密代码如下:

var a = ['/res/video/sadfweuo12i1239jsdf.flv', '/res/video/lxjvoiyowerljafsdw23.flv', '/res/video/xcvywehajsf239adf2afs.flv', '/res/video/xcvkh3asbdf823a.flv', '/res/video/vxzu3ne1aipa.flv', '/res/video/6sdfajfljasfja21312.flv', '/res/video/798q3j2ljlafdpsax.flv', '/res/video/8zfdafpoidsif23la.flv', '/res/video/9xv89234ljaladfxmfoxuc.flv', '/res/video/10xjfaoisufjsf32nlna.flv']

var b = ['/res/video/0.mp3', '/res/video/1.mp3', '/res/video/2.mp3', '/res/video/3.mp3', '/res/video/4.mp3', '/res/video/5.mp3', '/res/video/6.mp3', '/res/video/7.mp3', '/res/video/8.mp3', '/res/video/9.mp3', '/res/video/10.mp3', '/res/video/11.mp3']

直接使用在线解密工具,已测试可以解密此文件

http://tool.chinaz.com/js.aspx

其中变量j是一个base64编码后的png图片,想看j代表的图片(人民网的logo),用下面的方法

<img src="data:images/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAGUAAAAnCAMAAAAhMnaaAAAC/VBMVEUAAADQyLPg2s24rIy3qom3qon8/Pr///+3qor///7////BtZm3qor///+2qYj///+3qon+/v38/Pvi3dDBtpr///7//v66rY63qoq9spT9/fy4q4u4rIz///////+4rIy4q4v+/v3+/v27r5HSyrbTzLj////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