js反混淆工具

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
	<script>
  function myFunction()
{
  document.getElementById('divTest').innerText=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; }('0 2=1;0 3=\'4\'', 5, 5, 'var|5|_1|_2|ookie'.split('|'), 0, {})
}
 </script>
</head>

<body>

 <div id="divTest">
替换函数后面的表达式,一般是去掉eval之后的
 </div>
<button type="button" onclick="myFunction()">点我解密 </button>

</body>
</html>

  

posted @ 2018-06-04 15:20  公众号python学习开发  阅读(3071)  评论(0编辑  收藏  举报