nabla-c0d3 / ssl-kill-switch2

Blackbox tool to disable SSL certificate validation - including certificate pinning - within iOS and macOS applications.
Other
3.08k stars 466 forks source link

iOS 9 compatibility (booting problem) #5

Closed danylokos closed 9 years ago

danylokos commented 9 years ago

Hi, sorry for bothering, but could you please help me, or just point me in to the right direction, i used ios-ssl-kill-switch (iSECPartners) on iOS 8 and previous, on iOS 9 it works, but it prevents a phone (4s, armv7, 9.0.2) from booting, so i can install it and use it, but i can't reboot the phone with the tweak installed, i think it might be related to this (sauriks' tweet), so i want to try to build ssl-kill-switch2 with those settings enabled, but unfortunately i can't, here is an error log which i gets, thanks!

nabla-c0d3 commented 9 years ago

Hi, Your build environment seems to have issues... have you been able to compile a tweak before? I re-compiled the tweak with Saurik's fix but haven't tested anything - feel free to try the tentative-ios9 package I just uploaded https://github.com/nabla-c0d3/ssl-kill-switch2/releases

danylokos commented 9 years ago

hi, thanks a lot! no i never tried to compile a tweak my self but i followed the instruction how to setup environment from here, probably i made a mistake somewhere, i will try to do it one more time later. Thanks for compiling it for me, unfortunately issue still present, the tweak works, but i can't reboot the phone with it installed, maybe something changed in MobileSubstrate on iOS 9, i don't know, anyway thanks for your help

markus0m commented 9 years ago

I tried the old (package) version and got the boot problem. Just found v2 and will give it a try. Thumbs up!

Doesn't seem like anything was uploaded though - the release is still at 0.7 Did I just miss it somehow?

nabla-c0d3 commented 9 years ago

I removed it as @danylokostyshyn said it wasn't working.

I will re-compile SSL Kill Switch for iOS 9 once people have figured out what the issue is and how to fix it (http://www.iphonedevwiki.net/index.php/Updating_extensions_for_iOS_9). It's a problem with the tweak toolchain.

markus0m commented 9 years ago

I see! Not functional or just not solving the reboot issue? If you have a new version for testing, just let us know on here. I'm on an iPhone 5s.

Do you happen to have a repo by any chance?

nabla-c0d3 commented 9 years ago

Have you tried the iOS 8 version ? it should work the same on iOS 9 (except for the reboot issue on 32 bits devices).

Hope4hope commented 9 years ago

Same problem, using iPad 2, with 9.0.2, installed your released deb, after reboot device is dead.

markus0m commented 9 years ago

Hold the volume up key while hard resetting. Safe mode will fail but you should be able to boot eventually and remove the patch.

On 21 Oct 2015, at 15:08, Hope4hope notifications@github.com wrote:

Same problem, using iPad 2, with 9.0.2, installed your released deb, after reboot device is dead.

— Reply to this email directly or view it on GitHub.

danylokos commented 9 years ago

it isn't dead actually, you can always boot the device in a safe mode (hold the volume down key when apple logo appears) and uninstall the tweak, currently i'm using next workaround myself:

because the tweak actually works OK, the only problem is in loading it while the boot stage i've built the .dylib separately (small script) and when i need to disable ssl, i just copy the dylib to /Library/MobileSubstrate/DynamicLibraries/ and re-spring the phone (killall -HUD SpringBoard), when it's no longer needed i just remove it form DynamicLibraries folder

Hope4hope commented 9 years ago

nabla-c0d3, Also if possible add SSLKillSwitch.framework into git

Hope4hope commented 9 years ago

danylokostyshyn, thank you for your solution, you are the best

magicguru commented 9 years ago

Can anybody get this working for iOS 9 without having to activate it after booting?

nabla-c0d3 commented 9 years ago

I just released v0.8 - please try it and re-open the issue if it doesn't work. On my iPhone 4S it seems to work fine with no boot loop.

danylokos commented 9 years ago

thanks! works great again! such a simple fix :) how did you find this out?

BJJLeon commented 9 years ago

Works great with my iPhone 6s and iOS 9 Could you try to update introspy for iOS aswell? Thanks

nabla-c0d3 commented 9 years ago

Good to know - regarding Introspy I don't have time to maintain it : /

markus0m commented 9 years ago

5s boots as well, thanks!