application

package
v0.0.101 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnalyzeResponse

func AnalyzeResponse(httpRequestResponse *common.HttpRequestResponse, module *discover.ApplicationFingerprintModule) bool

AnalyzeResponse checks if the HTTP response matches the fingerprint module's indicators. Returns true if a match is found, false otherwise.

func FilterFingerprints

func FilterFingerprints(fingerprints *discover.ApplicationFingerprints, resourceConfigType *discover.ApplicationResourceConfigType, modules []string) (*discover.ApplicationFingerprints, error)

FilterFingerprints filters the fingerprints based on resource types and modules Returns error if resource type or module doesn't exist If resourceType is 'ALL', it returns all resource types as separate resources

func GetModule

GetModule returns the module configuration for a given resource type and module

func LaunchFingerprintEngine

func LaunchFingerprintEngine(ctx context.Context, config *discover.DiscoverApplicationConfig, filteredFingerprints *discover.ApplicationFingerprints) (*discover.DiscoverApplicationReport, error)

LaunchFingerprintEngine runs the fingerprinting engine for all targets in the config and returns a report.

func LoadFingerprints

func LoadFingerprints(filePath string) (*discover.ApplicationFingerprints, error)

LoadFingerprints loads and unmarshals the fingerprints.json file into the generated AppFingerprints struct

func Run

Run executes the fingerprinting process for a given target and configuration. Returns a slice of ApplicationFingerprintAttempt and a slice of error messages.

Types

This section is empty.

Jump to

Keyboard shortcuts

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