WebScan

package
v0.0.0-...-37904df Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidURL    = errors.New("invalid URL format")
	ErrEmptyTarget   = errors.New("target URL is empty")
	ErrPocNotFound   = errors.New("no matching POC found")
	ErrPocLoadFailed = errors.New("POC load failed")
)

错误定义

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