ChiChou / bagbak

Yet another frida based iOS dumpdecrypted. Also decrypts app extensions
MIT License
1.12k stars 184 forks source link

bagbak saves app files outside the .app #119

Closed asdfzxcvbn closed 10 months ago

asdfzxcvbn commented 10 months ago

Describe the bug when dumping apps using -r, bagbak will dump app files outside the .app folder

To Reproduce bagbak -fro s Spotify

Expected behavior everything is dumped in the correct folder

Screenshots

img

Desktop (please complete the following information):

asdfzxcvbn commented 10 months ago

i could move Intents.strings to the .app, but this seems to be happening as well

img

ChiChou commented 10 months ago

Didn't reproduce here but looks like a race condition in scp module. Can you run with DEBUG_SCP=1 bagbak -fro s Spotify and give me the logs?

asdfzxcvbn commented 10 months ago

DEBUG_SCP=1 bagbak -fro s Spotify

it looks like this only happens sometimes for some reason. i dont know why, but if it happens again i'll add more info here.

ChiChou commented 10 months ago

So it's definitely race condition, which don't always happen

DEBUG_SCP=1 bagbak -fro s Spotify

it looks like this only happens sometimes for some reason. i dont know why, but if it happens again i'll add more info here.

ChiChou commented 10 months ago

I believe it should be fixed now