lachlanharrisdev/gonetsim

GitHub: lachlanharrisdev/gonetsim

GoNetSim 是 INetSim 的现代Go语言实现,用于在受控环境中模拟常见互联网服务(如DNS、HTTP、HTTPS),适用于恶意软件分析和安全研究。

Stars: 0 | Forks: 0

GoNetSim

Go 网络模拟器。作为 inetsim 项目的精神继承者(非官方),提供了一套在受控环境中模拟常见互联网服务的工具。 探索文档 »

[![GitHub 仓库星标](https://img.shields.io/github/stars/lachlanharrisdev/gonetsim?style=social)](https://github.com/lachlanharrisdev/gonetsim/stargazers) [![GitHub](https://img.shields.io/github/license/lachlanharrisdev/gonetsim)](https://github.com/lachlanharrisdev/gonetsim/?tab=Apache-2.0-1-ov-file) [![GitHub go.mod Go 版本](https://img.shields.io/github/go-mod/go-version/lachlanharrisdev/gonetsim)](https://github.com/lachlanharrisdev/gonetsim/) [![GitHub CI 状态](https://img.shields.io/github/actions/workflow/status/lachlanharrisdev/gonetsim/ci.yaml?branch=main&label=CI)](https://github.com/lachlanharrisdev/gonetsim/actions)
[![GitHub 发布状态](https://img.shields.io/github/v/release/lachlanharrisdev/gonetsim)](https://github.com/lachlanharrisdev/gonetsim/releases/latest) [![Go 报告卡](https://goreportcard.com/badge/github.com/lachlanharrisdev/gonetsim)](https://goreportcard.com/report/github.com/lachlanharrisdev/gonetsim)

贡献 · 报告 Bug · 请求功能

## 使用方法 ### 安装 安装说明可在[此处](https://gonetsim.lachlanharris.dev/guides/installation)找到。 ### 快速开始 运行 `gonetsim` 会根据默认配置文件启动所有服务 ``` gonetsim ``` 或者,您可以指定要运行的单个服务 ``` gonetsim dns gonetsim http gonetsim https ```
## 配置 GoNetSim 使用 TOML 配置文件进行大部分配置,而不是强制记忆许多命令行参数。 首次运行时,如果没有找到配置文件,GoNetSim 会在 `$XDG_CONFIG_HOME/gonetsim/config.toml` 生成一个带注释的默认配置文件并使用它。 默认搜索位置: - `/etc/gonetsim/gonetsim.toml` - `$XDG_CONFIG_HOME/gonetsim/config.toml`(通常为 `~/.config/gonetsim/config.toml`) - `./gonetsim.toml` 要使用特定的配置文件: ``` gonetsim --config /path/to/gonetsim.toml ``` 有关配置的更多信息,请参阅[配置参考](https://gonetsim.lachlanharris.dev/references/configuration)
## Docker `docker/` 中有一个轻量级的无发行版容器设置。如果您需要长时间运行,或者您的系统与提供的二进制文件不兼容,这是推荐的安装方法。 完整的参考指南请参阅 [Docker 指南](https://gonetsim.lachlanharris.dev/guide/docker)
## 贡献 GoNetSim 遵循大多数标准的贡献约定,欢迎任何贡献,包括文档改进、bug 分类/修复、小功能或[待处理问题](https://github.com/lachlanharrisdev/gonetsim/issues?q=is%3Aissue)的任何更新。有关贡献的更多信息,请参阅 [CONTRIBUTING.md](https://github.com/lachlanharrisdev/gonetsim/blob/main/.github/CONTRIBUTING.md)。 ### Codespaces GoNetSim 完全支持 GitHub Codespaces。建议用于小型更改或没有开发环境的设备。您可以使用下面的按钮在基于 Web 的编辑器中打开仓库并开始使用。 [![在 GitHub Codespaces 中打开](https://static.pigsec.cn/wp-content/uploads/repos/2026/04/adc3c9d30f120206.svg)](https://codespaces.new/lachlanharrisdev/gonetsim?quickstart=1) ### 开发容器 我们还完全支持 Dev Containers。这些提供可重现的开发环境,自动隔离项目并安装官方支持的工具链。 点击下面的按钮将在本地机器上打开 VS Code,克隆此仓库并自动在开发容器中打开它。 [![在开发容器中打开](https://img.shields.io/badge/Open%20In%20Dev%20Container-0078D4?style=for-the-badge&logo=visual%20studio%20code&logoColor=white)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/lachlanharrisdev/gonetsim) ### 本地开发 有关本地开发,请参阅 [CONTRIBUTING.md](https://github.com/lachlanharrisdev/gonetsim/blob/main/.github/CONTRIBUTING.md)。同样,我们遵循大多数约定,因此本地开发涉及标准的 fork-PR-merge 流程。

标签:DAST, DNS枚举, EVTX分析, Go语言, honeypot, INetSim替代品, network-simulator, Python安全, sandbox, 二进制发布, 互联网服务模拟, 底层分析, 开源工具, 恶意软件分析, 日志审计, 沙箱, 程序破解, 网络安全工具, 网络模拟器, 网络流量分析, 蜜罐, 证书利用, 请求拦截