$ git clone https://github.com/dsjlzh/fridago-demo fridago-demo
$ cd fridago-demo
$ go mod vendor
$ mkdir -p vendor/github.com/dsjlzh/fridago/libs
Extract it, then copy frida-core.h and libfrida-core.a to “vendor/github.com/dsjlzh/fridago/libs/”
$ go build
Start Android Emulator.
$ ./fridago-demo
Output like:
$ ./fridago-demo master ✱ INFO[0000] frida init ... INFO[0000] frida init ok INFO[0000] DeviceManager: new ... INFO[0000] DeviceManager: new ok DEBU[0000] Session: create script ... name=example INFO[0000] Logger fields.level=info text="[*] close(27)" INFO[0000] Logger fields.level=info text="[*] close(27)" INFO[0000] Logger fields.level=info text="[*] open(\"/proc/self/cmdline\")" INFO[0000] Logger fields.level=info text="[*] close(27)" INFO[0000] Logger fields.level=info text="[*] open(\"/system/app/Chrome/Chrome.apk.x86.flock\")" INFO[0000] Logger fields.level=info text="[*] open(\"/data/dalvik-cache/x86/system@app@[email protected]@classes.vdex\")" INFO[0000] Logger fields.level=info text="[*] close(27)" INFO[0000] Logger fields.level=info text="[*] open(\"/system/app/Chrome/Chrome.apk\")" INFO[0000] Logger fields.level=info text="[*] close(27)" INFO[0000] Logger fields.level=info text="[*] open(\"/system/framework/x86/boot.art\")" INFO[0000] Logger fields.level=info text="[*] close(27)" INFO[0000] Logger fields.level=info text="[*] open(\"/data/dalvik-cache/x86/system@[email protected]\")" INFO[0000] Logger fields.level=info text="[*] close(27)" INFO[0000] Logger fields.level=info text="[*] open(\"/data/dalvik-cache/x86/system@app@[email protected]@classes.art\")" INFO[0000] Logger fields.level=info text="[*] close(28)" INFO[0000] Logger fields.level=info text="[*] close(27)" INFO[0000] Logger fields.level=info text="[*] open(\"/system/app/Chrome/Chrome.apk\")" ...