Skip to content
This repository has been archived by the owner on Dec 16, 2020. It is now read-only.

How to use proxy

mgp25 edited this page Apr 11, 2015 · 3 revisions

mitmproxy

Installing mitmproxy

pip install mitmproxy

Installing certificate in your device (iOS / Android)

In OS X, certificate its in the following path:

~/.mitmproxy 

certs

Im going to use mitmproxy-ca-cert.cer

Send it by email to your device (iOS), open it and install it:

certios

certios

certios

If you are going to use android device, transfer your cert to your external SD card.

Go to Settings -> Security -> Credential Storage, and select "Install from storage":

androidcert

androidcert

androidcert

Using mitmproxy (sniffing auth_token from out device)

Run mitmproxy in your computer:

mitmproxy

In your device, set a proxy to your computers IP at port 8080

Now we open Snapchat, and we will see all requests in mitmproxy:

mitmproxy

login

Press Tab to go to Response

And search for auth_token

Note: In iPhone we are still researching for getting its auth and token.

Once you have the auth_token (form an android device). You can create a file in Snap-API/src folder called auth-<Your Username>.dat. And you can log in to your account directly.

Clone this wiki locally