Coder Social home page Coder Social logo

rubaljain / frida-jb-bypass Goto Github PK

View Code? Open in Web Editor NEW
66.0 3.0 16.0 532 KB

Frida script to bypass the iOS application Jailbreak Detection

JavaScript 100.00%
frida fridaios jailbreak jailbreaking jailbreak-tweak jailbreak-detection bypassjailbreak

frida-jb-bypass's People

Contributors

rubal-lucideus avatar rubaljain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

frida-jb-bypass's Issues

newretval needs to be declared

in file:bypass-jailbreak-detection.js
newretval = ptr("0x0") --> changing this line to var newretval = ptr("0x0") might fix the problem

Error during executing final jailbreak step

frida -U -l bypass-jailbreak-detection.js IndOASIS

 ____
/ _  |   **Frida 14.2.12** - A world-class dynamic instrumentation toolkit

| (| |
> _ | Commands:
/
/ |_| help -> Displays the help system
. . . . object? -> Display information about 'object'
. . . . exit/quit -> Exit
. . . .
. . . . More info at https://frida.re/docs/home/
Attaching...

[!] Exception2: cannot read property 'implementation' of undefined

What frida version is recommended ?

Further examining some special cases

In my case, the script "find-classes.js" finds class named:

TokenLibObjC.JailbreakDetection

for which the script "show-all-methods-of-specific-class.js" raises the exception:

[*] Started: Find All Methods of a Specific Class
[!] Exception2: cannot read property '$methods' of undefined
[*] Completed: Find All Methods of a Specific Class

The script works fine (in sense of finding the methods of a class) if class name doesn't have "." (dot) in it. How does one approach this is it does?

Process Name with Space Character

Hi there, I can list all the processes with "frida-ps -Uai" however, the process that i wanted to analyze have space character "XXX YYY". When i try to choose the process name (frida -U -l find-classes.js ____) as it is or with "" marks or like XXX_YYY i got syntax error below. Also i can select the process with PID however can not do further class search and analysis. How can i select that process properly (with its name)?

Error: SyntaxError: expecting ';'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.