Documentation
¶
Overview ¶
Package preload mlflow漏洞go语言写法
Package preload 漏洞指纹判断golang语言写法
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EvalFpVersion ¶
EvalFpVersion 获取指定指纹的版本信息 通过正则表达式从响应中提取版本号
Types ¶
type FingerPrintFunc ¶
type FingerPrintFunc interface {
Match(httpx *httpx.HTTPX, uri string) bool
GetVersion(httpx *httpx.HTTPX, uri string) (string, error)
Name() string
}
FingerPrintFunc 指纹识别接口 实现此接口可以添加自定义的指纹识别逻辑
type FpResult ¶
type FpResult struct {
Name string `json:"name"`
Version string `json:"version,omitempty"`
Type string `json:"type,omitempty"`
}
FpResult 指纹结构体
type Mlflow ¶
type Mlflow struct {
}
Mlflow struct implements fingerprint detection for MLflow services
func (Mlflow) GetVersion ¶
GetVersion attempts to extract the MLflow version from the service 通过以下步骤获取 MLflow 版本: 1. 获取主页面 2. 提取 JS 文件路径 3. 请求 JS 文件 4. 通过正则表达式匹配版本号
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner 指纹识别运行器 用于执行指纹识别任务
func (*Runner) Deduplication ¶
Deduplication 对指纹识别结果进行去重 如果存在相同名称的指纹,保留版本号不为空的结果
Click to show internal directories.
Click to hide internal directories.