An open API service indexing awesome lists of open source software.

https://github.com/johnsonlee/mitmproxy

A Man-In-The-Middle proxy server in Kotlin
https://github.com/johnsonlee/mitmproxy

kotlin mitmproxy

Last synced: about 1 month ago
JSON representation

A Man-In-The-Middle proxy server in Kotlin

Awesome Lists containing this project

README

          

# mitmproxy

A Man-In-The-Middle proxy server in Kotlin.

## Getting Started

1. Launch mitmproxy server

```bash
cd docker && docker-compose up -d --build
```

1. Launch emulator

```bash
./emulator.sh
```

1. Check metrics

Open [http://localhost:3000](http://localhost:3000) to check Grafana dashboard

## Features

### Traffic Recording

The recorded flows can be discovered from [/api/flow](http://localhost:8080/api/flow/).

### Map To Local

```kotlin
val service: MappingService by context
// ...
service.mapToLocal(from, to)
```

### Map To Remote

```kotlin
val service: MappingService by context
// ...
service.mapToRemote(from, to)
```

## Download CA Certificates

Open [http://localhost:8080/ssl](http://localhost:8080/ssl) to download the CA certificates

## Install CA Certificates on Android Emulator

Please refer to https://docs.mitmproxy.org/stable/howto-install-system-trusted-ca-android/