Git Product home page Git Product logo

droidfrida's Introduction

DroidFrida is an android app for executing frida scripts directly on your android device. Frida is a dynamic instrumentation framework that allows to edit memory and hook methods, which is very useful when analyzing and cracking application (including games). Frida gives large posibilities, and I use it very often, so I created an app to use it easily.

Progress

  • Basic frida script execution on the target app
  • Improve UI, add settings
  • Add example scripts list
  • Implement code formatting and obfuscation

Usage

You will need root access (or vphone) on your phone otherwise this won't work. Enter the package name of the target application as the -f flag and input your script in the text field. You will be able to run target app with the frida injection.

Documentation

You can find documentation for frida javascript api here.

droidfrida's People

Contributors

ac3ss0r avatar god-musfa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

droidfrida's Issues

"Custom Frida binary" does nothing

I was hoping I would be able to select the location of the correct frida binary I have to use, but pressing the "Custom Frida binary" in droidfrida settings doesn't do anything :/

Feature request: Use system frida where it exists

I'm using a magisk module that installs frida-server into system/bin and apps that don't have root access can't find the specified path. Can we have support for it? Pressing Custom Friday binary does nothing

APK is not properly signed

Verifying the APK using apksigner fails, and thus fdroidserver (for my own repo) fails:

$ apksigner verify --verbose DroidFrida.apk 
DOES NOT VERIFY
ERROR: JAR signer TIMASHKOV.RSA: No digest for res/mipmap-mdpi-v4/ic_launcher.png in META-INF/TIMASHKOV.SF
ERROR: JAR signer TIMASHKOV.RSA: No digest for AndroidManifest.xml in META-INF/TIMASHKOV.SF
ERROR: JAR signer TIMASHKOV.RSA: No digest for res/layout/main.xml in META-INF/TIMASHKOV.SF
ERROR: JAR signer TIMASHKOV.RSA: No digest for res/layout-v17/item.xml in META-INF/TIMASHKOV.SF
ERROR: JAR signer TIMASHKOV.RSA: No digest for res/mipmap-xhdpi-v4/ic_launcher.png in META-INF/TIMASHKOV.SF
ERROR: JAR signer TIMASHKOV.RSA: No digest for assets/frida64.zip in META-INF/TIMASHKOV.SF
ERROR: JAR signer TIMASHKOV.RSA: No digest for res/mipmap-hdpi-v4/ic_launcher.png in META-INF/TIMASHKOV.SF
ERROR: JAR signer TIMASHKOV.RSA: No digest for res/mipmap-xxxhdpi-v4/ic_launcher.png in META-INF/TIMASHKOV.SF
ERROR: JAR signer TIMASHKOV.RSA: No digest for res/drawable/bordered_view.xml in META-INF/TIMASHKOV.SF
ERROR: JAR signer TIMASHKOV.RSA: No digest for resources.arsc in META-INF/TIMASHKOV.SF
ERROR: JAR signer TIMASHKOV.RSA: No digest for res/drawable/button.xml in META-INF/TIMASHKOV.SF
ERROR: JAR signer TIMASHKOV.RSA: No digest for res/layout-v17/main.xml in META-INF/TIMASHKOV.SF
ERROR: JAR signer TIMASHKOV.RSA: No digest for classes.dex in META-INF/TIMASHKOV.SF
ERROR: JAR signer TIMASHKOV.RSA: No digest for res/layout/item.xml in META-INF/TIMASHKOV.SF
ERROR: JAR signer TIMASHKOV.RSA: No digest for res/mipmap-xxhdpi-v4/ic_launcher.png in META-INF/TIMASHKOV.SF
WARNING: JAR signer TIMASHKOV.RSA: META-INF/TIMASHKOV.SF does not specify digest of META-INF/MANIFEST.MF. This slows down verification.

Could you please check what went wrong with signing, and correct this? Thanks in advance!

App response

{"type":"error","description":"Error: Java API only partially available; please file a bug. Missing: _ZNK3art6Thread13DecodeJObjectEP8_jobject","stack":"Error: Java API only partially available; please file a bug. Missing: _ZNK3art6Thread13DecodeJObjectEP8_jobject\n at ze (frida/node_modules/frida-java-bridge/lib/android.js:181:1)\n at Oe (frida/node_modules/frida-java-bridge/lib/android.js:16:1)\n at _tryInitialize (frida/node_modules/frida-java-bridge/index.js:29:1)\n at new _ (frida/node_modules/frida-java-bridge/index.js:21:1)\n at Object.4../lib/android (frida/node_modules/frida-java-bridge/index.js:332:1)\n at o (frida/node_modules/browser-pack/_prelude.js:1:1)\n at frida/node_modules/browser-pack/_prelude.js:1:1\n at Object.22.frida-java-bridge (frida/runtime/java.js:1:1)\n at o (frida/node_modules/browser-pack/_prelude.js:1:1)\n at r (frida/node_modules/browser-pack/_prelude.js:1:1)","fileName":"frida/node_modules/frida-java-bridge/lib/android.js","lineNumber":181,"columnNumber":1}
Java API only partially available; please file a bug. Missing: _ZNK3art6Thread13DecodeJObjectEP8_jobject
Please advise

please take care to increase versionCode with each release

There are 3 releases, but the latest (from today) shows versionCode: 2, as the previous one did. As Android uses versionCode to tell versions apart (and thus existing users now were not informed about the current update): can you please make sure it's always properly increased with each new release? Thanks in advance!

PS: and great to see the APK is no longer marked for debug – I just removed that AntiFeature-mark in my repo 😃

LSPatch support

for New unrooted devices, it's the only way out (best).
jshook already supports this

I really need this! I can't use the app without this :( I'm sure this will help a lot of people.

this is an application from the developers of lsposed for non-rooted users.

https://github.com/LSPosed/LSPatch

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.