iOS HTTP/HTTPS hook log plugin for Mobile Substrate
Objective-C C Matlab
Switch branches/tags
Nothing to show
Clone or download
Latest commit 01e0c25 Sep 29, 2017
Permalink
Failed to load latest commit information.
HttPeek.xcodeproj New Sep 29, 2017
Release New Sep 29, 2017
Sources New Sep 29, 2017
Utilities HttPeex for macOS Jul 13, 2017
.gitignore Log Dir check & retry Jul 20, 2017
README.md Readme Jul 20, 2017

README.md

HttPeek

iOS/macOS HTTP(S)/SSL Network Traffic Peeker

Worked for NSURLConnection/NSURLSession/SSLRead/SSLWrite network traffic.

http://yonsm.net/httpeek/

Download

https://github.com/Yonsm/HttPeek/raw/master/Release/HttPeek.dylib

FAQ

How to track AppStore's traffic on iOS?

  1. Install OpenSSH from Cydia;
  2. Install adv-cmds from Cydia;
  3. ps ax|grep itunesstored
  4. killall -s KILL xxxx(itunesstored's pid)

Now itunesstored will restart automatically with injection of HttPeek.dylib.

How to peek HTTP(S) on macOS

  1. Download https://github.com/Yonsm/HttPeek/raw/master/Release/HttPeex.dylib to a folder (e.g. /Applications/HttPeex.dylib);

  2. Launch your process with HttPeex.dylib inserted:

    DYLD_PRINT_LIBRARIES=1 X=1 DYLD_INSERT_LIBRARIES=/Applications/HttPeex.dylib /Applications/QQ.app/Contents/MacOS/QQ

But it could not work for "library validated process" (e.g. System Apps).

How to debug HttPeex on macOS

  1. Edit scheme on Xcode;

  2. Run -> Info -> Executable: Ask on Launch;

  3. Run -> Info -> Arguments -> Environment Variables:

    DYLD_PRINT_LIBRARIES=1

    X=1

    DYLD_INSERT_LIBRARIES=$CODESIGNING_FOLDER_PATH

  4. Just Run & Debug, select any application you want to peek.