Skip to main content

Overview

Frida injects a JavaScript engine into a running process. From there, scripts hook native functions, Java/Kotlin methods (Android), and Objective-C/Swift methods (iOS), intercept arguments, modify return values, and trace execution in real time. Works on: Android · iOS · Linux · macOS · Windows

Install

Host (client tools):
Verify:
Android device (server):

CLI Tools


Attach to App

Spawn (start fresh):
Attach to running process:
Load script on attach:

JavaScript API: Basics

Hook Java Method (Android)

Hook with Arguments and Return Value

Force Return Value

Enumerate Loaded Classes


SSL Pinning Bypass (Android)

Universal script targeting the most common pinning implementations:

Hook Native Functions


Read / Write Memory


Frida Codeshare

Ready-made scripts for common tasks:
Browse scripts: codeshare.frida.re