Frida 17.x manager

The script manages the setup of the virtual environment needed to use Frida 17.x.x (described in Frida documentationarrow-up-right), by performing the following steps:

  • Write the script

  • Run frida-create -t agent

  • Install frida-java-bridge

  • Write the code to compile the script, modifying content of Frida 16.x.x scripts, and load it in the process

Installation

python -m venv .venv
  • Activate the virtual environment with respect to your Operating System guidelines.

  • Install dependencies

pip install -r requirements.txt

Setup

  • Create the frida agent and setup the frida-java-bridge:

python frida_17_manager.py setup

Run Frida scripts

  • Run a Javascript frida script on an Android running application (<package_name> specified in command line):

  • Run a Javascript frida script on an Android running application (by selecting it at runtime):

  • Spawn an Android application and run a Javascript frida script (<package_name> specified in command line):

In this last case, if the <package_name> is not specified, the application will ask again it to the user.

The JS Frida scripts must be in the old format, in particular:

  • JS extension

  • no import of the frida-java-bridge

The python script will then update the JS script included by adding the following lines to a temporary TS copy of the file:

Last updated