xpwn icon indicating copy to clipboard operation
xpwn copied to clipboard

Error when trying to decrypt kernel.

Open iAdam1n opened this issue 11 years ago • 4 comments

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.

iAdam1n avatar Mar 20 '13 21:03 iAdam1n

What OS are you compiling on? Mine is compiling fine on OSX. Try using the xpwntool from the ipsw-patch folder

Haifisch avatar Apr 04 '13 04:04 Haifisch

Mac. I sent that file to bin folder but same.

iAdam1n avatar Apr 12 '13 20:04 iAdam1n

Looks like your compiler compiled for the wrong arch. Go run "file /opt/local/bin/xpwntool". For OS X, it should be Mach-O.

squiffy avatar Jun 20 '13 23:06 squiffy

The xpwntool binary in crypto dir is compiled for iOS, which is what @adaminsull is using (on OS X).

neal avatar Jul 08 '13 14:07 neal