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.1.tar.gz (8.9 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.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fridac-0.1.1.tar.gz
  • Upload date:
  • Size: 8.9 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.1.tar.gz
Algorithm Hash digest
SHA256 6e142839c2d9ba26811eb99082e89a20755356f0638ee50a3ba5649a2a8742bc
MD5 8b2a1869a06480ccb0b1db7cf3d4b536
BLAKE2b-256 76d0247b7178b0617f5c721cc086facb5e2a69c7c814b508ec4bc5f7d0ee0779

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fridac-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 45b6a71722cc1e1d636b4a4306b2a3cdd94939a36f0b928427d059669bdbd726
MD5 2446c0cbe71de5d2c58bdf458fc530f4
BLAKE2b-256 ccbfeb2f24c83c65f9992b5fcfe93af084dd9233d66184d7753ad84f305bb3d9

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