xPwn0.3版发布,这时一款强大的多平台iPhone破解工具,但是因为发布版本只有命令行模式的执行方式,所以在这里跟大家简要说一下它的使用方法:
xPwn多平台破解工具0.3下载地址
Windows版本:
1.下载后先将文件解压,把2.0版官方固件、Bootloader3.9和Bootloader4.6文件放入解压好的文件夹中,没有Bootloader文件的话点这里下载。
2.点击xPwn.exe运行,从左侧选择制作新固件,这时先不要连接iPhone。
3.待自制固件做好后再连接iPhone,选右边的Pwn之后有英文提示。
4.打开iTunes并让iPhone进入DFU模式,然后在iTunes中按住Shift点击恢复,选新制作出来的固件,新固件会保存在/xWinPwn0.3/CustomFirmwares/文件夹中,文件名称是custom_iphone2g.ipsw。
Linux版本:
1.首先用tar解压,之后会出现:
# tar zxvf /home/xuqing/Downloads/planetbeing-xpwn.tar.gz
planetbeing-xpwn-5053ab758ad21d902c0fbe3d68c787ebe8f7a09b/
planetbeing-xpwn-5053ab758ad21d902c0fbe3d68c787ebe8f7a09b/CMakeLists.txt
planetbeing-xpwn-5053ab758ad21d902c0fbe3d68c787ebe8f7a09b/FindUSB.cmake
planetbeing-xpwn-5053ab758ad21d902c0fbe3d68c787ebe8f7a09b/LICENSE
planetbeing-xpwn-5053ab758ad21d902c0fbe3d68c787ebe8f7a09b/README.markdown
....等等一大排文件。
2.然后用cd进入该目录:
# cd planetbeing-xpwn-5053ab758ad21d902c0fbe3d68c787ebe8f7a09b/
3.用cmake创建Makefile:
# cmake .
WARNING: This project requires version 2.6 of CMake. You are running version 2.4.8.
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Found ZLIB: /lib/libz.so
-- Found OpenSSL: /usr/lib/libssl.so
-- Looking for BZ2_bzCompressInit in /lib/libbz2.so
-- Looking for BZ2_bzCompressInit in /lib/libbz2.so - found
-- Found BZip2: /lib/libbz2.so
-- Found PNG: /usr/lib/libpng.so
-- Found USB: /lib/librickrb.so
-- Found USB: /lib/librickrb.so
-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/planetbeing-xpwn-5053ab758ad21d902c0fbe3d68c787ebe8f7a09b
4.建立好Makefile后用make进行编译:
# make
Scanning dependencies of target common
[ 2%] Building C object common/CMakeFiles/common.dir/abstractfile.o
linking C static library libcommon.a
[ 2%] Built target common
Scanning dependencies of target minizip
[ 4%] Building C object minizip/CMakeFiles/minizip.dir/ioapi.o
[ 6%] Building C object minizip/CMakeFiles/minizip.dir/unzip.o
[ 9%] Building C object minizip/CMakeFiles/minizip.dir/zip.o
linking C static library libminizip.a
[ 9%] Built target minizip
....
5.再使用make install进行安装
# make install
[ 2%] Built target common
[ 9%] Built target minizip
[ 29%] Built target dmg
[ 50%] Built target hfs
[ 52%] Built target dmg-bin
[ 54%] Built target hdutil
[ 56%] Built target hfsplus
[ 84%] Built target xpwn
[ 86%] Built target ipsw
[ 88%] Built target xpwntool
[ 95%] Built target dfu-util
[100%] Built target xpwn-bin
linking C executable CMakeFiles/CMakeRelink.dir/dmg
linking C executable CMakeFiles/CMakeRelink.dir/hdutil
linking C executable CMakeFiles/CMakeRelink.dir/hfsplus
linking C executable CMakeFiles/CMakeRelink.dir/ipsw
linking C executable CMakeFiles/CMakeRelink.dir/xpwntool
linking C executable CMakeFiles/CMakeRelink.dir/dfu-util
linking CXX executable CMakeFiles/CMakeRelink.dir/xpwn
Install the project...
-- Install configuration: ""
-- Installing /usr/local/./README.txt
-- Installing /usr/local/./LICENSE.txt
-- Install configuration: ""
-- Install configuration: ""
-- Install configuration: ""
-- Installing /usr/local/./dmg
6.默认所有的二进制文件都会安装到/usr/local,然后按照README.markdown中的说明就可以使用了。