Skip to content

Conversation

@wuchulonly
Copy link

修复内容

1. pkg/templates.go

  • files.UnFlateencode.MustDeflateDeCompress
  • parsers.Base64Decodeencode.Base64Decode

2. pkg/load.go

  • 移除已弃用的 FingerPrintHub().FingerPrints 访问
  • 新版 fingers 已移除此字段

3. core/baseline/baseline.go

  • Favicon().Match()Favicon().WebMatch()
  • 新 API 返回 common.Frameworks 而非单个 *common.Framework

4. core/finger.go

  • resources.Fingerprinthubdataresources.FingerprinthubWebData

5. core/runner.go & core/option.go

  • 导出 OutputChOutWg 字段供 SDK 访问

原因

上游 chainreactors/fingerschainreactors/parsers 库进行了 API 重构,spray 需要适配这些变更才能正常编译和使用。

- pkg/templates.go: files.UnFlate -> encode.MustDeflateDeCompress
- pkg/templates.go: parsers.Base64Decode -> encode.Base64Decode
- pkg/load.go: 移除已废弃的 FingerPrintHub().FingerPrints 调用
- core/baseline/baseline.go: Favicon().Match() -> Favicon().WebMatch()
- core/finger.go: resources.Fingerprinthubdata -> resources.FingerprinthubWebData
- core/runner.go: 导出 OutputCh 和 OutWg 字段供外部使用
- go.mod: 更新依赖到新版本
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant