{"id":13775778,"url":"https://github.com/netxfly/x-proxy","last_synced_at":"2025-10-07T08:07:59.380Z","repository":{"id":57752348,"uuid":"183625835","full_name":"netxfly/x-proxy","owner":"netxfly","description":"honeypot proxy","archived":false,"fork":false,"pushed_at":"2019-08-01T12:23:33.000Z","size":13500,"stargazers_count":109,"open_issues_count":1,"forks_count":43,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-31T11:37:22.451Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/netxfly.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}},"created_at":"2019-04-26T12:36:44.000Z","updated_at":"2025-01-03T21:52:47.000Z","dependencies_parsed_at":"2022-08-30T23:50:21.605Z","dependency_job_id":null,"html_url":"https://github.com/netxfly/x-proxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/netxfly/x-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netxfly%2Fx-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netxfly%2Fx-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netxfly%2Fx-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netxfly%2Fx-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netxfly","download_url":"https://codeload.github.com/netxfly/x-proxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netxfly%2Fx-proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278740839,"owners_count":26037481,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-08-03T17:01:49.498Z","updated_at":"2025-10-07T08:07:59.326Z","avatar_url":"https://github.com/netxfly.png","language":"Go","funding_links":[],"categories":["\u003ca id=\"d03d494700077f6a65092985c06bf8e8\"\u003e\u003c/a\u003e工具","\u003ca id=\"a53d22b9c5d09dc894413453f4755658\"\u003e\u003c/a\u003e未分类"],"sub_categories":["\u003ca id=\"0ff94312f3ab4898f5996725133ea9d1\"\u003e\u003c/a\u003e未分类"],"readme":"## 代理蜜罐的开发与应用实战\n\n**QQ交流群：116070598**\n\n本仓库为『代理蜜罐的开发与应用实战』的配套代码，原文地址：\n\n- [freebuf](https://www.freebuf.com/articles/network/202310.html) \n- [知乎专栏](https://zhuanlan.zhihu.com/p/64084802)\n- [Blog](http://sec.lu/2019/4/12/x-proxy.html)\n\n\n### 代理蜜罐架构\n\n![](http://docs.xsec.io/images/x-proxy//proxy_honeypot.png)\n\n- 代理蜜罐Agent，提供代理服务，收集http请求与响应数据并发送到server集群\n- 代理蜜罐Server（支持水平扩展），接收Agent传来的数据，对数据简单判断后入库\n- 后端数据库（mongodb），存储代理蜜罐的数据\n- 数据分析程序，对存数的数据进行加工处理，方便管理端展示\n- 管理端，查看收集到的数据与数据分析结果\n\n`server`与`manager`的运行依赖`mongodb`，可通过以下命令创建一个用户供`server`与`manager`使用：\n\n```shell\ndb.createUser(\n... {\n...  user : \"xproxy\",\n...  pwd : \"xsec.io\",\n...  roles: [ { role : \"readWrite\", db : \"xproxy\" }]\n... }\n... )\n```\n\n管理端初次启动会添加一个默认用户，用户名为：`xproxy`，密码为：`x@xsec.io`\n\n\n## 附录\n\n### 参考资料\n\n- [Is NordVPN a Honeypot?](http://vpnscam.com/is-nordvpn-a-honeypot/)\n- [基于vpn和透明代理的web漏洞扫描器的实现思路及demo](https://github.com/netxfly/Transparent-Proxy-Scanner)\n\n### Go语言学习资料\n\n- [在2019成为一名Go开发者的路线图](https://github.com/Quorafind/golang-developer-roadmap-cn)\n- [Go入门指南](https://github.com/Unknwon/the-way-to-go_ZH_CN)\n- [Go WEB编程](https://github.com/astaxie/build-web-application-with-golang)\n- [Go语言高级编程](https://github.com/chai2010/advanced-go-programming-book)\n- [Go 语言学习资料与社区索引](https://github.com/Unknwon/go-study-index)\n- [Go学习之路](https://github.com/developer-learning/learning-golang)\n- [Go 101](https://gfw.go101.org/article/101.html)\n\n### 用到的库与框架\n\n- [goproxy](https://github.com/elazarl/goproxy)\n- [cli](github.com/urfave/cli)\n- [logrus](github.com/sirupsen/logrus)\n- [macaron](https://github.com/go-macaron/macaron)\n- [xorm](github.com/go-xorm/xorm)\n- [upper.io](upper.io/db.v3)\n- [mgo](gopkg.in/mgo.v2)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetxfly%2Fx-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetxfly%2Fx-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetxfly%2Fx-proxy/lists"}