arandomdev / DyldExtractor

Extract Binaries from Apple's Dyld Shared Cache
MIT License
404 stars 40 forks source link

Extract nothing from iOS 14 arm64 cache file #37

Closed YiYiZheng closed 2 years ago

YiYiZheng commented 2 years ago

Describe the bug Extract nothing from iOS 14 arm64 cache file

To Reproduce

  1. iOS version 14.2
  2. DYLD target device and identifier iPhone SE iPhone8,4
  3. Terminal command to reproduce: dyldex_all dyld_shared_cache_arm64

Additional context Log:

----- Summary -----


arandomdev commented 2 years ago

Hmm, that's weird, it seems to work for me. Are you on the latest version, 2.0.3?

YiYiZheng commented 2 years ago

Hmm, that's weird, it seems to work for me. Are you on the latest version, 2.0.3?

YES, it's 2.0.3. And I get the cache file from

image

Can you try my cache file? I could send it to you by email

arandomdev commented 2 years ago

Sure, you can zip it and send it to haow6449@gmail.com. If it's too big, you can give me a download link.

YiYiZheng commented 2 years ago

Already send an email to you, Thx

arandomdev commented 2 years ago

Okay I got your file. It seems that the file is broken or not a cache. On a normal cache, there should be a magic at the beginning, but your cache doesn't have it. For example, image image

I don't know how you get your file, but in regards to DyldExtractor, I might add a check for the magic.

YiYiZheng commented 2 years ago

Okay I got your file. It seems that the file is broken or not a cache. On a normal cache, there should be a magic at the beginning, but your cache doesn't have it. For example, image image

I don't know how you get your file, but in regards to DyldExtractor, I might add a check for the magic.

I got from this directory by iFunBox

image

arandomdev commented 2 years ago

Can you use scp to copy it from the device? I usually download the ipsw and get it from there.

YiYiZheng commented 2 years ago

Can you use scp to copy it from the device? I usually download the ipsw and get it from there.

Solved! It works by using scp. Thx!

arandomdev commented 2 years ago

I'll close this issue now that I added a check with 78b56ea.