Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

appdecrypt is a tool to make decrypt application encrypted binaries on macOS when SIP-enabled

License

NotificationsYou must be signed in to change notification settings

LK26/appdecrypt

 
 

Repository files navigation

Decrypt application encrypted binaries on macOS when SIP-enabled (macOS 11.3 or below).

This works well and compiles for iOS nicely, if you want use it at iOS devices, you can use build-ios.sh (Thanks @dlevi309).

How to use

On mac with M1 CPU

> git clone https://github.com/paradiseduo/appdecrypt.git>cd appdecrypt> chmod +x build-macOS_arm.sh> ./build-macOS_arm.sh> ./appdecryptVersion 2.1appdecrypt is a tool to make decrypt application encrypted binaries on macOS when SIP-enabled.Examples:    mac:        appdecrypt /Applicaiton/Test.app /Users/admin/Desktop/Test.app    iPhone:        appdecrypt /var/containers/Bundle/Application/XXXXXX /tmpUSAGE: appdecrypt encryptMachO_Path decryptMachO_PathARGUMENTS:<encryptApp_Path>     The encrypt app file path.<decrypt_Path>        The path output file.OPTIONS:  -h, --help              Showhelp information.

For Example

> ./appdecrypt /Applicaiton/Test.app /Users/admin/Desktop/Test.appSuccess to copy file.Dump /Applications/Test.app/Wrapper/Test.app/Test SuccessDump /Applications/Test.app/Wrapper/Test.app/PlugIns/TestNotificationService.appex/TestNotificationService SuccessDump /Applications/Test.app/Wrapper/Test.app/Frameworks/trackerSDK.framework/trackerSDK SuccessDump /Applications/Test.app/Wrapper/Test.app/Frameworks/AgoraRtcKit.framework/AgoraRtcKit Success>cd /Users/admin/Desktop/Test.app> lsWrappedBundle Wrapper>cd Wrapper> lsBundleMetadata.plist Test.app            iTunesMetadata.plist

On Jailbreak iPhone with arm64 CPU

First you should connect jailbreak iPhone with USB.

> brew install ldid> git clone https://github.com/paradiseduo/appdecrypt.git>cd appdecrypt> chmod +x build-iOS.sh> ./build-iOS.sh> scp -P 2222 appdecrypt root@127.0.0.1:/tmp// In iPhone shell>cd /tmp> ./appdecryptVersion 2.1appdecrypt is a tool to make decrypt application encrypted binaries on macOS when SIP-enabled.Examples:    mac:        appdecrypt /Applicaiton/Test.app /Users/admin/Desktop/Test.app    iPhone:        appdecrypt /var/containers/Bundle/Application/XXXXXX /tmpUSAGE: appdecrypt encryptMachO_Path decryptMachO_PathARGUMENTS:<encryptApp_Path>     The encrypt app file path.<decrypt_Path>        The path output file.OPTIONS:  -h, --help              Showhelp information.

For Example

// In iPhone shell> ./appdecrypt /var/containers/Bundle/Application/5B5D4E97-E760-4AC5-BFEE-F0FF72EBB19E /tmpSuccess to copy file.Dump /var/containers/Bundle/Application/5B5D4E97-E760-4AC5-BFEE-F0FF72EBB19E/KingsRaid.app/KingsRaid SuccessDump /var/containers/Bundle/Application/5B5D4E97-E760-4AC5-BFEE-F0FF72EBB19E/KingsRaid.app/Frameworks/FBSDKGamingServicesKit.framework/FBSDKGamingServicesKit SuccessDump /var/containers/Bundle/Application/5B5D4E97-E760-4AC5-BFEE-F0FF72EBB19E/KingsRaid.app/Frameworks/FBLPromises.framework/FBLPromises SuccessDump /var/containers/Bundle/Application/5B5D4E97-E760-4AC5-BFEE-F0FF72EBB19E/KingsRaid.app/Frameworks/FBSDKShareKit.framework/FBSDKShareKit SuccessDump /var/containers/Bundle/Application/5B5D4E97-E760-4AC5-BFEE-F0FF72EBB19E/KingsRaid.app/Frameworks/GoogleUtilities.framework/GoogleUtilities SuccessDump /var/containers/Bundle/Application/5B5D4E97-E760-4AC5-BFEE-F0FF72EBB19E/KingsRaid.app/Frameworks/FBSDKLoginKit.framework/FBSDKLoginKit SuccessDump /var/containers/Bundle/Application/5B5D4E97-E760-4AC5-BFEE-F0FF72EBB19E/KingsRaid.app/Frameworks/nanopb.framework/nanopb SuccessDump /var/containers/Bundle/Application/5B5D4E97-E760-4AC5-BFEE-F0FF72EBB19E/KingsRaid.app/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit SuccessDump /var/containers/Bundle/Application/5B5D4E97-E760-4AC5-BFEE-F0FF72EBB19E/KingsRaid.app/Frameworks/Protobuf.framework/Protobuf Success>cd Payload> lsBundleMetadata.plist  KingsRaid.app/  iTunesMetadata.plist> tar -cvf /tmp/dump.tar ./// In mac shell>cd~/Desktop> scp -P 2222 root@127.0.0.1:/tmp/dump.tar.dump.tar

Principle

This was discovered independently when analyzing kernel sources, but it appears that the technique was first introduced on iOS :

https://github.com/JohnCoates/flexdecrypt

but now works on macOS:

https://github.com/meme/apple-tools/tree/master/foulplay

LICENSE

This software is released under the GPL-3.0 license.

Stargazers over time

Stargazers over time

About

appdecrypt is a tool to make decrypt application encrypted binaries on macOS when SIP-enabled

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift86.1%
  • Shell13.9%

[8]ページ先頭

©2009-2025 Movatter.jp