https://github.com/dmironenko/mitm-proxy
simple mitm proxy that checks requests for command injection attack
https://github.com/dmironenko/mitm-proxy
http https mitm proxy tls
Last synced: 30 days ago
JSON representation
simple mitm proxy that checks requests for command injection attack
- Host: GitHub
- URL: https://github.com/dmironenko/mitm-proxy
- Owner: dmironenko
- Created: 2025-03-29T19:47:31.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2026-05-20T15:18:30.000Z (about 1 month ago)
- Last Synced: 2026-05-20T20:21:39.307Z (about 1 month ago)
- Topics: http, https, mitm, proxy, tls
- Language: Verilog
- Homepage:
- Size: 60.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# MITM Proxy
## Getting Started
1. Запуск прокси на порту `8080`
```sh
./start.sh
```
2. Отправить **http** запрос через прокси
```sh
curl -x http://localhost:8080 http://mail.ru
```
3. Отправить **https** запрос через прокси. Сертификат для домена `mail.ru`уже сгенерирован и нахожится в [/certs/hosts](/certs/hosts). Сертификаты для других доменов генерируются автоматически
```sh
curl --cacert certs/ca.crt -x http://localhost:8080 https://mail.ru
```
4. Отправить запрос к api серверу
- получить список запросов
```sh
curl localhost:8000/requests -vv
```
- получить запрос
```sh
curl localhost:8000/request/$request_id -vv
```
- повторить запрос
```sh
curl -X POST localhost:8000/repeat/$request_id -vv
```
- просканировать запрос на наличие command injection атаки
```sh
curl -X POST localhost:8000/scan/$request_id -vv
```