added readme

This commit is contained in:
yoncodes
2025-10-28 21:28:07 -04:00
parent e58fd190b4
commit 1badd8cb4f
2 changed files with 21 additions and 0 deletions

10
README.md Normal file
View File

@@ -0,0 +1,10 @@
## BD2 PS
```bash
run the mitm script
```
## Features
- DB auto creates for new users

11
scripts/prox.py Normal file
View File

@@ -0,0 +1,11 @@
from mitmproxy import http
def request(flow):
# Then handle the redirect for other requests
if flow.request.pretty_host.endswith("pmang.cloud"):
flow.request.host = "127.0.0.1"
flow.request.port = 8443
flow.request.scheme = "https"
flow.request.headers["Host"] = "localhost"