{"id":13814039,"url":"https://github.com/zboya/gomitmproxy","last_synced_at":"2026-01-12T00:37:58.939Z","repository":{"id":98118821,"uuid":"61183225","full_name":"zboya/gomitmproxy","owner":"zboya","description":"gomitmproxy是想用golang语言实现[mitmproxy]，实现http(s)代理","archived":false,"fork":false,"pushed_at":"2018-03-29T07:35:08.000Z","size":1559,"stargazers_count":392,"open_issues_count":4,"forks_count":105,"subscribers_count":29,"default_branch":"master","last_synced_at":"2024-11-19T09:46:42.672Z","etag":null,"topics":["go","golang","mitmproxy","proxy"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zboya.png","metadata":{"files":{"readme":"readme.md","changelog":null,"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}},"created_at":"2016-06-15T06:31:39.000Z","updated_at":"2024-10-25T15:48:55.000Z","dependencies_parsed_at":"2023-06-18T07:45:42.261Z","dependency_job_id":null,"html_url":"https://github.com/zboya/gomitmproxy","commit_stats":null,"previous_names":["sheepbao/gomitmproxy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zboya%2Fgomitmproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zboya%2Fgomitmproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zboya%2Fgomitmproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zboya%2Fgomitmproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zboya","download_url":"https://codeload.github.com/zboya/gomitmproxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254266406,"owners_count":22042103,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["go","golang","mitmproxy","proxy"],"created_at":"2024-08-04T04:01:40.933Z","updated_at":"2026-01-12T00:37:58.914Z","avatar_url":"https://github.com/zboya.png","language":"Go","readme":"# gomitmproxy\n\ngomitmproxy是想用golang语言实现的[mitmproxy](https://mitmproxy.org/)，主要实现http代理，目前实现了http代理和https抓包功能，差距甚远，加油。\n\n\n## 可以用来干嘛？\n\n* http代理\n* http和https抓包\n* 科学上网\n\n## 将来要实现的功能\n\n* 修改http(s)请求\n* 重复请求\n* 同时监听多端口\n* 支持socks5、websocket等协议\n* 界面支持终端和网页两种形式\n\n## 安装使用\n\n```bash\n    git clone https://github.com/sheepbao/gomitmproxy.git\n    cd gomitmproxy \n    ./build.sh \n```\n\n## 例子\n\n* http代理\n\n```bash\ngomitmproxy \n```\n不带任何参数，表示http代理，默认端口8080,更改端口用 -port \n\n* http抓包\n\n```bash\ngomitmproxy -m \n```\n\n![fetch http](https://raw.githubusercontent.com/sheepbao/gomitmproxy/master/doc/goproxy.png)\n\n加 -m 参数，表示抓取http请求和响应\n\n* http代理科学上网\n\n    首先你得有个墙外的服务器，如阿里香港的服务器，为图中的Server，假设其ip地址为：22.222.222.222\n\n```bash\n在Server执行:\n    gomitmproxy -port 8888\n```\n\n```bash\n在你自己电脑执行:\n    gomitmproxy -port 8080 -raddr 22.222.222.222:8888\n```\n然后浏览器设置代理，ip为localhost，端口为8080,即可实现科学上网\n\n![proxy](https://raw.githubusercontent.com/sheepbao/gomitmproxy/master/doc/proxy.png) \n\n## 最后\n\n欢迎star和fork，一起学习交流。\n## License\n\nThe 3-clause BSD License  \n- see LICENSE for more details\n","funding_links":[],"categories":["Go","\u003ca id=\"b4959a15647a6dcf79901f76655d0ca8\"\u003e\u003c/a\u003emitmproxy"],"sub_categories":["\u003ca id=\"3bd67ee9f322e2c85854991c85ed6da0\"\u003e\u003c/a\u003e投毒\u0026\u0026Poisoning"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzboya%2Fgomitmproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzboya%2Fgomitmproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzboya%2Fgomitmproxy/lists"}