如何解密此JS
How can I decrypt this JS?
如何解码此JS?我知道它的作用(用警报检查了它),想解密和编辑它。我该怎么做?
这是什么类型的加密?我知道有很多解密器,但没有一个能解密这个。
顺便说一句,我是个新手。
function xViewState() {
var a = 0,
m, v, t, z, x = new Array('9091968376', '8887918192818786347374918784939277359287883421333333338896', '877886888787', '949990793917947998942577939317'),
l = x.length;
while (++a <= l) {
m = x[l - a];
t = z = '';
for (v = 0; v < m.length;) {
t += m.charAt(v++);
if (t.length == 2) {
z += String.fromCharCode(parseInt(t) + 25 - l + a);
t = '';
}
}
x[l - a] = z;
}
document.write('<' + x[0] + ' ' + x[4] + '>.' + x[2] + '{' + x[1] + '}</' + x[0] + '>');
}
xViewState();
这不是加密,而是混淆。现在你知道它写的是什么,不要混淆,只写你想要的。。。
document.write('<style undefined>.yourstylename{position:absolute;top:-9999px}</style>');
模糊处理的工作原理是简单地列出所有涉及的ASCII代码,偏移约20(每个数组元素不同),表示为2位十进制数字。这是非常基本的。
因此:
"style"
-> 115, 116, 121, 108, 101 (ASCII codes)
-> 90, 91, 96, 83, 76 (offset of 25 in this case)
相关文章:
- 在.js档案中解密
- RSA在JS和Python之间加密和解密(pycrypto)
- Node.js对外部PHP aes-256-cbc进行解密,然后对其进行加密
- 如何解密此JS
- 在 PHP 中加密字符串,在 Node.js 中解密
- 节点加密与加密-js 加密和解密之间的兼容性
- 使用crypto-js加密密码并通过ajax发送表单(并在java中解密),我得到:类型错误:无法读取未定义的属性“单词
- 节点JS加密:解密时密码错误
- AES解密在伪造中失败,但在crypto-js中工作
- 加密-js - 读取和解密文件
- 加密 JS 在解密加密消息时引发的异常
- 节点.js RSA 加密/解密
- 加密iOS并解密Node.js AES
- PHP中的加密和node.js中的解密
- JavaScript:使用openpgp.js解密GnuPG加密文件的内容
- 使用node.js解密mcrypt编码的文本
- c#加密和JS解密(CryptoJS)
- 无法使用Crypto-Js解密邮件
- 用Node.JS解密Rijndael(用Delphi和Delphi加密汇编加密后)
- JS:解密后不可能存储在数据库(SJCL)