iSECPartners / Introspy-iOS

Security profiling for blackbox iOS
http://isecpartners.github.io/Introspy-iOS/
GNU General Public License v2.0
726 stars 177 forks source link

iOS 9 Support #38

Open BJJLeon opened 8 years ago

BJJLeon commented 8 years ago

Does Introspy still work with iOS 9?

radj commented 8 years ago

I'm gonna have to say no, it does not. After installing it and rebooting the device, the device stayed stuck in boot mode.

Went through the process of restoring, rejailbreaking a device, and installing every dependency one by one, and rebooting after every dependency. After I installed Introspy and rebooted via SSH, the device stayed stuck in boot (not a boot loop). Good thing I was able to recover by putting device in Safe mode and removing the introspy package.

After removing introspy, rebooted again successfully. Reinstalled introspy, rebooted, stuck again. I think it is safe to say this is an introspy problem. Will look into it soon :)

nabla-c0d3 commented 8 years ago

Regarding the reboot issues, this might help: https://github.com/nabla-c0d3/ssl-kill-switch2/issues/5

radj commented 8 years ago

@nabla-c0d3 I'll definitely look into it. Thanks for the lead!

radj commented 8 years ago

@nabla-c0d3 So from what I understood in that ticket, it was related to the page size. I updated my theos with the pagesize fixes but the problem still occurs with Introspy. The copy-only-when-needed approach is a good workaround but it only avoids the problem. Any other lead?

nabla-c0d3 commented 8 years ago

@radj I ended up switching to kerb's theos (https://github.com/kirb/theos) for building the tweak and with the cydia substrate update, it fixed all the issues.

radj commented 8 years ago

@nabla-c0d3 I started trying that repo now and ending up with more compile errors and warnings than before. Yikes. Might be a setup issue. Did you also just use git clone --recursive https://github.com/kirb/theos.git? Or did you get your headers somewhere else?

Edit: kirb theos works fine with https://github.com/nabla-c0d3/ssl-kill-switch2 though. Can build successfully. I checked out a clean copy of Introspy and still getting the undeclared identifier HBLogError compile error. Did you add HBLogger? How?

yog3shsharma commented 8 years ago

The same problem occurred for me too: "After installing it and rebooting the device, the device stayed stuck in boot mode"

Is there any workaround for it?

radj commented 8 years ago

@yog3shsharma Try the changes in this pull request.

yog3shsharma commented 8 years ago

Thanks for the prompt response @radj. I'll try and update here.

radj commented 8 years ago

It stops the bootloop but so far, Introspy hasn't worked for me yet. I haven't looked into that, too.

Naville commented 8 years ago

Gentleman. I implemented my own version with improvements at https://github.com/Naville/WTFJH Contains codes from this repo. Hope that won't be a trouble

radj commented 8 years ago

So I think I've fixed the problem with iOS 9 thanks to @Naville's tip and code. I've made a pull request that includes the change.

jellylamp commented 8 years ago

@radj I tried your changes but I still get stuck on the boot problem, is my setup correct?

I also tried using kirb/theos but ran into same undeclared identifier HBLogError errors that you mentioned.

danylokos commented 8 years ago

Have you tried adding a bundle filter for UIKit, like it was done here in this commit ?

jellylamp commented 8 years ago

@danylokostyshyn That fixed it! Thanks so much!