crawl

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Go

func Go(options Options) (results []string)

Types

type Options

type Options struct {
	Domain    *string // target domain
	Whitelist *string // domains to be whitelisted (Comma separated)
	Ext       *string // filter results on url extension
	UserAgent *string // the user agent
	Outfile   *string // file to write results
	Regexp    *string // regular expression to match against domains
	Parallels *int    // max parallels (default: 10)
	Depth     *int    // maximum depth to crawl
	Delay     *int    // seconds to wait before creating a new request to the matching domains
	Delay2    *int    // seconds to be randomized prior to each new request
	Async     *bool   // asynchronous network request
	JSON      *bool   // write to file as JSON
	Silent    *bool   // suppress output from console
	Version   *bool   // print version
	Help      *bool   // print help
}

Jump to

Keyboard shortcuts

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