{"id":42968400,"url":"https://github.com/eugene-ivanov-hash/mitm-proxy","last_synced_at":"2026-01-31T00:17:22.399Z","repository":{"id":288323274,"uuid":"965095975","full_name":"eugene-ivanov-hash/mitm-proxy","owner":"eugene-ivanov-hash","description":"A lightweight MITM proxy in Go for intercepting and modifying HTTP/HTTPS traffic. Features WebSocket support, dynamic TLS certificates, and rule-based traffic modification. Perfect for debugging and testing web applications.","archived":false,"fork":false,"pushed_at":"2025-06-03T19:52:57.000Z","size":38,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T04:29:46.138Z","etag":null,"topics":["debugging-tools","developer-tools","golang","http-proxy","https-proxy","mitm-proxy","network-tools","proxy-server"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eugene-ivanov-hash.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-12T12:01:10.000Z","updated_at":"2025-06-03T19:52:24.000Z","dependencies_parsed_at":"2025-04-17T07:03:53.484Z","dependency_job_id":"1b6a7f72-27b1-4afb-b58e-3c8f7ea79ce6","html_url":"https://github.com/eugene-ivanov-hash/mitm-proxy","commit_stats":null,"previous_names":["eugene-ivanov-hash/mitm-proxy"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/eugene-ivanov-hash/mitm-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugene-ivanov-hash%2Fmitm-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugene-ivanov-hash%2Fmitm-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugene-ivanov-hash%2Fmitm-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugene-ivanov-hash%2Fmitm-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eugene-ivanov-hash","download_url":"https://codeload.github.com/eugene-ivanov-hash/mitm-proxy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugene-ivanov-hash%2Fmitm-proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28924225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T22:32:35.345Z","status":"ssl_error","status_checked_at":"2026-01-30T22:32:31.927Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["debugging-tools","developer-tools","golang","http-proxy","https-proxy","mitm-proxy","network-tools","proxy-server"],"created_at":"2026-01-31T00:17:21.788Z","updated_at":"2026-01-31T00:17:22.383Z","avatar_url":"https://github.com/eugene-ivanov-hash.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MITM Proxy\n\nA powerful Man-In-The-Middle proxy utility for intercepting, inspecting, and modifying HTTP/HTTPS traffic.\n\n## Features\n\n- Intercepts and modifies both HTTP and HTTPS traffic\n- Dynamic TLS certificate generation for HTTPS connections\n- Rule-based system for conditional traffic modification\n- Support for custom Go scripts to modify requests and responses\n- WebSocket connection handling\n- Environment variable integration\n\n## Quick Start\n\n### Prerequisites\n\n- Go 1.18 or higher\n- OpenSSL (for generating CA certificates)\n\n### Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/eugene-ivanov-hash/mitm-proxy.git\n   cd mitm-proxy\n   ```\n\n2. Generate CA certificate and key:\n   ```bash\n   openssl genrsa -out ca.key 2048\n   openssl req -new -x509 -days 3650 -key ca.key -out ca.crt -subj \"/CN=MITM Proxy CA\"\n   ```\n\n3. Build the application:\n   ```bash\n   go build -o mitm-proxy\n   ```\n\n4. Add the CA certificate to your system's trusted certificates (see [Installation Guide](docs/installation.md))\n\n### Usage\n\nStart the proxy:\n```bash\n./mitm-proxy -cacertfile ca.crt -cakeyfile ca.key\n```\n\nConfigure your client to use the proxy (default: `127.0.0.1:9999`).\n\nFor more options:\n```bash\n./mitm-proxy -help\n```\n\n### Creating Rules\n\nRules are defined in YAML files in the `proxy_rules` directory:\n\n```yaml\nenabled: true\nrules:\n  - name: \"Add Custom Header\"\n    enabled: true\n    change: \"request\"\n    rule: \"req.URL.Host == 'example.com'\"\n    action: \"script\"\n    script: |\n      req.Header.Add(\"X-Custom-Header\", \"CustomValue\")\n      return nil\n```\n\n## Documentation\n\nFor detailed documentation, see the [docs](docs/) directory:\n\n- [Overview](docs/overview.md)\n- [Installation Guide](docs/installation.md)\n- [Usage Guide](docs/usage.md)\n- [Rules System](docs/rules.md)\n- [Example Rules](docs/examples.md)\n- [Troubleshooting](docs/troubleshooting.md)\n\n## License\n\nSee the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feugene-ivanov-hash%2Fmitm-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feugene-ivanov-hash%2Fmitm-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feugene-ivanov-hash%2Fmitm-proxy/lists"}