利用MITM技术实现请求和返回的重写、重定向、阻断等操作

zu1k 14c4ad58ef chore: Add release action há 3 anos atrás
.github 14c4ad58ef chore: Add release action há 3 anos atrás
build 14c4ad58ef chore: Add release action há 3 anos atrás
core 518159d5fc feat: Cert serial_number rand há 3 anos atrás
docs 8f7c881008 docs: Update modify doc há 3 anos atrás
rules 8324981253 feat: Trust all server cert há 3 anos atrás
src d591df830b feat: New fule format há 3 anos atrás
.gitignore d3e64f2644 Add ca dir há 3 anos atrás
Cargo.lock 3d3776512e deps: update deps há 3 anos atrás
Cargo.toml 8c7ce46662 chore: Update good-mitm-core package info há 3 anos atrás
LICENSE d700467ebc init há 4 anos atrás
Makefile 98d193007f Build for macOS (#29) há 3 anos atrás
README.md 7ee2908e55 chore: Remove useless code há 3 anos atrás
rust-toolchain 91a66de200 chore: Rust edition 2021 há 4 anos atrás
rustfmt.toml e9b13df38a Update hudsucker & fix ca cert gen há 4 anos atrás

README.md

Good Man in the Middle

GitHub stars GitHub forks Release GitHub issues Build GitHub license Docs

利用MITM技术实现请求和返回的重写重定向阻断等操作

使用方法

这里仅介绍最基本的使用流程,具体使用方法和规则请查看文档

证书准备

由于MITM技术的需要,需要你生成并信任自己的根证书

生成根证书

出于安全考虑,请不要随意信任任何陌生人提供的根证书,你需要自己生成属于自己的根证书和私钥

good-mitm.exe genca

上面命令将会生成私钥和证书,文件将存储在ca文件夹下

信任证书

你可以将根证书添加到操作系统或者浏览器的信任区中,根据你的需要自行选择

代理

启动Good-MITM,指定使用的规则文件或目录

good-mitm.exe run -r rules

在浏览器或操作系统中使用Good-MITM提供的http代理:http://127.0.0.1:34567

License

Good-MITM © zu1k, Released under the MIT License.

Blog zu1k.com · GitHub @zu1k · Twitter @zu1k_lv · Telegram Channel @peekfun