Skip to content
smartphone

GitHub Action

apkmod-automation

v1.2.1 Latest version

apkmod-automation

smartphone

apkmod-automation

Inject frida js script into an apk

Installation

Copy and paste the following snippet into your .yml file.

              

- name: apkmod-automation

uses: mon231/[email protected]

Learn more about this action in mon231/apkpatcher

Choose a version

apkpatcher

Hits
Cross-Platform tool used to inject frida scripts and gadget to an APK
This project started as a fork of apkpatcher

NOTE that you should use this tool for debugging / educational purposes only!

Installation

The cmdline tool apkmod, comes with the tool buildapp
Install using a pypi package, then fetch tools for buildapp:

pip install apkmod --upgrade && buildapp_fetch_tools

Automation

You can use apkmod in your github workflow process!
Simply add a build.yml at your repo .github/workflows folder:

name: build patched app
on: [push]

jobs:
  build:
    runs-on: windows-latest
    steps:
      - uses: actions/checkout@v3
      - uses: mon231/apkpatcher@master
        with:
          original-apk: 'original.apk'
          output-apk: 'patched.apk'
          frida-script: 'frida.js'

Patching process

This tool gets an android app installation file (.apk) and a frida js-script
Then builds a new apk with frida-gadget & script runner ready to be installed on non-rooted android devices!

Requirements

The tool uses buildapp package,
Therefore you have to provide it's requirements
Or run the requirements fetcher tool buildapp_fetch_tools after the pip install command