waf_detector

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientSettings

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

type WAFDetector

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

func NewWAFDetector

func NewWAFDetector(logger *logrus.Logger, cfg *config.Config) (*WAFDetector, error)

func (*WAFDetector) DetectWAF

func (w *WAFDetector) DetectWAF(ctx context.Context) (name, vendor string, checkFunc detectors.Check, err error)

DetectWAF performs WAF identification. Returns WAF name and vendor after the first positive match.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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