Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m7medvision/auto-frida
This script automatically download the latest Frida server and installing it on a connected Android.
https://github.com/m7medvision/auto-frida
android frida frida-scripts frida-tools reverse-engineering
Last synced: 22 days ago
JSON representation
This script automatically download the latest Frida server and installing it on a connected Android.
- Host: GitHub
- URL: https://github.com/m7medvision/auto-frida
- Owner: m7medVision
- Created: 2024-10-21T19:16:02.000Z (26 days ago)
- Default Branch: master
- Last Pushed: 2024-10-21T19:42:09.000Z (25 days ago)
- Last Synced: 2024-10-22T12:46:17.245Z (25 days ago)
- Topics: android, frida, frida-scripts, frida-tools, reverse-engineering
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Frida Server auto installer
This script automates the process of downloading the latest Frida server and installing it on a connected Android device. It handles architecture detection and simplifies the setup for Frida-based reverse engineering or instrumentation.
## Prerequisites
* Python 3 installed.
* `adb` in your system's PATH.
* `xz` utility installed.## Usage
0. install requrements `pip install -r dep.txt`
1. Save the script as a Python file (e.g., `frida_installer.py`).
2. Connect your Android device via USB debugging.
3. Run the script from your terminal: `python frida_installer.py`## How it works
1. **Device Detection:** The script checks for a connected device using `adb devices`. If no device is found, it displays an error message.
2. **Frida Version Retrieval:** It fetches the latest Frida version from the GitHub API.
3. **Architecture Detection:** It determines the device's architecture (arm64, arm, x86_64, x86) using `adb shell getprop ro.product.cpu.abi`.
4. **Frida Download:** Downloads the appropriate Frida server version for the detected architecture from the official GitHub releases. The server is downloaded as an xz compressed file and then decompressed.
5. **Frida Upload:** Uploads `frida-server` to the device's `/data/local/tmp/` directory using `adb push`.
6. **Permissions Setting:** Sets execute permissions for `frida-server` on the device.
## Error
If face any error please open an issue.