providers

package
v4.0.0-...-5478ead Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Version = `2.1.2`

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Threads           uint
	Timeout           uint
	Verbose           bool
	MaxRetries        uint
	IncludeSubdomains bool
	RemoveParameters  bool
	Client            *fasthttp.Client
	Providers         []string
	Blacklist         map[string]struct{}
	Output            string
	JSON              bool
	URLScan           URLScan
	OTX               string
}

type Filters

type Filters struct {
	From              string   `mapstructure:"from"`
	To                string   `mapstructure:"to"`
	MatchStatusCodes  []string `mapstructure:"matchstatuscodes"`
	MatchMimeTypes    []string `mapstructure:"matchmimetypes"`
	FilterStatusCodes []string `mapstructure:"filterstatuscodes"`
	FilterMimeTypes   []string `mapstructure:"filtermimetypes"`
}

func (*Filters) GetParameters

func (f *Filters) GetParameters(forWayback bool) string

type Provider

type Provider interface {
	Fetch(ctx context.Context, domain string, results chan string) error
	Name() string
}

Provider is a generic interface for all archive fetchers

type URLScan

type URLScan struct {
	Host   string
	APIKey string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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