1.parseint js Դ?源码?
parseint js Դ??
朋友,在网上下载源代码时,源码很可能发现代码里的源码古文岛app的源码下载JS脚本看不懂,这是源码由于JS加密造成的,我对这种事情很不理解,源码牛年拜年源码既然是源码JDK必读源码开源,JS还加密,源码算什么开源。源码如果你发现JS是源码以eval(function(p,a,c,k,e,r){ e=function(c)开头的,看到下面的源码代码你就可以解决他。
步骤:1.新建html页面,源码把以下代码考进去,源码运行。源码票务小哥源码
2.把加密的源码代码粘进文本域,点击解密,源码makehuman源码解释OK!
<script>
a=;
function encode() {
var code = document.getElementById('code').value;
code = code.replace(/[ ]+/g, '');
code = code.replace(/'/g, "\'");
var tmp = code.match(/(w+)/g);
tmp.sort();
var dict = [];
var i, t = '';
for(var i=0; i<tmp.length; i++) {
if(tmp[i] != t) dict.push(t = tmp[i]);
}
var len = dict.length;
var ch;
for(i=0; i<len; i++) {
ch = num(i);
code = code.replace(new RegExp('\b'+dict[i]+'\b','g'), ch);
if(ch == dict[i]) dict[i] = '';
}
document.getElementById('code').value = "eval(function(p,a,c,k,e,d){ e=function(c){ return(c<a?'':e(parseInt(c/a)))+((c=c%a)>?String.fromCharCode(c+):c.toString())};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}("
+ "'"+code+"',"+a+","+len+",'"+ dict.join('|')+"'.split('|'),0,{ }))";
}
function num(c) {
return(c<a?'':num(parseInt(c/a)))+((c=c%a)>?String.fromCharCode(c+):c.toString());
}
function run() {
eval(document.getElementById('code').value);
}
function decode() {
var code = document.getElementById('code').value;
code2 = code.replace(/^eval/, '');
//alert(code);
document.getElementById('code').value = eval(code2);
}
</script>
<textarea id=code cols= rows=>
</textarea>
<input type=button onclick=encode() value=编码>
<input type=button onclick=run() value=执行>
<input type=button onclick=decode() value=解码>
2024-12-29 03:39
2024-12-29 03:36
2024-12-29 03:12
2024-12-29 02:12
2024-12-29 02:01
2024-12-29 01:17
2024-12-29 01:17
2024-12-29 01:16