https://github.com/kiks7/frida-non-root
Add frida-gadgets into APK for non rooted devices.
https://github.com/kiks7/frida-non-root
Last synced: 4 months ago
JSON representation
Add frida-gadgets into APK for non rooted devices.
- Host: GitHub
- URL: https://github.com/kiks7/frida-non-root
- Owner: kiks7
- Created: 2019-03-17T11:11:33.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-10T13:55:30.000Z (8 months ago)
- Last Synced: 2025-03-10T14:39:55.826Z (8 months ago)
- Language: Python
- Size: 28.6 MB
- Stars: 48
- Watchers: 1
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hacking-lists - kiks7/frida-non-root - Add frida-gadgets into APK for non rooted devices. (Python)
README
# frida-non-root
## Whait is it
Just automate the process of injecting the frida-gadgets library into APKs to use Frida with non-rooted Android Devices.
(you can also do it manually following this precious guide https://koz.io/using-frida-on-android-without-root/).
Frida-gadgets are called at the startup of the app and will listen on port 27042. After patched and installed the APK, you can use frida -U Gadget (over USB) to instrument your application.
## What it does:
- Decode the APK and locate the Main Activity reading the AndroidManifest.xml
- Add frida-gadgets-[arch].so into libs folder
- Inject smali code into the Main Activity
- Rebuild APK, zipalign and sign.
## Reqs:
- python
- apktool
- keytool
- zipalign & apksigner (part of the Android SDK)
- \*nix (Native commands like ['mv','rm'] are used, sorry for Windows users [just fire up a VM || docker || what else]) :}}}
## Install/Usage:
```bash
git clone https://github.com/kiks7/frida-non-root.git
chmod +x main.py
./main.py --help
./main.py -i -o
```
## EOL
I didn't continue the project, I wrote it to automate the process but I'm no longer mantaining it and I know it's not the best code in the earth.