Skip to main content

Frida CLI proxy that prepends a compatibility shim for old scripts on Frida 17+.

Project description

fridac

fridac is a proxy for the frida CLI command.

It prepends a JavaScript compatibility shim to every script loaded with -l/--load, so older Frida scripts can keep running on Frida 17+.

Install

pip install fridac

This installs frida>=17 and frida-tools as dependencies.

Usage

Use it exactly like frida:

fridac -U -f com.example.app -l my_old_script.js

The proxy:

  • rewrites each -l/--load script to a temporary shimmed file
  • forwards all other arguments unchanged to frida
  • watches loaded script files and refreshes the shimmed temp files on edit

Development

The shim source of truth is:

  • src/fridac/shim.js

The embedded Python string used at runtime is:

  • src/fridac/_embedded_shim.py

Regenerate it manually:

python tools/embed_shim.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fridac-0.1.0.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fridac-0.1.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file fridac-0.1.0.tar.gz.

File metadata

  • Download URL: fridac-0.1.0.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for fridac-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e55538e911458c28d1f001d2e2d7778f4ddb659b753e3b11ecb24fdd3929a246
MD5 6efaaeb28d229d97d0bded85ac0a4c21
BLAKE2b-256 103025d000709f08b177044e3f83901db26fe8eb4c59d7b714db4d470ef124c3

See more details on using hashes here.

File details

Details for the file fridac-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fridac-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for fridac-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e5afd835136d93a223c04c815d6bf99af637f93dd9fbf95098294f977fa06c5b
MD5 29241c59c369e885abb13120fc8d03b0
BLAKE2b-256 e7e4791f6901c6d9a0a086d2da6b4227d407de38979ca247e6e80f731255b36f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page