这是一种什么样的 JS 混淆?
逆向工程
混淆
去混淆
javascript
2021-06-23 10:55:27
2个回答
您可以使用类似的东西在自定义 html 页面上打印出 eval 值
<html>
<body>
<script>
document.write('<textarea cols="120" rows="10">');
document.write(contents of eval);
document.write('</textarea>');
</script>
</body>
</html>
或使用 malzilla 或http://matthewfl.com/unPacker.html
这是院长爱德华兹的 js 打包程序:http : //dean.edwards.name/packer/。我看到它经常被用来混淆脚本,因为它是免费提供的。它是用 Javascript 编写的,但网站上也有其他语言的版本。
顺便说一下,解码按钮和文本区域只能通过 HTML 属性禁用,因此您可以使用 Google Chrome 中的开发人员工具重新启用它们,例如 :) 以下是示例中的 2 个解码脚本: