web

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReloadRules

func ReloadRules() error

ReloadRules 重新加载指纹库规则 (兼容旧版API)

func ReloadWebRules

func ReloadWebRules() error

ReloadWebRules 重新加载Web指纹库规则

func ShouldScan

func ShouldScan(service string) bool

ShouldScan 判断是否应该进行Web扫描

Types

type ScanResult

type ScanResult struct {
	URL        string
	Components map[string]map[string]string
	Error      error
	Banner     *fetch.Banner
}

ScanResult Web扫描结果

type Scanner

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

Scanner Web应用指纹扫描器

func NewScanner

func NewScanner(options *types.Options) (*Scanner, error)

NewScanner 创建新的Web扫描器

func (*Scanner) ScanWithContext

func (s *Scanner) ScanWithContext(ctx context.Context, url string) (*ScanResult, error)

ScanWithContext 带上下文的Web扫描

Jump to

Keyboard shortcuts

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