Skip to content

laduygaga/mitm-adblock-python3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MITM Adblock

  1. $ pip3 install cython # for install pyre2
  2. $ pip install -r requirements.txt
  3. Run ./update-blocklists to download some blocklists
  4. Run ./go to start the proxy server on port 8118 (or run ./go -c for a curses interface which lets you inspect the requests/responses, or run ./go -d to dump all flows to the 'flows/' directory)
  5. Do a quick test to make sure it's working: curl --proxy localhost:8118 -L -k https://slashdot.org/
  6. Setup your browser/phone to use localhost:8118 or lan-ip-address:8118 as an HTTP proxy server; then, visit http://mitm.it on that device to install the MITM SSL certificate so that your machine won't throw security warnings whenever the proxy server intercepts your secure connections.
  7. If you'd like to change any of the mitmproxy settings (like port, and where/whether it logs your connections), edit the go script.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published