Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EXC_BAD_ACCESS for dynamic App Group fetching. #2

Open
Shugabuga opened this issue Dec 20, 2016 · 7 comments
Open

EXC_BAD_ACCESS for dynamic App Group fetching. #2

Shugabuga opened this issue Dec 20, 2016 · 7 comments

Comments

@Shugabuga
Copy link

Some of the code added for dynamically fetching the App Group identifier makes the entire project hang. I posted my logs and where the error occurred below:


jailbreak.c:

id path = objc_msgSend(bundle, sel_registerName("pathForResource:ofType:"), 
    CFSTR("mach_portal"), CFSTR("entitlements"));

"Thread 1: EXC_BAD_ACCESS (code=1, address=0x17)"


Console:

nc-client for iOS by vgmoose
CC BY-NC-SA 4.0 license

sysname: Darwin
nodename: HeyItsShuga-iPhone
release: 16.1.0
version: Darwin Kernel Version 16.1.0: Thu Sep 29 21:56:10 PDT 2016; root:xnu-3789.22.3~1/RELEASE_ARM64_T8010
machine: iPhone9,3
device iPhone9,3 matched
(lldb) 
@uroboro
Copy link
Owner

uroboro commented Dec 20, 2016

Can you see if this change helps? 397df56

@Shugabuga
Copy link
Author

Well the exploit now somewhat works, but I can't confirm entirely. I'll do more extensive tests later.
Also the netcat command-line interface isn't showing up, but no logs right now as I'm not home for another few hours.

@uroboro
Copy link
Owner

uroboro commented Dec 20, 2016

At least it doesn't crash, right? I do have plans of piping the exploit's logs to the console view, just not decided on how to send strings from C to the Swift class.

@Shugabuga
Copy link
Author

Ah. Isn't there supposed to be the nc connect screen, or is that not implemented fully yet?

@uroboro
Copy link
Owner

uroboro commented Dec 20, 2016

Yes, the popup should appear on viewDidAppear.

@shinvou
Copy link

shinvou commented Dec 20, 2016

It also doesn't appear for me on my iPad.

@Shugabuga
Copy link
Author

@uroboro does it appear for you?
And aren't the console.log()'s supposed to appear? Because they don't for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants