元問答欄目視頻美女
  1. 編程問答
  2. 答案列表

JS eval代碼快速解密方法

回答列表
新建一個html文件,把上面eval替換成document.write輸出即可。
備註,前後加xmp標籤的作用是完整的輸出html標籤,並且不做任何轉義。
<html>
<head>
<title>eval解密</title>
</head>
<body>
<script type="text/javascript">
document.write("<xmp>");
document.write(這裡是eval裡面的代碼,不包括eval,也就是eval,替換成了document.write)。
document.write("</xmp>");
</script>
</body>
</html>
猜你喜歡
相關推薦