Good Man in the Middle
Use MITM technology to provide features like rewrite
, redirect
.
Usage
Certificate Preparation
For MITM functionality, it is required that you trust the self-signed root certificate.
Generate your own root certificate
For security reasons, you need to generate your own root certificate.
good-mitm.exe genca
Trust your root certificate
You need to trust the root certificate just generated, either by adding trust in your browser or in your operating system's root certificate list, as you wish.
good-MITM
Use the proxy provided by Adding http
and https
proxies to the browser, http://127.0.0.1:34567
if not modified.
Test Demo Rules
Now I add two demo websites, removing ADs using good-MITM rewrite
feature.
You should use the demo rule file, good-mitm.exe -k private.key -c cert.crt -r ads.yaml
See the effect by comparing the content(ads) with and without using good-MITM
.
Thanks
- hudsucker: a Rust crate providing MITM features
License
MIT License
Copyright (c) 2021 zu1k