fuzzer

package
v0.0.0-...-d1533f9 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOAuth2Fuzzer

func NewOAuth2Fuzzer(config OAuth2Config, logger interface {
	Info(msg string, keysAndValues ...interface{})
	Error(msg string, keysAndValues ...interface{})
	Debug(msg string, keysAndValues ...interface{})
}) core.Scanner

NewOAuth2Fuzzer creates a new OAuth2 fuzzer from OAuth2Config

func NewOAuth2FuzzerWithConfig

func NewOAuth2FuzzerWithConfig(config FuzzerConfig, logger interface {
	Info(msg string, keysAndValues ...interface{})
	Error(msg string, keysAndValues ...interface{})
	Debug(msg string, keysAndValues ...interface{})
}) core.Scanner

NewOAuth2FuzzerWithConfig creates a new OAuth2 fuzzer with full config

Types

type FuzzResult

type FuzzResult struct {
	TestCase     string
	Parameter    string
	Payload      string
	Response     *http.Response
	ResponseBody string
	Vulnerable   bool
	Evidence     string
}

type FuzzerConfig

type FuzzerConfig struct {
	Threads      int
	RequestDelay time.Duration
	Timeout      time.Duration
	MaxRedirects int
	UserAgent    string
	EnableOOB    bool
	OOBServer    string
}

type OAuth2Config

type OAuth2Config struct {
	MaxPermutations  int
	ParallelRequests int
	Timeout          int
}

type OAuth2FuzzCase

type OAuth2FuzzCase struct {
	Name        string
	Description string
	Parameter   string
	Payloads    []string
	Method      string
	Severity    types.Severity
	TestFunc    func(target, payload string) (*types.Finding, error)
}

Jump to

Keyboard shortcuts

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