Initial commit: Anthropic API and MITM proxy to WaybackProxy

This commit is contained in:
2026-03-18 01:27:44 -04:00
commit 8390c34d30
14 changed files with 1360 additions and 0 deletions

15
mitm/entrypoint.sh Normal file
View File

@@ -0,0 +1,15 @@
#!/bin/sh
set -e
# Ensure cert directories exist and are writable
mkdir -p /home/mitmproxy/.mitmproxy
echo "Cert directory ready: $(ls -la /home/mitmproxy/)"
echo "Starting mitmproxy with time-travel addon..."
exec mitmdump \
--listen-host 0.0.0.0 \
--listen-port 8080 \
--set confdir=/home/mitmproxy/.mitmproxy \
--set ssl_insecure=true \
-s /opt/addon.py \
--showhost