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

Or if using an internal package repository:

pip install fridac --index-url https://pypi.org/simple

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.2.tar.gz (9.0 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.2-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fridac-0.1.2.tar.gz
  • Upload date:
  • Size: 9.0 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.2.tar.gz
Algorithm Hash digest
SHA256 710ffb05647a1a94e417f53f2bc4fe47a5dead2073d0f4e886fdebbf2d1ee9cf
MD5 e348fa47ab0388990f9c85b48098e654
BLAKE2b-256 47c43c6560a331d650b27b7f7c6c76713e2d5fb520c54ef9b250a24d7d901e86

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fridac-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8032728ab8ca16386193f6b9af9ee83f5d1e26168aa61f4d61d2be9f8d44a29b
MD5 562dcdcee9850e4b1f0a302b3520fd67
BLAKE2b-256 32f039503b9888327868482097ff6604ed8394f285b73641ee8b1623afa80ff4

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