打开开发者工具——刷新——网络——XHR——下滑页面加载新的页面——找到数据包
发现参数加密,返回的数据也进行了加密
按关键字在下方搜索 kiv进入第一个js文件
ctrl+f打开文件里面的搜索框继续搜kiv找到最为可能的地方打上断点
注意:如果此时刷新页面结果会是上图这样,我们要做的是下滑页面
可以明显看到b和kiv是由t和s赋值的
t由这一段代码生成 t = (0,M.mA)(n, { iv: s}).replace(/\//g, "_").replace(/\+/g, "-").replace(/=/g, "~")));
-
首先,调用了模块
M
的mA
函数,传入了两个参数n
和{ iv: s }
。- 第一个参数
n
是一个对象,作为mA
函数的参数之一。 - 第二个参数是一个对象字面量
{ iv: s }
,其中iv
是一个属性名,s
是一个变量,表示将s
赋值给属性iv
。
- 第一个参数
-
mA
函数的返回结果被用作replace()
方法的调用者。- 第一个
replace()
方法调用,使用正则表达式/\/g
,将所有/
替换为_
。 - 第二个
replace()
方法调用,使用正则表达式/+/g
,将所有+
替换为-
。 - 第三个
replace()
方法调用,使用正则表达式/=/g
,将所有=
替换为~
。
- 第一个
这段代码的作用是对 M.mA(n, { iv: s })
的返回结果进行处理,将其中的 /
、+
和 =
字符替换为 _
、-
和 ~
,然后将处理后的结果赋值给变量 t
。
s由这一段代码生成 "string" == typeof a.data && a.data.indexOf("kiv") > -1 ? (t = (n = "string" == typeof a.data ? JSON.parse(a.data) : a.data).b, s = n.kiv) : (s = (0, M._A)()
这段代码是一个条件语句,根据条件的成立情况对变量进行赋值。让我来解释一下:
-
首先,检查变量
a.data
是否为字符串,并且该字符串中是否包含子串 "kiv"。如果是,则执行条件语句的第一个分支;否则执行第二个分支。 -
如果条件成立,即
a.data
是字符串且包含 "kiv",则执行以下操作:- 将变量
a.data
解析为 JSON 对象(如果它确实是一个字符串)或者直接使用a.data
(如果它已经是一个对象)。 - 将解析后的对象赋值给变量
n
。 - 从对象
n
中获取属性b
的值,赋值给变量t
。 - 从对象
n
中获取属性kiv
的值,赋值给变量s
。
- 将变量
-
如果条件不成立,即
a.data
不是字符串或者不包含 "kiv",则执行以下操作:- 调用模块
M
的_A
函数,并将返回的结果赋值给变量s
。
- 调用模块
在这段代码中,typeof
操作符用于检查变量的类型,.indexOf()
方法用于查找字符串中是否包含指定的子串。条件语句的两个分支分别处理了不同的情况,并对变量进行了不同的赋值。
首先看t是如何生成的,进入M.ma函数,发现为函数h
在return处打上断点,并断在这里,释放其他断点,下滑页面即可,谨记一点,函数找到哪里,断点就打在哪里。因为可以明确传入的参数是什么样的,以及内部是否调用了其他函数。
在控制台打印e和t的值 ,发现传入的值与我们之前分析的一样
复制代码并运行
发现l函数没有定义,因此去找l函数,鼠标放在l上即可
进入复制l函数
观察发现很像标准AES加密方法,因此在代码中引入crypto-js标准库,并全面替换掉o
发现u没有定义,同样的方法复制u
同样的替换里面的o,最后运行得到结果
注意
注意
注意
一个非常易错的点,必须给传入的参数加双引号,不然得到的是错的!!!
现在的目标变为,如何找到传入的iv值和n值了,观察一开始的图,发现iv值刚好就是s,也同为kiv的值
看iv值如何生成,也即s如何生成,也即kiv的值如何生成
进入M._A函数
打上断点,发现传入的值为16
复制整个函数内容,并输入16,得到返回的结果
这个值就是kiv值,也就是iv值,也就是s的值
最终代码展现:
const CryptoJS = require('crypto-js')
p = function(e) {
void 0 === e && (e = 16);
for (var t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""), n = "", r = 0; r < e; r++) {
n += t[Math.ceil(61 * Math.random())]
}
return n
}
u = (s = null,
function() {
return s || (s = function() {
var e, t, n, r, i = null;
return i || (t = new RegExp("\\u200c","g"),
n = new RegExp("\\u200d","g"),
r = new RegExp(".{8}","g"),
e = "".replace(r, (function(e) {
return String.fromCharCode(parseInt(e.replace(t, 1).replace(n, 0), 2))
}
)),
i = {
key: CryptoJS.enc.Utf8.parse(e),
mode: CryptoJS.mode.CBC,
pad: CryptoJS.pad.Pkcs7
}),
i
}()),
s
}
)
l = function(e, t) {
void 0 === e && (e = ""),
void 0 === t && (t = "");
var n = u()
, r = CryptoJS.AES.encrypt(e.toString(), n.key, {
iv: CryptoJS.enc.Utf8.parse(t),
mode: n.mode,
padding: n.pad
});
return r = r.toString()
}
function h(e, t) {
return e ? ("string" != typeof e && (e = e.toString()),
l(e, t.iv)) : ""
}
kiv = p(16)
e = '{"cityCode":"","industryCode":"","curPage":16}'
t = {
"iv":kiv
}
b = h(e,t)
console.log(kiv)
console.log(b)
结果为
现在来到如何解密密文数据了
搜索decrypt(
解密函数就在l函数下面,打上断点
发现传入函数的值就是kiv值和密文数据,用的是AES解密的方法,返回了一个r
在控制台用JSON格式打印r的值
解密代码:
c = function(e, t) {
void 0 === e && (e = ""),
void 0 === t && (t = "");
var n = u()
, r = CryptoJS.AES.decrypt(e.toString(), n.key, {
iv: CryptoJS.enc.Utf8.parse(t),
mode: n.mode,
padding: n.pad
});
return r= r.toString(CryptoJS.enc.Utf8)
}
encrypt_data = "rm2+/aKeNmyqdDrxedMfClRUr+GgyhByGay3KgrsYMtHfcIiqko5J0GsciI892Ot29QQG7x/c3v2S6LOkqXPsT1wvKzrneo3fH9Q7U/c9X4r8FIKC1fqbTqe6VYvseL7HBv6c7GlhCW6PGaucVCrH6Rub4pQeNX7rYRKWCc+jU1GBpwLGz2HzJlcer8WKmsWFsuZKTDAo/YLfRgLnyY7m5xaWlwHnhOEfgrukBck61bGQCWuW7eBU0jq0Ygs2iIpVXdZugF8blWZF1WyNA3C8GLfAEmMuZAEVhi2ft71gR/zAhrIilVMVddRWXnVVupOqQjbBUoZ2XXN2FB7yRaungtlIJzJlKpW4kjnIstpWHsjMXLwhiqNfOsczdKH70ldqL0rYbNrqC/xPGdpAOGzzUa7f/hjsTe9R5rlCsKxJZVuD6vGCd3t5vXJt6zQw7UXKceQxx4+XfV9soIDRb+F77i2ykvjXskLC8B8pZ3TXq0EFMwZcp1dN+pcXq2u7bEoQ0oYS28K2VWyz8cO2PrHkDcOxcxHhlhuDOvkh0YHns1hZcZturHANYhcscPzx8iNhDbOpiJulkFvAz1Z7/Sa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umjAGuB8rjuVmHO56t/eDiXVE0MLIMWYbj4hHSMbdgWTrLLlxAE37Zb1o/++/MiVcU1W/MoalA2IX+f2Ttoa7C7N2FrdMAuAMKz0Hu/8X06ZpDzag8J5nA7oJE30HUranBjkQTQpygFX1E4j43297C7EGUY7a3viHuXr7/WgKG32pou/ZNrEx4it5FIKGjYxW7wS5QjmrVxD5+gIPJtbMKSFatWTQ9o4DdsEkYqR+YpJAn3Ng6+v6kjYvwt+IminCt5vHJc5q+FHUN2hFt6Sm9bw8UXE/OG7rmEOGq0awu3uBETolFqeGgK3u7A4NSxmFtUCdU/1TvnrxfYHGzuSxf49DpwQL5ivVlbQoXlVmX2juXB0a+ixOY3bn9b4hq8LDTZYndNhvIQ7U47DUe2em7063RcyIussNVM+H5qLQ6lLTvNYLYEhSHUCGa9/TPoUXQjBO2j89qZQoLmPfcY8UMBBTLSsrhj2lMBF27xjHivTHZsKbN8MJUi43ycgcIli8rm3A5YhmTMhHSksvKrNxgs4IJOPfLZ30YXbWIKSCiMnlia5V8Q2oUM8/0VsV7pAnF/NiFD0OlkbZoSgjJcxJi+qQypBi437PV2KWr0unEIwWoW76pBAeNl8QJpU98y8Y1yrnoAegesUM45C0/nPZ9QKRo3RNFc7xLCQfj3BbFOLJtFyfKaENknuopaTLhLwqD6gIgg+8ct9NX+4AYk+mCDboTFLQi7KghiIm+rVP9…"
data = c(encrypt_data,kiv)
console.log(data)
结果展现:
完整代码:
const CryptoJS = require('crypto-js')
p = function (e) {
void 0 === e && (e = 16);
for (var t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""), n = "", r = 0; r < e; r++) {
n += t[Math.ceil(61 * Math.random())]
}
return n
};
u = (s = null,
function () {
return s || (s = function () {
var e, t, n, r, i = null;
return i || (t = new RegExp("\\u200c", "g"),
n = new RegExp("\\u200d", "g"),
r = new RegExp(".{8}", "g"),
e = "".replace(r, (function (e) {
return String.fromCharCode(parseInt(e.replace(t, 1).replace(n, 0), 2))
}
)),
i = {
key: CryptoJS.enc.Utf8.parse(e),
mode: CryptoJS.mode.CBC,
pad: CryptoJS.pad.Pkcs7
}),
i
}()),
s
});
l = function (e, t) {
void 0 === e && (e = ""),
void 0 === t && (t = "");
var n = u()
, r = CryptoJS.AES.encrypt(e.toString(), n.key, {
iv: CryptoJS.enc.Utf8.parse(t),
mode: n.mode,
padding: n.pad
});
return r = r.toString()
};
function h(e, t) {
return e ? ("string" != typeof e && (e = e.toString()),
l(e, t.iv)) : ""
}
c = function (e, t) {
void 0 === e && (e = ""),
void 0 === t && (t = "");
var n = u()
, r = CryptoJS.AES.decrypt(e.toString(), n.key, {
iv: CryptoJS.enc.Utf8.parse(t),
mode: n.mode,
padding: n.pad
});
return r = r.toString(CryptoJS.enc.Utf8)
}
kiv = p(16)
e = '{"cityCode":"","industryCode":"","curPage":16}'
t = {
"iv":kiv
}
b = h(e,t)
encrypt_data = "rm2+/aKeNmyqdDrxedMfClRUr+GgyhByGay3KgrsYMtHfcIiqko5J0GsciI892Ot29QQG7x/c3v2S6LOkqXPsT1wvKzrneo3fH9Q7U/c9X4r8FIKC1fqbTqe6VYvseL7HBv6c7GlhCW6PGaucVCrH6Rub4pQeNX7rYRKWCc+jU1GBpwLGz2HzJlcer8WKmsWFsuZKTDAo/YLfRgLnyY7m5xaWlwHnhOEfgrukBck61bGQCWuW7eBU0jq0Ygs2iIpVXdZugF8blWZF1WyNA3C8GLfAEmMuZAEVhi2ft71gR/zAhrIilVMVddRWXnVVupOqQjbBUoZ2XXN2FB7yRaungtlIJzJlKpW4kjnIstpWHsjMXLwhiqNfOsczdKH70ldqL0rYbNrqC/xPGdpAOGzzUa7f/hjsTe9R5rlCsKxJZVuD6vGCd3t5vXJt6zQw7UXKceQxx4+XfV9soIDRb+F77i2ykvjXskLC8B8pZ3TXq0EFMwZcp1dN+pcXq2u7bEoQ0oYS28K2VWyz8cO2PrHkDcOxcxHhlhuDOvkh0YHns1hZcZturHANYhcscPzx8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