Search code examples
iosheader-filesjailbreak

Error in using "dumpdecrypted" to decrypt ios application


I am trying to use 'dumpdecrypted' to decrypt iOS Application. In accordance with README, I compiled dumpdecrypted.dylib and send it to my device, and I run command like below:

IPad-mini:/var/mobile root# DYLD_INSERT_LIBRARIES=dumpdecrypted.dylib /var/mobile/Applications/XXXXX
XXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/AppName.app/AppName

But there was an error:

dyld: could not load inserted library 'dumpdecrypted.dylib' because no suitable image found. Did find:
        dumpdecrypted.dylib: stat() failed with errno=1

Trace/BPT trap:5

How can I solve this problem??

My device is iPad mini 2(iOS7.1.2 Jailbreaked).


Solution

  • Put dumpdecrypted.dylib in /usr/lib, then move to that directory (i.e., cd /usr/lib).

    Then execute the command:

    DYLD_INSERT_LIBRARIES=dumpdecrypted.dylib /var/mobile/Applications/D9DC2DBC-3C80-43E8-AF79-C01480A46271/rcplus.app/rcplus
    

    You will find the output in the current directory (/usr/lib).