brute

package
v0.0.0-...-72c2bb7 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildSubDomainList

func BuildSubDomainList(list, custom []string) []string

BuildSubDomainList merges the base list with any custom domains in the scan group config

func MutateNumber

func MutateNumber(number, amount int) []string

func NumberMutation

func NumberMutation(in string) []string

NumberMutation finds and mutates all numbers +/- 5 and returns the subdomain without any numbers (so it can be used in unique checks)

func UnmutateNumber

func UnmutateNumber(in string) string

UnmutateNumber removes all numbers and returns it so we can do uniqueness checks

Types

type Bruter

type Bruter struct {
	// contains filtered or unexported fields
}

Bruter will brute force and mutate subdomains to attempt to find additional hosts

func New

func New(dc *dnsclient.Client, st state.Stater) *Bruter

New brute force module

func (*Bruter) Analyze

func (b *Bruter) Analyze(ctx context.Context, userContext am.UserContext, address *am.ScanGroupAddress) (*am.ScanGroupAddress, map[string]*am.ScanGroupAddress, error)

Analyze will attempt to find additional domains by brute forcing hosts. Note that while we will not brute force past max depth, we *will* attempt to mutate hosts past max depth.

func (*Bruter) Init

func (b *Bruter) Init(bruteFile io.Reader) error

Init the brute forcer with the initial input subdomain list

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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