/sniffer

Record, Replay, Manipulate Responses on the fly. Desktop application created with Javascript

Primary LanguagePython

Sniffer - Record, Replay, Manipulate Requests/Responses

Prerequisites

  1. Go inside of the main directory in your terminal
  2. sh ./setup.sh (Checks to see if you have not already installed brew, python(Version 3), mitmproxy, and websocket)
  3. yarn

Start the desktop application

yarn dev

IMPORTANT NOTE FOR FIRST TIME USERS You only need to do this once

  1. When you first run yarn dev, wait for the App to load and then click the lightbulb.
  2. Once the lightbuilb is lit up, it will run another instance of chrome but it will have a welcome message like below.
  3. Just click Start Google Chrome

chrome welcome message

  1. go to the url mitm.it once the browser opens
  2. Click on the apple logo. (Chrome will download the certificate inside of your download folder)
  3. change directory in your terminal to the download folder
  4. run the command below
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain mitmproxy-ca-cert.pem
  1. You're all set!

The application will ONLY sniff requests/responses only on that new chrome instance that the application opens up for you.

Tech Stack

React.js Redux Electron Node.js Socket.IO mitmproxy

Alt text