- mitmproxy/auth.py: Basic Auth addon - mitmproxy/start.sh: Startup script - mitmproxy/mitmproxy.conf: Configuration - mitmproxy.service: systemd service - scripts/view_flows.py: Log viewer for Claw - mitmproxy/INSTALL.md: Full installation guide Features: - HTTP Basic Auth (claw / KworkParser2026!) - Captures traffic from phone - Logs saved to flows.mitm - Easy log viewing for AI analysis
35 lines
714 B
Plaintext
35 lines
714 B
Plaintext
# mitmproxy configuration
|
|
|
|
# Authentication
|
|
auth_user = "claw"
|
|
auth_pass = "KworkParser2026!"
|
|
|
|
# Network
|
|
mode = "regular"
|
|
listen_port = 8080
|
|
listen_host = "0.0.0.0"
|
|
|
|
# SSL
|
|
ssl_insecure = false
|
|
add_upstream_certs_to_client_chain = true
|
|
|
|
# Logging
|
|
verbose = true
|
|
termlog_verbosity = "info"
|
|
|
|
# Save flows
|
|
save_stream_file = "/root/kwork-parser/mitmproxy/flows.mitm"
|
|
|
|
# Ignore common CDNs and analytics (reduce noise)
|
|
ignore_hosts = [
|
|
"~u cdn.*\\.google\\.com",
|
|
"~u .*\\.google-analytics\\.com",
|
|
"~u .*\\.yandex\\.ru",
|
|
"~u .*\\.yandex\\.net",
|
|
"~u .*\\.facebook\\.com",
|
|
]
|
|
|
|
# Keep only Kwork and related domains
|
|
# Uncomment to filter strictly:
|
|
# filter = "~u (kwork\\.ru|kworks\\.ru|kwork-api\\.ru)"
|