你好 @lcvvvv,
kscan的go.mod目前锁定在Go 1.18,且多个间接依赖已经过时。建议进行一次全面的依赖升级:
具体工作:
- 升级Go版本到1.22或更高
- 运行
go get -u ./...更新所有依赖
- 修复因API变更导致的编译错误
- 在CI中加入
govulncheck扫描
- 迁移到
golang.org/x/net的最新稳定版本
需要注意的点:
github.com/lcvvvv/pool等本地替换依赖需要同步更新
golang.org/x/text的编码API可能有变化
- 测试所有主要功能(扫描、指纹、爆破)
升级后可以获得:
- 更好的性能和内存管理
- 安全漏洞修复
- 新语言特性(如泛型改进、
slices/maps标准库)
如果精力有限,这也是社区PR可以很好贡献的方向。
[English Translation / 英文摘要]
Hi maintainers, this issue is a feature / architecture / security suggestion for 03_kscan.
The Chinese text above contains the detailed proposal with technical context and implementation ideas.
In summary: we are requesting the enhancement described above and would be happy to provide PRs or further discussion in either Chinese or English.
Thank you for the excellent work on this project!
你好 @lcvvvv,
kscan的
go.mod目前锁定在Go 1.18,且多个间接依赖已经过时。建议进行一次全面的依赖升级:具体工作:
go get -u ./...更新所有依赖govulncheck扫描golang.org/x/net的最新稳定版本需要注意的点:
github.com/lcvvvv/pool等本地替换依赖需要同步更新golang.org/x/text的编码API可能有变化升级后可以获得:
slices/maps标准库)如果精力有限,这也是社区PR可以很好贡献的方向。
[English Translation / 英文摘要]
Hi maintainers, this issue is a feature / architecture / security suggestion for 03_kscan.
The Chinese text above contains the detailed proposal with technical context and implementation ideas.
In summary: we are requesting the enhancement described above and would be happy to provide PRs or further discussion in either Chinese or English.
Thank you for the excellent work on this project!