• Stars
    star
    167
  • Rank 226,635 (Top 5 %)
  • Language
    Python
  • License
    Other
  • Created over 9 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A fast adblocking proxy server (which works on HTTPS connections)

MITM Adblock

An adblocker that runs as a proxy server! (And works on HTTPS connections.)

Use this to block ads on your mobile device, or just monitor its traffic.

Installation

  1. Install mitmproxy
  2. Install required python modules:
$ pip install 'Cython>=0.29.19,<1.0'  # for pyre2
$ pip install -r requirements.txt
  1. Run ./update-blocklists to download some blocklists
  2. 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)
  3. Do a quick test to make sure it's working: curl --proxy localhost:8118 -L -k https://slashdot.org/
  4. 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.

If you'd like to change any of the mitmproxy settings (like port, and where/whether it logs your connections), edit the go script.

More Repositories

1

redmine_ultraviolet

Advanced syntax highlighting for Redmine source code repositories (using Ultraviolet, which is based on Textmate syntax files).
Ruby
61
star
2

upm

Universal Package Manager
Ruby
51
star
3

scripts

Scripts; handy.
Shell
42
star
4

epitools

My extensions to the Ruby Standard Library.
Ruby
32
star
5

delicious-cli

Lets you locally mirror your delicious.com links, and quickly search them (with pretty colour-coded results).
Ruby
22
star
6

pdyndns

PowerDynDNS :: A DynDNS clone (web application and DNS server) backed by PowerDNS.
CSS
19
star
7

webcam-rng

A random number generator that uses your webcam's CCD noise as an entropy source.
Python
10
star
8

markovchat

If you train this library on a bunch of sentences, it can generate statistically likely sentences. (ie: 2-word context Markov chain.)
Ruby
8
star
9

autoindex

A PHP script that makes directory lists for your listless directories.
PHP
5
star
10

best_errors

better_errors and binding_of_caller: together at last!
Ruby
5
star
11

pookie

An IRC bot for describing URLs (As seen on IRC!)
Ruby
4
star
12

trebek

An IRC Trivia-bot, with an archive of 30 years of Jeopardy questions!
Ruby
4
star
13

ezelf

ezElf: The Music Streaming System
JavaScript
3
star
14

snake

Console-based SNAKE game (with emoji fruit!)
Ruby
3
star
15

Rubeno

Talk to Ruby in Esperanto
Ruby
3
star
16

menumatic

2
star
17

findo

A desktop search tool that just searches filenames and xattr metadata. (More advanced than 'locate', simpler than 'nepomuk'.)
Ruby
2
star
18

sqlsh

A CLI that lets you manipulate SQL databases/tables like a filesystem (eg: ls, mkdir, cp, mv, etc.)
Ruby
2
star
19

ar-backup

A simple Rails plugin that backs up your database to fixtures. (Now 3.1 compatible!)
Ruby
1
star
20

threadchat

JavaScript
1
star
21

nsl

Nonstandard Library
Ruby
1
star
22

cddb

Web-based CD/DVD Database (with JavaScript powers)
JavaScript
1
star
23

dillo

Dillo browser (modded)
C++
1
star
24

html-renderer

HTML
1
star
25

backroom

A simple toy chat client, using Websockets and Sinatra.
HTML
1
star
26

xse

C
1
star
27

synthetic-antibodies

Synthetic Antibodies for treating COVID19
1
star
28

slidemaster9000

HTML
1
star
29

htmlstrip

Strips extraneous tags from an HTML document, leaving only the bare minimum tags necessary to read the document.
Ruby
1
star
30

permissions

A simple Rails permissions system (plugin).
Ruby
1
star