来自: http://bbs.weiphone.com/read-htm-tid-429111.html
Patching Applications from Apple's AppStore with additional protection.pdf (2086 K) 下载次数:2014
IDA Pro 下载
http://www.weiphone.com/thread-363306-1-1.html
Windows ssh 工具 (putty)
http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
iPhone 工具
http://apt.saurik.com/cydia-3.7/debs/
apt-get install gdb ldid vbindiff iphone-gcc com.ericasadun.utilities wget zip unzip
wget http://modmyi.com/repo/2debs/ericautilities0.14.deb
wget http://modmyi.com/repo/2debs/ericautilities0.15.deb
ARM opcode
http://www.heyrick.co.uk/assembler/qfinders.html
http://imrannazar.com/ARM-Opcode-Map
Windows ARM thumb 找 opcode 工具
ARM ASM 工具 (Windows)
Arm_Asm.zip (2832 K) 下载次数:384
Windows ARM thumb 找 opcode 方法
Mac OS X ARM thumb 找 opcode 方法
$ otool -tv thumbopcode
ldid 签名方法
iPhone 首次签名方法ldid -S helloiPhone 再签名方法ldid -s helloMac OS X 首次签名方法
ldid (Mac OS X)
ldid.mac.zip (15 K) 下载次数:119
export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate; ldid -S helloMac OS X
再签名方法
export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate; ldid -s helloldid
编译及安装方法 (Mac OS X Intel)
curl -O http://svn.telesphoreo.org/trunk/data/ldid/ldid-1.0.476.tgz
tar -zxf ldid-1.0.476.tgz
cd ldid-1.0.476
g++ -I . -o util/ldid{,.cpp} -x c util/{lookup2,sha1}.c
sudo cp -a util/ldid /usr/bin
ldid 编译及安装方法 (Mac OS X PPC)
curl -O http://svn.telesphoreo.org/trunk/data/ldid/ldid-1.0.476.tgz
tar -zxf ldid-1.0.476.tgz
wget -qO- http://fink.cvs.sourceforge.net/viewvc/*checkout*/fink/dists/10.4/unstable/crypto/finkinfo/ldid.patch?revision=1.1 | patch -p0
cd ldid-1.0.476
g++ -I . -o util/ldid{,.cpp} -x c util/{lookup2,sha1}.c
sudo cp -a util/ldid /usr/bin
Hex Editor
winhex
winhex.zip (1418 K) 下载次数:234

IDA Pro 下载
http://www.weiphone.com/thread-363306-1-1.html
Windows ssh 工具 (putty)
http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
iPhone 工具
http://apt.saurik.com/cydia-3.7/debs/
apt-get install gdb ldid vbindiff iphone-gcc com.ericasadun.utilities wget zip unzip
wget http://modmyi.com/repo/2debs/ericautilities0.14.deb
wget http://modmyi.com/repo/2debs/ericautilities0.15.deb
ARM opcode
http://www.heyrick.co.uk/assembler/qfinders.html
http://imrannazar.com/ARM-Opcode-Map
Windows ARM thumb 找 opcode 工具
ARM ASM 工具 (Windows)

Windows ARM thumb 找 opcode 方法
复制代码
- as.exe -mthumb test.s -a
Mac OS X ARM thumb 找 opcode 方法
复制代码
- /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/as -arch armv6 thumbopcode.s -o thumbopcode
- otool -tv thumbopcode
复制代码
- # filename : thumbopcode.s
- .globl _main
- .code 16
- .thumb_func _main
- _main:
- cmp R4, R4
- cmp R0, R0
- mov R0, R0
- mov R8, R8
- mov PC, R14
- mov R0, R4
$ otool -tv thumbopcode
复制代码
- thumbopcode:
- (__TEXT,__text) section
- _main:
- 00000000 42a4 cmp r4, r4
- 00000002 4280 cmp r0, r0
- 00000004 1c00 mov r0, r0 (add r0, r0, #0)
- 00000006 46c0 nop (mov r8, r8)
- 00000008 46f7 mov pc, lr
- 0000000a 1c20 mov r0, r4 (add r0, r4, #0)
ldid 签名方法
iPhone 首次签名方法ldid -S helloiPhone 再签名方法ldid -s helloMac OS X 首次签名方法
ldid (Mac OS X)

export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate; ldid -S helloMac OS X
再签名方法
export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate; ldid -s helloldid
编译及安装方法 (Mac OS X Intel)
curl -O http://svn.telesphoreo.org/trunk/data/ldid/ldid-1.0.476.tgz
tar -zxf ldid-1.0.476.tgz
cd ldid-1.0.476
g++ -I . -o util/ldid{,.cpp} -x c util/{lookup2,sha1}.c
sudo cp -a util/ldid /usr/bin
ldid 编译及安装方法 (Mac OS X PPC)
curl -O http://svn.telesphoreo.org/trunk/data/ldid/ldid-1.0.476.tgz
tar -zxf ldid-1.0.476.tgz
wget -qO- http://fink.cvs.sourceforge.net/viewvc/*checkout*/fink/dists/10.4/unstable/crypto/finkinfo/ldid.patch?revision=1.1 | patch -p0
cd ldid-1.0.476
g++ -I . -o util/ldid{,.cpp} -x c util/{lookup2,sha1}.c
sudo cp -a util/ldid /usr/bin
Hex Editor
winhex
