wappalyzer

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

  • Package wappalyzer @Author: zhizhuo @IDE:GoLand @File: wappalyzer.go @Date: 2025/4/17 下午1:59*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TypeWappalyzer

type TypeWappalyzer struct {
	WebServers           []string `json:"web_servers"`            //WEB服务器
	ReverseProxies       []string `json:"reverse_proxies"`        //代理服务器
	JavaScriptFrameworks []string `json:"java_script_frameworks"` //JS框架
	JavaScriptLibraries  []string `json:"java_script_libraries"`  //JavaScript库
	WebFrameworks        []string `json:"web_frameworks"`         //WEB框架
	StaticSiteGenerator  []string `json:"static_site_generator"`  //静态站点生成器
	ProgrammingLanguages []string `json:"programming_languages"`  //开发语言
	Caching              []string `json:"caching"`                //站点缓存
	Security             []string `json:"security"`               //站点安全
	HostingPanels        []string `json:"hosting_panels"`         //主机面板
	CMS                  []string `json:"cms"`                    //内容管理系统
	Databases            []string `json:"databases"`              //数据库
	Ecommerce            []string `json:"ecommerce"`              //电商平台
	CDN                  []string `json:"cdn"`                    //内容分发网络
	Analytics            []string `json:"analytics"`              //统计分析
	OperatingSystems     []string `json:"operating_systems"`      //操作系统
	Other                []string `json:"other"`                  //其他未归类组件
}

TypeWappalyzer 存储网站技术栈信息的结构体。 命名字段覆盖高价值分类;其余未命名分类统一归入 Other,确保不丢弃任何识别结果。

type Wappalyzer

type Wappalyzer struct {
	// contains filtered or unexported fields
}

Wappalyzer 技术识别器结构体

func NewWappalyzer

func NewWappalyzer() (*Wappalyzer, error)

NewWappalyzer 返回全局共享的 Wappalyzer 单例 Wappalyzer 内部只做只读匹配,线程安全,无需每次创建新实例

func (*Wappalyzer) FormatData

func (w *Wappalyzer) FormatData(data map[string]wappalyzer.AppInfo) *TypeWappalyzer

FormatData 将 wappalyzer 原始数据格式化为自定义结构。

命名分类映射到对应字段;任何不在命名表中的分类,其技术会归入 Other, 避免像旧实现那样整体丢弃(上游约 87% 的应用分类此前被静默丢弃)。 每个切片在返回前去重并排序,保证同一输入的输出稳定可复现。

func (*Wappalyzer) GetWappalyzer

func (w *Wappalyzer) GetWappalyzer(respHeader map[string][]string, respData []byte) (*TypeWappalyzer, error)

GetWappalyzer 分析HTTP响应头和响应体,识别网站使用的技术栈

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL