网址:aHR0cHM6Ly93d3cuc2h1cWkuY29tL3JlYWRlcj9iaWQ9NzEwMjM5NCZjaWQ9ODI0NjA2
找到文本加密位置:
直接搜索加密参数ChapterContent,发现加密位置
见到了熟悉的ajax,加密代码及含义:
$.ajax({
url: t,
success: function(t) {
if (200 != t.state)
return e("", 2);
var a = t.ChapterContent.trim() || "";
if (!a)
return e("", 3);
try {
a = i._decodeCont(t.ChapterContent) || ""
} catch (t) {}
if (!a)
return e("", 2);
e(a, 0)
},
这段代码是一个 AJAX 请求,用于获取某个 URL 返回的内容。下面是对每一行代码的解释:
-
$.ajax({
: 这是 jQuery 中用于发起 AJAX 请求的方法。 -
url: t,
: 这里的t
应该是一个变量,表示请求的 URL。该行指定了请求的 URL。 -
success: function(t) {
: 这是一个回调函数,当请求成功完成时执行。参数t
是从服务器返回的数据。 -
if (200 != t.state)
: 这里检查返回数据中的状态码是否为 200。如果不是 200,说明请求出现了问题,可能是服务器返回了错误信息。 -
return e("", 2);
: 如果状态码不是 200,则调用函数e
,并传递空字符串和数字 2 作为参数。 -
var a = t.ChapterContent.trim() || "";
: 这里从返回的数据t
中获取ChapterContent
字段,并去除首尾空白。如果该字段不存在或者去除首尾空白后为空,则将a
设为空字符串。 -
if (!a)
: 这里检查变量a
是否为空字符串。 -
return e("", 3);
: 如果a
为空字符串,则调用函数e
,并传递空字符串和数字 3 作为参数。 -
try { a = i._decodeCont(t.ChapterContent) || "" } catch (t) {}
: 这里尝试解码ChapterContent
字段的内容。可能是对返回的内容进行解码或处理,但是具体实现在代码中没有给出。 -
if (!a)
: 这里再次检查变量a
是否为空字符串。 -
return e("", 2);
: 如果a
为空字符串,则调用函数e
,并传递空字符串和数字 2 作为参数。 -
e(a, 0)
: 如果以上条件都没有满足,则调用函数e
,并传递变量a
和数字 0 作为参数。
请注意,给定的代码片段中缺少了一些上下文信息,特别是关于函数 e
和对象 i
的定义。
找到解密函数_decodeCont的位置,其实就在下方。
复制解密函数,稍微改写,在Nodejs环境中解密
function decodeCont(t) {
return t = function(t) {
return t.split("").map(function(t) {
var e, i;
return t.match(/[A-Za-z]/) ? (e = Math.floor(t.charCodeAt(0) / 97),
i = (t.toLowerCase().charCodeAt(0) - 83) % 26 || 26,
String.fromCharCode(i + (0 == e ? 64 : 96))) : t
}).join("")
}(t),
function(t) {
var e, i, a, n, r, c, o, s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", d = "", l = 0;
for (t = t.replace(/[^A-Za-z0-9\+\/\=]/g, ""); l < t.length; )
n = s.indexOf(t.charAt(l++)),
r = s.indexOf(t.charAt(l++)),
c = s.indexOf(t.charAt(l++)),
o = s.indexOf(t.charAt(l++)),
e = n << 2 | r >> 4,
i = (15 & r) << 4 | c >> 2,
a = (3 & c) << 6 | o,
d += String.fromCharCode(e),
64 != c && (d += String.fromCharCode(i)),
64 != o && (d += String.fromCharCode(a));
return function(t) {
for (var e, i = "", a = 0, n = 0, r = 0; a < t.length; )
n = t.charCodeAt(a),
n < 128 ? (i += String.fromCharCode(n),
a++) : n > 191 && n < 224 ? (r = t.charCodeAt(a + 1),
i += String.fromCharCode((31 & n) << 6 | 63 & r),
a += 2) : (r = t.charCodeAt(a + 1),
e = t.charCodeAt(a + 2),
i += String.fromCharCode((15 & n) << 12 | (63 & r) << 6 | 63 & e),
a += 3);
return i
}(d)
}(t)
};
t = "CTWlYm7wtVQawbGaceiyz73iiVmycXazicmya47wtVV8LaViChBNtBnqwhJhghJ6aBzPhB+8wBJ3dBJxc+rnuBn8yBngchzMbhJ9x+F4er+8wBngb+JpdBF4ihvuwBngchrOgrvavrzTxhF7dhJ8w+BNtwkvpv8+44PN5c2B5n625nFa6LrC55dR6MJ/6VPO5MXZ5oz06Y275ols5n2D77lZ6LB95eTU6VTn5YdB5d2x77lZ6XrP55lY5d2z54T16XrW6LnF5Yhd5olC44PPCTWlYm7wtVQvtWmbi5aac43zy7oytWaiiVmzacsch5wyfWUavYsbi5wyaXwah4Czv7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5ghnlbrnpvrJxzhvigBF7tBF5vB+8wBJihrnJhrJihrF7yhrnuBnOdBnRw+F7yhF4tBrogBzQirJ+vBn4urnyzhBNtwkvpv8+44PN5Y2T5cvi77lZ5YdY5n6r5YvX5c6K6ohL5L205YhB5cld5n+55YhJ5LTn6Y+U5YhN5YzV44PPCTWlYm7wtVQzacsch5wyibwyi6ibg4CxhVexhboctdCch5UbvoYacn3yaMiiiVmauYoyxV7yw4mzvLizveKyaXwacn3yaMixhX3ycX7abMKycXsazbGzenoatoKaa7CabcUxhVewtVV8LaViChBNtBv/zrF4tBJVh++8wBnIgBF4dhn8yBngchzMbhzQirJhvrzqzrF6uhF4v+nqcr+8wBnWtBF7crF6hhrnuBroehJSvrzQirF4wrrHfrvUdhF4h+rnuBJUarJpdBF6uhnry+z7zBv6d+F4vhBNtwkvpv8+44PN55l85Yvg5ehu5cvi5cls5o6S77lZ5cls5o6S6Y+M56lf5YvN5nFc5bzA5Yln6XrW6LnF5YhN5YzV562W57da55dR5d2z54T144PPCTWlYm7wtVQvtWmzvWUzaVaac43yiYeat4wazbGbu6ebc4aiiVmzacsch5wyunmyeMQbc4acucYazbGzenoatoKiiVmyi4KyeceyxV3yvdwycXazicmya47wtVYvtW08LaViChBNtBXNaBF4wrzHzr+8wBF7yhJAtrF6wBJltrF+i+nVxBF4hhF5arzUwrrPiBF9x++8wBJCvBnLe+nry+JWwrv+vBrnuBJRi+JgxB+8wBJSghngchrOgrrgvrr6c+vPe+JhzhJ+vBzezBBNthXNaGkvpv8+44PN4bPp55lY5c2y77lZ5bvE5Yhf5c2B5n625Yln5Lr6546j5YvN5Yvd6YnS57da5nFc5bzA5YdT77lZ5bBm5bBm6LB95e+N5Ldb5MJX44PP4bPqCTWlYm7wtVQxhVQxiWszaL7yeeoyiW/yeMQiiVmahesahesbed7beeebgoszanKiiVmxiLozzX/ctdCaz67yuLaywoGzzX/xhVQaz7GxhV3aceiyiVQacn3yaMixhVectdCctMCbhdiyioUwtVV8LaViChBN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5oPE5n6U5MBy5bzA5cvi5bvE5Yhf5c2B5n6255ls5d2w55dR56lf5YvN5nFc5bzA44PP4bPqCTWlYm7wtVQzenoatoKazbGaeLaahdsyvVoyvXizzX/iiWexheeczYowtVUyaYQczYowtVUycXaczYowtVUyaXCczYowtVUbu7CyfVewtVV8LaViChBNtBniw+F4tBzLgh+8wBJCvBJVuhF4hhF4tBJVfBF5arJGtrBNtwkvpv8+44PN5bhy5clW6YnX6nhL57da55dR5d2z54T177lZ5LJ25Y+h54X86LPs5odz5Yln6YnX5o+e44PPCTWlYm7wtVQzaL7yfWUyebsbc4acucYazbGzenoatoKiiVmbzo3auYoyw6ezzX/xheeczYoyun3yx4UiiVmxiLozzX/yaXwycXazicmya47bi5aac43yfV/yaYQzyeawtVV8LaViChBNtBJ3fhr7w+rhy+nLe+zughJjyhrnuBJgzBJpdBF6uhBNtwkvpv8+44PN5MPf552N6Y+M5YvN6LTG6LTG5nJW5bz/55dR5nBj6M+m77lZ5c6K6ohL5MXf5YdT5MXf54zM77lZ6Y2f6Yde56n75olN5YdT5elH5d2z5nFa6Mzv44PP"
console.log(decodeCont(t))
在python中运行,并稍微改写
import execjs
import re
json_code = execjs.compile(open('demo.js','r',encoding='utf-8').read())
t = "CTWlYm7wtVQawbGaceiyz73iiVmycXazicmya47wtVV8LaViChBNtBnqwhJhghJ6aBzPhB+8wBJ3dBJxc+rnuBn8yBngchzMbhJ9x+F4er+8wBngb+JpdBF4ihvuwBngchrOgrvavrzTxhF7dhJ8w+BNtwkvpv8+44PN5c2B5n625nFa6LrC55dR6MJ/6VPO5MXZ5oz06Y275ols5n2D77lZ6LB95eTU6VTn5YdB5d2x77lZ6XrP55lY5d2z54T16XrW6LnF5Yhd5olC44PPCTWlYm7wtVQvtWmbi5aac43zy7oytWaiiVmzacsch5wyfWUavYsbi5wyaXwah4Czv7CiiVmaaW/zzX/yvYibv6oyyLewtVYvtW08LaViChBNtBXNaBnLe+JIvh+8wBF7yhJxdrv1v+zPb+F5v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Bn4urnyzhBNtwkvpv8+44PN5Y2T5cvi77lZ5YdY5n6r5YvX5c6K6ohL5L205YhB5cld5n+55YhJ5LTn6Y+U5YhN5YzV44PPCTWlYm7wtVQzacsch5wyibwyi6ibg4CxhVexhboctdCch5UbvoYacn3yaMiiiVmauYoyxV7yw4mzvLizveKyaXwacn3yaMixhX3ycX7abMKycXsazbGzenoatoKaa7CabcUxhVewtVV8LaViChBNtBv/zrF4tBJVh++8wBnIgBF4dhn8yBngchzMbhzQirJhvrzqzrF6uhF4v+nqcr+8wBnWtBF7crF6hhrnuBroehJSvrzQirF4wrrHfrvUdhF4h+rnuBJUarJpdBF6uhnry+z7zBv6d+F4vhBNtwkvpv8+44PN55l85Yvg5ehu5cvi5cls5o6S77lZ5cls5o6S6Y+M56lf5YvN5nFc5bzA5Yln6XrW6LnF5YhN5YzV562W57da55dR5d2z54T144PPCTWlYm7wtVQvtWmzvWUzaVaac43yiYeat4wazbGbu6ebc4aiiVmzacsch5wyunmyeMQbc4acucYazbGzenoatoKiiVmyi4KyeceyxV3yvdwycXazicmya47wtVYvtW08LaViChBNtBXNaBF4wrzHzr+8wBF7yhJAtrF6wBJltrF+i+nVxBF4hhF5arzUwrrPiBF9x++8wBJCvBnLe+nry+JWwrv+vBrnuBJRi+JgxB+8wBJSghngchrOgrrgvrr6c+vPe+JhzhJ+vBzezBBNthXNaGkvpv8+44PN4bPp55lY5c2y77lZ5bvE5Yhf5c2B5n625Yln5Lr6546j5YvN5Yvd6YnS57da5nFc5bzA5YdT77lZ5bBm5bBm6LB95e+N5Ldb5MJX44PP4bPqCTWlYm7wtVQxhVQxiWszaL7yeeoyiW/yeMQiiVmahesahesbed7beeebgoszanKiiVmxiLozzX/ctdCaz67yuLaywoGzzX/xhVQaz7GxhV3aceiyiVQacn3yaMixhVectdCctMCbhdiyioUwtVV8LaViChBNtBrRghvNwBXNchXNcwkvpv8+44PN6X645YzS5YzY5MPB77lZ6LXw5d2z54T155+m56XE5L205cvi5eXu5clW5Y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7wtVQzenoatoKazbGaeLaahdsyvVoyvXizzX/iiWexheeczYowtVUyaYQczYowtVUycXaczYowtVUyaXCczYowtVUbu7CyfVewtVV8LaViChBNtBniw+F4tBzLgh+8wBJCvBJVuhF4hhF4tBJVfBF5arJGtrBNtwkvpv8+44PN5bhy5clW6YnX6nhL57da55dR5d2z54T177lZ5LJ25Y+h54X86LPs5odz5Yln6YnX5o+e44PPCTWlYm7wtVQzaL7yfWUyebsbc4acucYazbGzenoatoKiiVmbzo3auYoyw6ezzX/xheeczYoyun3yx4UiiVmxiLozzX/yaXwycXazicmya47bi5aac43yfV/yaYQzyeawtVV8LaViChBNtBJ3fhr7w+rhy+nLe+zughJjyhrnuBJgzBJpdBF6uhBNtwkvpv8+44PN5MPf552N6Y+M5YvN6LTG6LTG5nJW5bz/55dR5nBj6M+m77lZ5c6K6ohL5MXf5YdT5MXf54zM77lZ6Y2f6Yde56n75olN5YdT5elH5d2z5nFa6Mzv44PP"
text = json_code.call('decodeCont',t)
new_text = re.sub('<br/>','\n',text)
print(new_text)
结果展现:
这是某一章小说解密,多章小说解密爬取,可以自己去想想。