frida_connect
Attach to a running process or spawn a new one under Frida for dynamic analysis. Returns a persistent session ID for subsequent hooks and inspections.
Instructions
Connect/attach to a process and create a persistent Frida session.
target: process name or pid (string). Full binary path when
spawn=True.
device_id: optional device id; defaults to local device.
spawn: if True, spawn the process under Frida instead of
attaching to an existing one.
Returns a session_id for use with session-based tools (hooks,
hook messages, etc.). The session stays alive until explicitly
disconnected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| device_id | No | ||
| spawn | No | ||
| attach_identifier | No | ||
| attach_frontmost | No | ||
| await_pattern | No | ||
| await_timeout | No | ||
| argv | No | ||
| env | No | ||
| envp | No | ||
| cwd | No | ||
| stdio | No | ||
| aux | No | ||
| realm | No | ||
| persist_timeout | No | ||
| pause | No | ||
| kill_on_disconnect | No |