dumpdecrypted icon indicating copy to clipboard operation
dumpdecrypted copied to clipboard

Killed 9: issue on 64bit iOS 9.3.3

Open mickayz opened this issue 8 years ago • 8 comments

Discussed previously here:

https://www.reddit.com/r/jailbreakdevelopers/comments/3qvcl9/dump_encrypted_appstore_app_to_be_able_to/

mickayz avatar Aug 11 '16 22:08 mickayz

I'm seeing that the Killed: 9 is occurring on 9.3.3 regardless of whether DYLD_INSERT_LIBRARIES is included or not.

It seems to just be occurring whenever you run the .../Application/####/Sample.app/Sample executable from the terminal.

mickayz avatar Aug 11 '16 22:08 mickayz

What worked for me was:

  1. copy dumpdecrypted.dylib into /usr/lib. Make sure it has appropriate permissions so that user mobile can read and execute it

-rwxr-xr-x 1 root wheel 197528 Aug 14 16:22 dumpdecrypted.dylib

  1. change user to mobile:

su mobile

  1. change directory into somewhere that mobile can write to:

cd /var/mobile/Documents

  1. execute the command with absolute paths:

DYLD_INSERT_LIBRARIES=/usr/lib/dumpdecrypted.dylib /var/containers/Bundle/Application/59CEB222-4C4D-4A34-BC0F-8D38B9E3853D/MyApp.app/MyApp

  1. then, you'll have the MyApp.decrypted file in the current directory

Tested on Pangu jailbroken iOS 9.3.3

n8r0n avatar Aug 14 '16 23:08 n8r0n

Using the full paths worked for me.

shepting avatar Aug 19 '16 17:08 shepting

@n8r0n i've tried your method and the app.decrpyted file was created but when i do: class-dump-z mytalkingtom.decrypted it's all filled with: XXEncryptedMethod_1345f95 etc..

stas-smedia avatar Aug 30 '16 08:08 stas-smedia

Same bugs, any solution?

ofirkris avatar Aug 31 '16 11:08 ofirkris

@stas-smedia perhaps you should thin your dumpdecrypted binary first. If you are on arm64 device for instance, try

lipo mytalkingtom.decrypted -thin arm64 -output mytalkingtom.arm64

This will produce a file mytalkingtom.arm64. Then try class-dump-z on this new file.

@ofirkris What is the error you're getting?

eltongo avatar Sep 06 '16 12:09 eltongo

2020,do this,kill 9

19aneng avatar Apr 21 '20 06:04 19aneng

2021,do this,kill 9

CoderWeiLee avatar Oct 23 '21 16:10 CoderWeiLee