Skip to content

How to Use

Kenjiro Ichise edited this page Jul 22, 2023 · 6 revisions

General

For terminals with high resolution, etc.please adjust the font size in the terminal.

iOS

Step.1

Download latest memory-server.
https://github.com/DoranekoSystems/memory-server

memory-server:version => 0.13

Step.2

Jailbreaking of iphone is required.
Place your PC and iphone in the same network.
Place memory-server and Entitlements.plist in /usr/bin.

Connect to the iphone via ssh.

cd /usr/bin
ldid -SEntitlements.plist memory-server

Step.3

Edit config.toml.

frida
Not necessary if iphone is connected to pc via usb and frida is set to start automatically.

./frida-server -l 0.0.0.0

memory-server
memory_server has started listening on port 3030. is displayed, the startup has succeeded.

./memory-server

debugserver
If you want to use debugger.

./debugserver 0.0.0.0:1234

Example configuration when ip on wifi is 192.168.11.18.

[ipconfig]
frida_server_ip =  "192.168.11.18"
memory_server_ip = "192.168.11.18:3030"
debugserver_ip = "192.168.11.18:1234"

Android

Step.1

Download memory-server.
https://github.com/DoranekoSystems/memory-server

memory-server:version => 0.13

Step.2

A rooted android device is required.
Place your PC and android in the same network.
Place memory-server /data/local/tmp.

Connect to the android via adb.

Step.3

Edit config.toml.

frida

./frida-server -l 0.0.0.0

memory-server
memory_server has started listening on port 3030. is displayed, the startup has succeeded.

./memory-server

gdbserver
If you want to use debugger.
Use gdbserver bundled with android NDK. (Must be gdbserver).

./gdbserver --multi 0.0.0.0:1234

Example configuration when ip on wifi is 192.168.11.18.

[ipconfig]
frida_server_ip =  "192.168.11.18"
memory_server_ip = "192.168.11.18:3030"
debugserver_ip = "192.168.11.18:1234"
Clone this wiki locally