Load Persistent Script
load_scriptLoad a persistent Frida script to collect data over time with hooks or RPC. Afterwards, use call_rpc to invoke functions or get_script_output to check logs.
Instructions
Load a persistent background Frida script. Use this to set up hooks that collect data over time or long-running RPC exports. Afterwards, use call_rpc to invoke functions or get_script_output to check logs. If this fails because the process is detached/crashed, call the attach tool again and retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Unique identifier for this script (e.g. 'my_hooks') | |
| source | Yes | Frida JS code. Use `send(data)` to emit logs, or `rpc.exports = { ... }` block for RPC. |