Code Monkey home page Code Monkey logo

Comments (27)

ChiChou avatar ChiChou commented on June 15, 2024

Any log from Console.app?

from passionfruit.

eric1dat avatar eric1dat commented on June 15, 2024

Yes on the the error, here's whats going to the Console:

An unhandledRejection occurred:
Rejection:Error:The Connection is closed
Error: The Connection is closed

Thanks for the app and having a look at this.

from passionfruit.

ChiChou avatar ChiChou commented on June 15, 2024

open Console.app, I mean the log from iPhone

from passionfruit.

eric1dat avatar eric1dat commented on June 15, 2024

Ah, O.k. The device is at the office, I'll dump the logs from it when I get in tomorrow.

from passionfruit.

eric1dat avatar eric1dat commented on June 15, 2024

Find attached the log from me running the process this morning
DeviceCrash.crash.zip

from passionfruit.

ChiChou avatar ChiChou commented on June 15, 2024

launchd crashed, looks like it's a jailbreak environment problem

from passionfruit.

ChiChou avatar ChiChou commented on June 15, 2024

Passionfruit also supports repacking FridaGadget.dylib to ipa, which does not require jailbroken device.

from passionfruit.

eric1dat avatar eric1dat commented on June 15, 2024

Thanks for the research. I’ll try injecting the Frida library or a different 9.3.5 jailbreak

from passionfruit.

ChiChou avatar ChiChou commented on June 15, 2024

I only got a 32bit iPhone 5 with iOS 8. Still unable to reproduce this.

from passionfruit.

eric1dat avatar eric1dat commented on June 15, 2024

Wow, that's interesting. Perhaps it is my Jailbreak. I am using the Phoenix Jailbreak on 3 different 9.3.5 device. Again thanks much for your efforts.

from passionfruit.

allRiceOnMe avatar allRiceOnMe commented on June 15, 2024

I have the same issue with the Phoenix Jailbreak (iOS 9.3.5, iPhone4S).

from passionfruit.

ChiChou avatar ChiChou commented on June 15, 2024

Yet another question to ask, have you confirm that the frida on device is properly installed? There's both 32bit and 64bit version in the Cydia source:

img_0125

from passionfruit.

allRiceOnMe avatar allRiceOnMe commented on June 15, 2024

Yea, i know. It's the correct "Frida for 32-bit devices" version installed. frida-ps -U shows all processes and attaching works fine.

from passionfruit.

ChiChou avatar ChiChou commented on June 15, 2024

@allRiceOnMe Does frida -f [com.xxx.bundleid.goes.here] -U work?

from passionfruit.

allRiceOnMe avatar allRiceOnMe commented on June 15, 2024

Nope, it doesn't. Same result as when using passionfruit: The device restarts.

from passionfruit.

ChiChou avatar ChiChou commented on June 15, 2024

I guess only @oleavr can solve this...

Anyway, you can manually start an app on device, then passionfruit will try to attach it instead of spawning a new instance.

from passionfruit.

ChiChou avatar ChiChou commented on June 15, 2024

Seems like it's a frida framework's bug: frida/frida#373
@eric1dat

from passionfruit.

eric1dat avatar eric1dat commented on June 15, 2024

Launching the app on the device then attaching with the tool works fine. Thanks for everyones inputs.

from passionfruit.

oleavr avatar oleavr commented on June 15, 2024

This is indeed a bug in Frida, but I'm afraid I won't fix this unless somebody volunteers their time to debug it – I don't have any 32-bit devices available for testing.

from passionfruit.

ChiChou avatar ChiChou commented on June 15, 2024

cc @allRiceOnMe

from passionfruit.

allRiceOnMe avatar allRiceOnMe commented on June 15, 2024

@oleavr How can I help?

from passionfruit.

oleavr avatar oleavr commented on June 15, 2024

@allRiceOnMe Would be great if you could build Frida yourself, changing config.mk to remove --strip, and replacing /usr/sbin/frida-server with your symbolicated version. (Make sure you rm the original file first to avoid code-signing issues.) Then use launchctl to unload and then load frida-server. Once that's done, the next step is figuring out why launchd crashes when we instrument it with this script.

from passionfruit.

allRiceOnMe avatar allRiceOnMe commented on June 15, 2024

@oleavr Could you please name the full command to load and unload using launchctl?

from passionfruit.

oleavr avatar oleavr commented on June 15, 2024

@allRiceOnMe

$ launchctl unload /Library/LaunchDaemons/re.frida.server.plist
$ launchctl load /Library/LaunchDaemons/re.frida.server.plist

from passionfruit.

allRiceOnMe avatar allRiceOnMe commented on June 15, 2024

@oleavr Ok, perfekt. I'm prepared.

from passionfruit.

allRiceOnMe avatar allRiceOnMe commented on June 15, 2024

@oleavr What would be the next step? Thanks in advance

from passionfruit.

oleavr avatar oleavr commented on June 15, 2024

@allRiceOnMe Could you provide a disassembly of __posix_spawn? We hook it here. I'm also curious if you are able to trace it if you do frida-trace -U -p 1 -i __posix_spawn -- does that crash launchd (PID 1) when you manually launch an app, or does it work?

from passionfruit.

Related Issues (20)

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.