本文介绍: IOS 逆向常用的一些Frida 脚本整理

  1. 调用堆栈

console.log("bt:" + Thread.backtrace(this.context,Backtracer.ACCURATE).map(DebugSymbol.fromAddress).join('nt'));

Hook 调用修改返回

// Get a reference to the openURL selector

var openURL = ObjC.classes.UIApplication["- openURL:"];

// Intercept the method

Interceptor.attach(openURL.implementation, {

onEnter: function(args) {

// 方法执行调用

// As this is an ObjectiveC method, the arguments are as follows:

// 0. 'self'

// 1. The selector (openURL:)

// 2. The first argument to the openURL selector

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注