Skip to content

Commit f786802

Browse files
author
isayan
committed
Frida script追加
1 parent 352dd90 commit f786802

2 files changed

Lines changed: 31 additions & 4 deletions

File tree

Readme-ja.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,22 @@ private static File getDirectory() {
3535

3636
バイパスを行うためにこの仕様を利用します。
3737

38-
## concrete procedure
38+
## 具体的な手順
39+
40+
「system.certs.enabled」のシステムプロパティを書き換える方法として、[Frida](https://frida.re/) によるスクリプトが利用できます
41+
42+
````js
43+
setImmediate(function () {
44+
console.log("[*] Starting script");
45+
Java.perform(function () {
46+
var systemClass = Java.use("java.lang.System");
47+
systemClass.setProperty("system.certs.enabled","true");
48+
})
49+
})
50+
````
3951

40-
「system.certs.enabled」のシステムプロパティを書き換える方法として、Android の XposedModule を作成しました。
52+
In this case, the Frida script must be specified at startup.
53+
Android XposedModule has created an always available application.
4154

4255
「OverrideSysPropModule/app/release」フォルダに作成した XposedModule のアプリを置いています。
4356

Readme.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,29 @@ private static File getDirectory() {
3535

3636
Use this specification for bypass processing.
3737

38-
## concept
38+
## concrete procedure
39+
40+
Script by [Frida](https://frida.re/) to rewrite the system property "system.certs.enabled".
41+
42+
````js
43+
setImmediate(function () {
44+
console.log("[*] Starting script");
45+
Java.perform(function () {
46+
var systemClass = Java.use("java.lang.System");
47+
systemClass.setProperty("system.certs.enabled","true");
48+
})
49+
})
50+
````
3951

40-
We created an Android XposedModule as a way to rewrite the "system.certs.enabled" system property.
52+
In this case, the Frida script must be specified at startup.
53+
Android XposedModule has created an always available application.
4154

4255
The created XposedModule app is placed in the "OverrideSysPropModule/app/release" folder.
4356

4457
## procedure (Emulator)
4558

4659
### Install Magisk
60+
4761
For emulators, install Magisk according to the following procedure.
4862

4963
1. https://github.com/newbit1/rootAVD Perform git clone from

0 commit comments

Comments
 (0)