theos iosopendev各种蛋疼的问题

1.xcrun: error: unable to find utility “codesign_allocate”, not a developer tool or in PATH

可能原因,xcode版本问题,这个鸟机器是昨天又换过来的,结果上面两个xcode 4.6 和xcode 5 preview。蛋疼啊,折腾这么多东西。这个问题只要执行下面的命令将默认的xcode设置为4.6基本就可以解决了

sudo xcode-select -switch /Applications/

2.执行make package的时候提示如下的错误:

theos make: *** [internal-package] Error 2


Package: com.mars.ssl_hook
Name: SSL_HooK
Depends: mobilesubstrate
Version: 0.0.1
Architecture: iphoneos-arm
Description: An awesome
MobileSubstrate tweak!
Maintainer: obaby
Author: obaby
Section: Tweaks
Continue Reading



mitmproxy是一款支持SSL的HTTP代理,它可以用于调试HTTP通信,发起中间人攻击等。mitmproxy提供了一个控制台接口用于动态拦 截和编辑HTTP数据包。mitmdump是mitmproxy的命令行版本,功能与其相同。


Intercept and modify HTTP traffic on the fly

Save HTTP conversations for later replay and analysis

Replay both HTTP clients and servers

Make scripted changes to HTTP traffic using Python

SSL interception certs generated on the fly

Continue Reading

Hooking library calls on Mac using DYLD_INSERT_LIBRARIES

Mac offers a way to override functions in a shared library with DYLD_INSERT_LIBRARIES environment variable (which is similar to LD_PRELOAD on Linux). When you make a twin brother of a function that is defined in an existing shared library, put it in you a shared library, and you register your shared library name in DYLD_INSERT_LIBRARIES, your function is used instead of the original one. This is my simple test. Here I’ve replaced f() in mysharedlib.dylib with f() in openhook.dylib.

Continue Reading