请问以下代码是用什么方法加密的?

心碎此刻 2013-10-06 04:47:12
<script type="text/javascript">
$(function(){ var M1 = '\x25\x33\x43\x69\x66\x72\x61\x6d\x65\x25\x32\x30\x73\x72\x63\x25\x33\x44\x25\x32\x32\x68\x6f\x6d\x65\x2e\x70\x68\x70\x25\x32\x32\x25\x32\x30\x77\x69\x64\x74\x68\x25\x33\x44\x25\x32\x32\x31\x30\x30\x25\x32\x35\x25\x32\x32\x25\x32\x30\x68\x65\x69\x67\x68\x74\x25\x33\x44\x25\x32\x32\x31\x30\x30\x25\x32\x35\x25\x32\x32\x25\x32\x30\x73\x63\x72\x6f\x6c\x6c\x69\x6e\x67\x25\x33\x44\x25\x32\x32\x61\x75\x74\x6f\x25\x32\x32\x25\x32\x30\x66\x72\x61\x6d\x65\x62\x6f\x72\x64\x65\x72\x25\x33\x44\x25\x32\x32\x30\x25\x32\x32\x25\x33\x45\x25\x33\x43\x2f\x69\x66\x72\x61\x6d\x65\x25\x33\x45'; $('\x62\x6f\x64\x79')["\x68\x74\x6d\x6c"](window["\x75\x6e\x65\x73\x63\x61\x70\x65"](M1));});
</script>
---------------------------------------------------------------
请问各位上面的代码是用什么方法或者工具加密的?请详细解答下
...全文
492 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
nokia_panda 2013-10-10
  • 打赏
  • 举报
回复
javascript混淆加密。
引用
http://tool.chinaz.com/js.aspx
好大一只鸭 2013-10-10
  • 打赏
  • 举报
回复
16进制转ascii <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title></title> <style type="text/css"> textarea { height: 100px; width: 300px; } </style> <script type="text/javascript"> function DeCode() { var arr = new Array(); var put = document.getElementById("put").value.split("\\"); //alert(put[8].replace('x', '')); //alert(put.length); for (var i = 1; i < put.length; i++) { put[i] = put[i].replace('x', ''); arr += String.fromCharCode(parseInt(put[i], 16)); } document.getElementById("out").value = arr; } function ReCode() { var arr = new Array(); var out = document.getElementById("out").value; var hex = document.getElementById("true"); var s = ""; for (var i = 0; i < out.length; i++) { s = out.charCodeAt(i).toString(16); if (hex.checked) { arr += "\\x" + s; } else { arr += new Array(5 - String(s).length).join("0") + s; } } document.getElementById("put").value = arr; } </script> </head> <body> <textarea id="put" rows="3" cols="50"></textarea><br> <br>  <input id="btn1" value="解密" onclick="DeCode()" type="button">  <input id="btn2" value="加密" onclick="ReCode()" type="button"><br> <br> <textarea id="out" rows="3" cols="50"></textarea> <input checked="checked" id="true" type="checkbox">是否启用\x加密<br> </body></html>
心碎此刻 2013-10-08
  • 打赏
  • 举报
回复
这段代码我实在看不懂,!麻烦各位详细解答下 用什么方法或者工具加密的
xuzuning 2013-10-07
  • 打赏
  • 举报
回复
\x62\x6f\x64\x79 body
\x68\x74\x6d\x6c html
\x75\x6e\x65\x73\x63\x61\x70\x65 unescape
$('\x62\x6f\x64\x79')["\x68\x74\x6d\x6c"](window["\x75\x6e\x65\x73\x63\x61\x70\x65"] $('body')['html'](window['unescape']
余下来就自己做吧,总得动动脑筋才是吧?

61,112

社区成员

发帖
与我相关
我的任务
社区描述
层叠样式表(英文全称:Cascading Style Sheets)是一种用来表现HTML(标准通用标记语言的一个应用)或XML(标准通用标记语言的一个子集)等文件样式的计算机语言。
社区管理员
  • HTML(CSS)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧