task

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: AGPL-3.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Active

func Active(target string) []string

Active 主动扫描 调用爬虫扫描, 只会输入一个域名

func Passive

func Passive()

Types

type Task

type Task struct {
	TaskId        string
	Target        string
	Fingerprints  []string
	PassiveResult string // todo 被动代理模式,需要考虑到重复数据的问题,防止重复发payload
	Parallelism   int    // 一个网站同时扫描的最大 url 个数
	// contains filtered or unexported fields
}

func (*Task) Crawler

func (t *Task) Crawler(waf []string) ([]string, []string)

Crawler 运行爬虫

func (*Task) Distribution

func (t *Task) Distribution(crawlResult *input.CrawlResult)

Distribution 对爬虫结果或者被动发现结果进行任务分发

Jump to

Keyboard shortcuts

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