ptoomey3 / Keychain-Dumper

A tool to check which keychain items are available to an attacker once an iOS device has been jailbroken
BSD 3-Clause "New" or "Revised" License
1.35k stars 299 forks source link

Segmentation Fault: 11 #28

Closed jairoserranosp closed 4 years ago

jairoserranosp commented 7 years ago

root# ./keychain_dumper -a > keychain_dump.log Segmentation fault: 11

iPhone 8,1 iOS 9.1 Cydia64_1.1.28

ptoomey3 commented 7 years ago

My apologies, I haven't kept current with jailbreaking and have no way to test/fix anything. If someone can reproduce/fix it, I'd be open to reviewing/merging a PR.

cyru5xl commented 7 years ago

Same issue happening for me ipad air2 iOs 8.4 - cydia 1.1.23 root# ./keychain_dumper -k > dump.log Only has issue dumping the keys : Segmentation fault: 11 Anything I need to do to fix? Perhaps a x64 issue?

More Info: Tried deleting the culprit key it was crashing on spotify. After app uninstall and deleting key from keychain it still has the same issue with the next key after initial apple keys which is pandora from app store.

Key

Entitlement Group: 6KVQ6HHK5F.com.pandora Label: (null) Application Label: <> Key Class: Public Segmentation fault: 11

ThePirateWhoSmellsOfSunflowers commented 7 years ago

Hi! Same issue here, on iPhone 8,1, iOS 10.1 Cydia64_1.1.30 Only segfault when dumping key (with -k or -a)

iPhone-XXXXXXX:~ root# ./keychain_dumper -k

[...]

Key
---
Entitlement Group: com.apple.CoreSuggestions
Label: (null)
Keychain protection class: kSecAttrAccessibleWhenUnlocked
Application Label: <53475361 6c74>
Key Class: Public
Segmentation fault: 11
iPhone-XXXXXXX:~ root# 
notoriousturtle commented 6 years ago

Looks like the empty key bug.

ikkisoft commented 6 years ago

Agree. Try merging this PR locally https://github.com/ptoomey3/Keychain-Dumper/pull/12

ptoomey3 commented 5 years ago

Does #12 resolve the issue? I've fallen out of the jailbreak world, so don't have easy access to a device to test on. But, I can try and get #12 merged if folks think it worthwhile.

ptoomey3 commented 4 years ago

Closing as stale.