providers

package
v2.2.3 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: MIT Imports: 4 Imported by: 12

Documentation

Index

Constants

View Source
const Version = `2.2.3`

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Threads           uint
	Timeout           uint
	MaxRetries        uint
	IncludeSubdomains bool
	RemoveParameters  bool
	Client            *fasthttp.Client
	Providers         []string
	Blacklist         mapset.Set[string]
	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