renef_attach
Attach to a running Android process by PID or package name and inject libagent.so using a signal-based method without ptrace.
Instructions
Attach to a running Android process by PID or package name and inject libagent.so.
Uses Renef's signal-based injector (no ptrace).
Args: target: Process ID (e.g., "12345") or running package name (e.g., "com.example.app") timeout: Injection timeout in seconds (default: 30.0)
Returns: JSON status with attached PID
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>"
},
"name": "renef_attach"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |