Skip to content

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MiTM Scripts

Scripts for mitmproxy to serve files from local drive

Installing

Instructions for Mac OS X

  1. Get mitmproxy

        brew install mitmproxy
    
  2. Clone this repo

        git clone https://github.com/Olegas/mitmscripts.git
    
  3. Set desired adapter in .adapter file. If you use ethernet connection set ADAPTER="Ethernet", in case WiFi is used - set ADAPTER="Wi-Fi"

  4. Run mitm (it will activate proxy, run mitm, and after you quit mitm will deactivate proxy)

        ./run_mitm.sh
    
  5. Point your browser to mitm.it and follow the instructions how to install certificate to SSL interception

Proxy configuration

Open local_proxy.py with your favorite text editor and configure hosts and replacements variables. See comments for more info.

Disabling a proxy

Just run ./proxy_off.sh. Also you can always disable it using system preferences app.

Known bugs

If you already have active Cisco AnyConnect session - disconnect it before starting and configuring mitm. Changes made to system proxy settings while AnyConnect session is active will not be used by clients until AnyConnect is disconnected and connected again.

About

Script to configure mitmproxy to serve particular files from local drive

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages