本帖最后由 yinsel 于 2024-3-10 16:08 编辑
比如我Hook doFinal方法,我能否得知这个doFinal 是被这个intercept调用的,从而追溯到intercept所在类呢?
[Java] 纯文本查看 复制代码 public c0 intercept(a r$a0) throws IOException {
byte[] arr_b;
String s = this.getCertificateSHA1Fingerprint();
((f)r$a0).e.getClass();
qk.x.a x$a0 = new qk.x.a(((f)r$a0).e);
qk.p.a p$a0 = ((f)r$a0).e.c.e();
x$a0.c = p$a0;
p$a0.d("3683040189f1", s);
x$a0.c.d("w-enable-mode", "3");
x x0 = x$a0.a();
c0 c00 = ((f)r$a0).a(x0);
if(c00.c == 200 && (c00.a("w-enable-mode", "0").equals("3"))) {
e0 e00 = c00.g;
String s1 = e00.u();
String s2 = s1.substring(1, s1.length() - 1);
String s3 = "ecfcgadhgeg" + c.f(c.y(x0.c.hashCode()));
if(TextUtils.isEmpty(s2)) {
arr_b = null;
}
else {
try {
SecretKeySpec secretKeySpec0 = new SecretKeySpec(s3.getBytes("UTF-8"), "AES");
Cipher cipher0 = Cipher.getInstance("AES/CBC/PKCS7Padding");
cipher0.init(2, secretKeySpec0, new IvParameterSpec(b4.a.B));
arr_b = cipher0.doFinal(Base64.decode(s2, 2));
}
catch(Exception exception0) {
exception0.printStackTrace();
arr_b = new byte[0];
}
}
ByteArrayOutputStream byteArrayOutputStream0 = new ByteArrayOutputStream();
GZIPInputStream gZIPInputStream0 = new GZIPInputStream(new ByteArrayInputStream(arr_b));
byte[] arr_b1 = new byte[0x100];
while(true) {
int v = gZIPInputStream0.read(arr_b1);
if(v < 0) {
break;
}
byteArrayOutputStream0.write(arr_b1, 0, v);
}
c00.close();
e00.close();
qk.c0.a c0$a0 = new qk.c0.a(c00);
c0$a0.g = e0.m(e00.g(), byteArrayOutputStream0.toString("utf-8"));
return c0$a0.a();
}
return c00;
}
顺便问下发帖咋上传图片呀,老是说格式不允许。。 |