WebScan

package
v0.0.0-...-03b21f9 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2025 License: MIT Imports: 16 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidURL    = errors.New("无效的URL格式")
	ErrEmptyTarget   = errors.New("目标URL为空")
	ErrPocNotFound   = errors.New("未找到匹配的POC")
	ErrPocLoadFailed = errors.New("POC加载失败")
)

错误定义

Functions

func CalcMd5

func CalcMd5(Body []byte) (bool, string)

CalcMd5 计算内容的MD5并与指纹库比对

func InfoCheck

func InfoCheck(Url string, CheckData *[]CheckDatas) []string

InfoCheck 检查URL的指纹信息

func WebScan

func WebScan(info *Common.HostInfo)

WebScan 执行Web漏洞扫描

Types

type CheckDatas

type CheckDatas struct {
	Body    []byte // 响应体
	Headers string // 响应头
}

CheckDatas 存储HTTP响应的检查数据

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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