-
Notifications
You must be signed in to change notification settings - Fork 151
Closed
Labels
Description
复现步骤:
- 创建模块,代码如下,启用模块
loadApp(name = "com.wibo.bigbang.ocr") {
findClass(name = "okhttp3.Request\$Builder").hook {
injectMember {
method {
name = "addHeader"
param(StringClass,StringClass)
returnType = "okhttp3.Request\$Builder"
}
beforeHook {
val a1 = args().first().string();
loggerD("checkEqual", "", LoggerType.LOGD)
val a2 = args().first().string();
loggerD(
tag = "checkEqual",
msg = "${a1 == a2} $a1 $a2"
)
}
}
}
}
