xpwn
xpwn copied to clipboard
Error when trying to decrypt kernel.
I keep getting -bash: /opt/local/bin/xpwntool: Bad CPU type in executable. I even downloaded the latest from this repo and recompiled with no luck.
What OS are you compiling on? Mine is compiling fine on OSX. Try using the xpwntool from the ipsw-patch folder
Mac. I sent that file to bin folder but same.
Looks like your compiler compiled for the wrong arch. Go run "file /opt/local/bin/xpwntool". For OS X, it should be Mach-O.
The xpwntool
binary in crypto
dir is compiled for iOS, which is what @adaminsull is using (on OS X).