scan

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PerFilePlugins = make(map[string]Addon)

PerFilePlugins 每个链接要测试的插件

View Source
var PerFolderPlugins = make(map[string]Addon)

PerFolderPlugins 每个目录要测试的插件

View Source
var PerServerPlugins = make(map[string]Addon)

PerServerPlugins 每个网站只测试一次的插件

Functions

This section is empty.

Types

type Addon

type Addon interface {
	Scan(target string, path string, in *input.CrawlResult, client *httpx.Client) // 扫描, target\path 扫描目标单独传入,不从 in 中获取,这样就不用修改 in 中的 url 导致出现错误
	IsScanned(uniqueId string) bool                                               // 是否已经扫描过
	Name() string                                                                 // 插件名称
}

Addon 插件接口

Jump to

Keyboard shortcuts

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