TarballCoLtd / iOS-Restrictions-Recovery

Finds Screen Time/Restrictions passcodes on iOS 7-12 (by @tarbaII)
GNU General Public License v3.0
51 stars 10 forks source link

ArrayIndexOutOfBoundsException: 1 #1

Open erik-404err opened 4 years ago

erik-404err commented 4 years ago

I tried recovering a password from my girlfreinds old iPhone 5S; iOS 12.4.7; jailbroken with checkra1n; recovery tried with v0.7.1 and v0.7.3, but it always failes after fetching the keychain. Here is a screenshot, if you need any more information, just ask me.

tarbaII commented 4 years ago

I’ve been working with someone else with an iOS 12 device on how to fix it, and we’re making good progress. I’ll update it as soon as I have a reliable fix. Apparently, the program right now only works with iOS 13.5 devices, and since my phone is on iOS 13.5, I didn’t notice the issue. I’ll probably have a working debug build in a day or two. When I do, would you be willing to test it before I post a release?

erik-404err commented 4 years ago

of cause, no problem. I could test 12.4.7 and 12.4.8 on the 5S. Just let me know once you have the beta ready.

tarbaII commented 4 years ago

@erik-404err I’ve got a build for you. Pretty sure it only works on iOS 12, not 13, but it’ll be a good test for 12. Thanks for doing this!

https://drive.google.com/file/d/1LeILlv3jb2pCN8W5f1wg8SQkr-pCl3Bz/view?usp=drivesdk

Lemme know if it works. If it doesn’t, let me know what it says if “View failed Keychain dump” comes up.

tarbaII commented 4 years ago

@erik-404err Oh, and please make sure that you do not have keychain_dumper in the same directory as this when you run it.

erik-404err commented 4 years ago

ive just tried running it. It does not show any window, also doesn´t show up in the Task Manager. Ive restartet and downloaded the beta .jar twice, to make sure the error is has nothing to do with that. also the latest release (v0.7.3) works just fine, while the beta dosen´t start. ive also installed the last version of java (Version 8 Update 261, v8.0.2610.12).

do you have an old version of java maybe? got a warning once, that installing the latest java version may cause some problems with older applications (they may stop working).

tarbaII commented 4 years ago

@erik-404err My Mac has JDK 14.0.2 installed, the latest version. I'm not sure what the issue was, but could you try the new v1.0 beta 3 release in the Releases tab?

Should fix everything for iOS 12 if I didn't miss anything. I even tried it on my own iOS 12 device and it works great. Make sure you do not have keychain_dumper in the same folder as the JAR and that your device does have a passcode and fingerprint/face. Authenticate on the phone when it asks. Let me know how it goes! :D

erik-404err commented 4 years ago

Found my mistake. I installed Java not Java SE, which worked for v0.7.3 and earlier but not for the v0.8 debug release or v1 Beta 3. sorry, my bad.

got the Restriction/screen time code recovered. iOS 12.4.7 (16G192); iOS 12.4.8 (16G201); iPhone6,2 (A1457) ~5s; v0.8 Debug release; v1.0 Beta 3;

really great project! Looking forward to the v1 release post on reddit.

tarbaII commented 4 years ago

@erik-404err Thanks so much! iOS 13 still doesn't work, only 12, I'll mark this as closed when I fix it.