Skip to content

Latest commit

 

History

History
54 lines (45 loc) · 1.4 KB

README.MD

File metadata and controls

54 lines (45 loc) · 1.4 KB

WappalyzerParse

GitHub code size in bytes GitHub go.mod Go version GitHub GitHub tag (latest by date) GitHub top language

描述

该项目是我在小工具中使用到了Wappalyzer的指纹库,并将其抽取出来作为一个简单的指纹识别库. 当前支持直接解析源technologies.json文件,并且输出结构体或者json字符串信息,方便后续的使用.

使用方式

go get github.com/iiiusky/WappalyzerParse

直接获取指纹库结构体

w := &WappalyzerParse{}
w.InitFingerPrintData()
fmt.Println(w.Fingerprints)

输出json字符串

w := &WappalyzerParse{}
w.InitFingerPrintData()
str := w.FormatJson()
fmt.Println(str)

自定义文件路径

w := &WappalyzerParse{
    Filename: "xxx.json",
}
w.InitFingerPrintData()
fmt.Println(w.Fingerprints)

开启错误信息输出

w := &WappalyzerParse{
    IsDebug: true,
}
w.InitFingerPrintData()
fmt.Println(w.Fingerprints)

todo

  • 支持解析
  • 兼容后续的官方指纹库信息