WebScan

package
v0.0.0-...-bf036fd Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidURL    = errors.New(i18n.GetText("webscan_err_invalid_url"))
	ErrEmptyTarget   = errors.New(i18n.GetText("webscan_err_empty_target"))
	ErrPocNotFound   = errors.New(i18n.GetText("webscan_err_poc_not_found"))
	ErrPocLoadFailed = errors.New(i18n.GetText("webscan_err_poc_load_failed"))
)

错误定义

Functions

func InfoCheck

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

InfoCheck 检查URL的指纹信息

func WebScan

func WebScan(ctx context.Context, info *common.HostInfo, cfg *common.Config, session *common.ScanSession)

WebScan 执行Web漏洞扫描

Types

type CheckDatas

type CheckDatas struct {
	Body    []byte                    // 响应体
	Headers string                    // 响应头
	Favicon fingerprint.FaviconHashes // Favicon hash(mmh3 + MD5)
}

CheckDatas 存储HTTP响应的检查数据

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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