config

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SpiderCfg

type SpiderCfg struct {
	Site               string   `yaml:"site"`
	Sites              string   `yaml:"sites"`
	Proxy              string   `yaml:"proxy"`
	Output             string   `yaml:"output"`
	UserAgent          string   `yaml:"user-agent"`
	Cookie             string   `yaml:"cookie"`
	Header             []string `yaml:"header"`
	Burp               string   `yaml:"burp"`
	Blacklist          string   `yaml:"blacklist"`
	Whitelist          string   `yaml:"whitelist"`
	WhitelistDomain    string   `yaml:"whitelist-domain"`
	FilterLength       string   `yaml:"filter-length"`
	Threads            int      `yaml:"threads"`
	Concurrent         int      `yaml:"concurrent"`
	Depth              int      `yaml:"depth"`
	Delay              int      `yaml:"delay"`
	RandomDelay        int      `yaml:"random-delay"`
	Timeout            int      `yaml:"timeout"`
	Base               bool     `yaml:"B"`
	Sitemap            bool     `yaml:"sitemap"`
	Robots             bool     `yaml:"robots"`
	OtherSource        bool     `yaml:"other-source"`
	IncludeSubs        bool     `yaml:"include-subs"`
	IncludeOtherSource bool     `yaml:"include-other-source"`
	Subs               bool     `yaml:"subs"`
	Js                 bool     `yaml:"js"`
	Debug              bool     `yaml:"true"`
	Json               bool     `yaml:"json"`
	Verbose            bool     `yaml:"verbose"`
	Quiet              bool     `yaml:"quiet"`
	NoRedirect         bool     `yaml:"no-redirect"`
	Version            bool     `yaml:"version"`
	Length             bool     `yaml:"length"`
	Raw                bool     `yaml:"raw"`
	TrackerLength      int      `yaml:"tracker-length"`
	BlacklistAfter     int      `yaml:"blacklist-after"`
}

func LoadSpiderCfg

func LoadSpiderCfg(yaml_file string) (*SpiderCfg, error)

Jump to

Keyboard shortcuts

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