Compare commits
No commits in common. "8fc63ad9c078a28036bf23eea03792fe3fe66a6d" and "e0f14d46ea46a38ff6702269b137125a8853c5c1" have entirely different histories.
8fc63ad9c0
...
e0f14d46ea
|
|
@ -6,7 +6,7 @@
|
|||
<excludeFolder url="file://$MODULE_DIR$/venv 3.11" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/venv 3.9" />
|
||||
</content>
|
||||
<orderEntry type="jdk" jdkName="Python 3.9 (hook) (2)" jdkType="Python SDK" />
|
||||
<orderEntry type="jdk" jdkName="Python 3.9 (hook-frida)" jdkType="Python SDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9 (hook) (2)" project-jdk-type="Python SDK" />
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9 (hook-frida)" project-jdk-type="Python SDK" />
|
||||
</project>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
Java.perform(function() {
|
||||
var AppLog = Java.use("com.ss.android.common.applog.AppLog");
|
||||
console.log("BASE_HEADER_KEYS value: " + AppLog.BASE_HEADER_KEYS.value);
|
||||
return AppLog.BASE_HEADER_KEYS.value;
|
||||
});
|
||||
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
//AppLogReaperServiceImpl类的LIZ方法
|
||||
Java.perform(function() {
|
||||
var AppLogReaperServiceImpl = Java.use("com.ss.android.ugc.aweme.lancet.AppLogReaperServiceImpl");
|
||||
|
||||
AppLogReaperServiceImpl.LIZ.overload('org.json.JSONObject').implementation = function(jsonObject) {
|
||||
console.log("Logged JSON: " + jsonObject.toString());
|
||||
|
||||
// Call the original function
|
||||
return this.LIZ(jsonObject);
|
||||
};
|
||||
});
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
//RegionMockConfig类
|
||||
Java.perform(function() {
|
||||
var AppLog = Java.use("com.ss.android.common.applog.AppLog");
|
||||
console.log("BASE_HEADER_KEYS value: " + AppLog.BASE_HEADER_KEYS.value);
|
||||
});
|
||||
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
|
||||
|
||||
Java.perform(function() {
|
||||
var SettingServiceImpl = Java.use("com.p314ss.android.ugc.aweme.setting.services.SettingServiceImpl");
|
||||
|
||||
var originalLJIILL = SettingServiceImpl.LJIILL.implementation;
|
||||
|
||||
SettingServiceImpl.LJIILL.implementation = function() {
|
||||
// 打印日志,表示方法被hook
|
||||
console.log("LJIILL method is called!");
|
||||
|
||||
// 尝试获取 accountRegion 字段的值
|
||||
if (this.hasOwnProperty('accountRegion')) {
|
||||
console.log("accountRegion: " + this.accountRegion);
|
||||
} else {
|
||||
console.log("accountRegion field not found in SettingServiceImpl.");
|
||||
}
|
||||
|
||||
// 调用原始方法
|
||||
originalLJIILL.call(this);
|
||||
}
|
||||
});
|
||||
Reference in New Issue