fuzzing

package
v0.0.0-...-96ece38 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func FuzzWebDirectories

func FuzzWebDirectories(targetURL string, opts WebFuzzOptions)

func FuzzWebSubdomains

func FuzzWebSubdomains(targetURL string, opts WebFuzzOptions)

Types

type FuzzHit

type FuzzHit struct {
	Title      string // path / subdomain
	StatusCode int
	Redirect   string // if its a redirect, this is the link.
}

type FuzzManager

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

func NewFuzzManager

func NewFuzzManager(maxConnections int, maxConcurrency int) *FuzzManager

func (*FuzzManager) ActiveFuzzers

func (fm *FuzzManager) ActiveFuzzers() map[string]*FuzzTask

func (*FuzzManager) AddFuzzer

func (fm *FuzzManager) AddFuzzer(name string, target string, wordlist []string, fuzzType FuzzType)

func (*FuzzManager) GetDigraph

func (fm *FuzzManager) GetDigraph() string

func (*FuzzManager) Progress

func (fm *FuzzManager) Progress(name string) (int, int, bool)

type FuzzStatus

type FuzzStatus string
const (
	QUEUED   FuzzStatus = "queued"
	RUNNING  FuzzStatus = "running"
	COMPLETE FuzzStatus = "complete"
)

type FuzzTask

type FuzzTask struct {
	Name        string
	Status      FuzzStatus
	Progress    int
	Total       int
	DoneChannel chan bool `json:"-"`
	Hits        []FuzzHit
	Type        FuzzType
	Target      string
}

type FuzzType

type FuzzType string
const (
	DIRECTORY FuzzType = "dir"
	SUBDOMAIN FuzzType = "sub"
)

type VisEdge

type VisEdge struct {
	From string `json:"from"`
	To   string `json:"to"`
}

type VisNode

type VisNode struct {
	ID    string `json:"id"`
	Label string `json:"label"`
}

type WebFuzzOptions

type WebFuzzOptions struct {
	RequestsSemaphore *semaphore.Weighted
	UserAgent         string // customizable UA
	DoneChan          chan bool
	WordList          []string
	TryExtensions     []string
	ProgressChan      chan<- int     // channel to send progress updates
	HitsChan          chan<- FuzzHit // channel to send found paths
}

Jump to

Keyboard shortcuts

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