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中的說明就可以使用了。