破解JS加密:url unicode加密而已

180it 2019-10-31 AM 251℃ 0条

破解JS加密:url unicode加密而已
加密所在的地方:http://tool.chinaz.com/Tools/UrlCrypt.aspx?url=www.baidu.com
结果:     http://%77%77%77%2E%62%61%69%64%75%2E%63%6F%6D/
替换:http://x77x77x77x2Ex62x61x69x64x75x2Ex63x6Fx6D/
查看:在地址栏输入javascript:alert("x68x6Cx61x64x66x28x29x3Bx66x75x6Ex63x74x69x6Fx6Ex20");
window.location.href='http://x77x77x77x2Ex62x61x69x64x75x2Ex63x6Fx6D/';

<script language="JavaScript">
window.location.href='x20x68x74x74x70x3Ax2Fx2Fx77x77x77x2Ex62x61x69x64x75x2Ex63x6Fx6D/';
</script>

加密后:%63%61%6F%62%75%67%2E%63%6F%6D

替换后:x63x61x6Fx62x75x67x2Ex63x6Fx6D

JS批量解密:

for(var i =0; i < _0xb200.length; i++){
  
  if (i==_0xb200.length-1) {
     document.write('"'+ _0xb200[i]+'"');
  }else{
     document.write('"'+ _0xb200[i]+'",');
  }
   
  
}

备忘:
<script src="//cdn.staticfile.org/jquery/1.9.1/jquery.min.js"></script>
<div id="test1">
</div>

<script>

for(var i =0; i < _0xb200.length; i++){
  
  if (i==_0xb200.length-1) {
    
   $("#test1").append('"'+_0xb200[i]+'"');
   // str+=_0xb200[i];
    // document.write('"'+ _0xb200[i]+'"');
  }else{
    // document.write('"'+ _0xb200[i]+'",');
   // str+=_0xb200[i];
    $("#test1").append('"'+_0xb200[i]+'",');
  }
   
  
}

</script>

支付宝打赏支付宝打赏 微信打赏微信打赏

如果文章或资源对您有帮助,欢迎打赏作者。一路走来,感谢有您!

标签: none

破解JS加密:url unicode加密而已