Skip to content

建议:升级到Go 1.22+并刷新依赖 #179

Description

@hmkklol

你好 @lcvvvv

kscan的go.mod目前锁定在Go 1.18,且多个间接依赖已经过时。建议进行一次全面的依赖升级:

具体工作:

  1. 升级Go版本到1.22或更高
  2. 运行go get -u ./...更新所有依赖
  3. 修复因API变更导致的编译错误
  4. 在CI中加入govulncheck扫描
  5. 迁移到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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions