4ch12dy / xia0LLDB

LLDB python scripts for iOS arm64 reversing by xia0
640 stars 111 forks source link

执行dumpdecrypted -X报错 #35

Open chuqingr opened 2 years ago

chuqingr commented 2 years ago

手机:iPhone8 plus 系统:iOS14.2 越狱方式:unc0ver7.0.0

执行dumpdecrypted -X后报错,如下: (lldb) dumpdecrypted -X [] set breakpoint at CFBundleGetMainBundle [] will continue process and dump [] start execute dumpdecrypted [] delete all breakpoints [+] use "target list" to get main module:/private/var/containers/Bundle/Application/C1082122-4000-4896-8B91-E6BD52F37FA9/.app/ [+] use "target list" to get main module:/private/var/containers/Bundle/Application/C1082122-4000-4896-8B91-E6BD52F37FA9/.app/ [*] app dir:/var/containers/Bundle/Application/C1082122-4000-4896-8B91-E6BD52F37FA9/***.app [-] failed to get app images from:error: while importing modules: While building module 'Foundation' imported from LLDBModulesMemoryBuffer:1: While building module 'Security' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h:9: In file included from :2: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h:35: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h:41: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:287:48: error: 'SecKeychainRef' is unavailable: not available on iOS OSStatus SecKeychainOpen(const char pathName, SecKeychainRef * __nonnull CF_RETURNS_RETAINED keychain); ^

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h:135:51: note: 'SecKeychainRef' has been explicitly marked unavailable here typedef struct CF_BRIDGED_TYPE(id) __SecKeychain *SecKeychainRef