A Man-In-The-Middle proxy server in Kotlin.
-
Launch mitmproxy server
cd docker && docker-compose up -d --build
-
Launch emulator
./emulator.sh
-
Check metrics
Open http://localhost:3000 to check Grafana dashboard
The recorded flows can be discovered from /api/flow.
val service: MappingService by context
// ...
service.mapToLocal(from, to)
val service: MappingService by context
// ...
service.mapToRemote(from, to)
Open http://localhost:8080/ssl to download the CA certificates
Please refer to https://docs.mitmproxy.org/stable/howto-install-system-trusted-ca-android/