KJCracks / Clutch

Fast iOS executable dumper
3.67k stars 646 forks source link

最新编译的Clutch,ios12.0 dump 失败 #231

Open wimdoan opened 5 years ago

wimdoan commented 5 years ago

ios12.0@iphone7 按编译说明最新编译的Clutch,运行报错 iPhone:/usr/bin root# Clutch -i Killed: 9 iPhone:/usr/bin root# inject /usr/bin/Clutch got persisted port! Injecting to trust cache... /usr/bin/Clutch: OK /usr/bin/Clutch: already in static trustcache, not reinjecting Actually injecting 0 keys 0 new hashes to inject Successfully injected [1/1] to trust cache. iPhone:/usr/bin root# Clutch -i Killed: 9

按#228的方法处理后,Clutch -i 可以了,但是Clutch -d还是报签名问题,dump失败 iPhone:/var/mobile/Documents root# Clutch -d 1 2019-03-07 14:45:31.610 Clutch[803:16361] command: Dump specified bundleID into .ipa file Zipping G4Manager.app Could not obtain mach port, either the process is dead (codesign error?) or entitlements were not properly signed! Failed to dump with arch arm64 2019-03-07 14:45:34.093 Clutch[803:16396] failed operation :( 2019-03-07 14:45:34.093 Clutch[803:16396] application <NSOperationQueue: 0x101be0810>{name = 'NSOperationQueue 0x101be0810'} Failed to dump 2019-03-07 14:45:34.093 Clutch[803:16396] failed operation :( 2019-03-07 14:45:34.093 Clutch[803:16396] application <NSOperationQueue: 0x101be0810>{name = 'NSOperationQueue 0x101be0810'} Could not obtain mach port, either the process is dead (codesign error?) or entitlements were not properly signed! Failed to dump with arch arm64 2019-03-07 14:45:34.111 Clutch[803:16397] failed operation :( 2019-03-07 14:45:34.111 Clutch[803:16397] application <NSOperationQueue: 0x101bdece0>{name = 'NSOperationQueue 0x101bdece0'} Failed to dump 2019-03-07 14:45:34.112 Clutch[803:16397] failed operation :( 2019-03-07 14:45:34.112 Clutch[803:16397] application <NSOperationQueue: 0x101bdece0>{name = 'NSOperationQueue 0x101bdece0'} 2019-03-07 14:45:34.894 clutch[816:16412] command: Only dump binary files from specified bundleID 2019-03-07 14:45:34.898 clutch[814:16409] command: Only dump binary files from specified bundleID 2019-03-07 14:45:34.898 clutch[806:16399] command: Only dump binary files from specified bundleID Could not obtain mach port, either the process is dead (codesign error?) or entitlements were not properly signed! Failed to dump with arch arm64 2019-03-07 14:45:34.916 Clutch[803:16385] failed operation :( 2019-03-07 14:45:34.916 Clutch[803:16385] application <NSOperationQueue: 0x101c9bc80>{name = 'NSOperationQueue 0x101c9bc80'} Failed to dump 2019-03-07 14:45:34.916 Clutch[803:16385] failed operation :( 2019-03-07 14:45:34.916 Clutch[803:16385] application <NSOperationQueue: 0x101c9bc80>{name = 'NSOperationQueue 0x101c9bc80'} 2019-03-07 14:45:34.909 clutch[811:16404] command: Only dump binary files from specified bundleID 2019-03-07 14:45:34.909 clutch[808:16401] command: Only dump binary files from specified bundleID 2019-03-07 14:45:34.915 clutch[810:16403] command: Only dump binary files from specified bundleID 2019-03-07 14:45:34.919 clutch[805:16398] command: Only dump binary files from specified bundleID 2019-03-07 14:45:34.921 clutch[813:16408] command: Only dump binary files from specified bundleID 2019-03-07 14:45:34.997 clutch[815:16411] command: Only dump binary files from specified bundleID 2019-03-07 14:45:35.001 clutch[812:16405] command: Only dump binary files from specified bundleID Dumping arm64 Dumping arm64 Dumping arm64 Dumping arm64 Successfully dumped framework WebViewJavascriptBridge! Dumping arm64 Dumping arm64 Dumping arm64 Successfully dumped framework MGSwipeTableCell! Successfully dumped framework MJRefresh! Successfully dumped framework JSONModel! Dumping arm64 Dumping arm64 Successfully dumped framework SVProgressHUD! Successfully dumped framework FMDB! Successfully dumped framework FLAnimatedImage! Dumping arm64 Successfully dumped framework CMCommonUIModule! Successfully dumped framework AFNetworking! 2019-03-07 14:45:35.213 clutch[817:16416] command: Only dump binary files from specified bundleID Successfully dumped framework YYText! 2019-03-07 14:45:35.252 clutch[818:16417] command: Only dump binary files from specified bundleID Dumping arm64 Dumping arm64 Successfully dumped framework PureLayout! Successfully dumped framework SDWebImage! Zipping SVProgressHUD.framework Zipping FLAnimatedImage.framework Zipping YYText.framework Zipping JSONModel.framework Zipping FMDB.framework Zipping CMCommonUIModule.framework Zipping AFNetworking.framework Zipping MJRefresh.framework Zipping MGSwipeTableCell.framework Zipping SDWebImage.framework Zipping WebViewJavascriptBridge.framework Zipping PureLayout.framework Zipping G4ManagerTodayExtension.appex Zipping NotificationService.appex FAILED: Finished dumping com.cmol.G4Manager in 4.1 seconds

wagulu commented 5 years ago

我的也是这样

GaoGuohao commented 5 years ago

me too, iphone7 iOS12.0.1 uncOver

victor1342 commented 5 years ago

I have a similar issue. iOS 12.1.1 unc0ver (b43) Clutch -d always results in: Could not obtain mach port, either the process is dead (codesign error?) or entitlements were not properly signed!

As loweets mentioned, Clutch -i works perfectly fine but Clutch -d always fails with that signing error. Tried all the solutions mentioned by @Tatsh , adding the entitlements using ldid and then injecting into the trust cache. To make sure nothing was wrong with the entitlements, I ran ldid -e Clutch and was exactly the same as Clutch.entitlements. So I really don't know..

adamwangxx commented 5 years ago

Same issue iPhone6 iOS12.0 unc0ver always return killed 9.

RealMeZJT commented 5 years ago

iPhone 6,iOS 12.0, unc0ver (b43),也是运行报错 kill 9.

holyswordman commented 5 years ago

我認為自從iOS 11.1 開始已封了Clutch的運作方法, 可能Clutch要重新設計. 即使能通過簽名執行也不能解密App, 不能正常運作, 不關uncover的事.