engine

package
v0.0.0-...-840aba4 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Copyright © 2023 @lum8rjack

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupAllScanners

func SetupAllScanners() int

Load all of the trufflehog scanners to use

func SetupScanners

func SetupScanners(scanners []string) (int, error)

Setup the scanners to use

Types

type ScanResult

type ScanResult struct {
	Url           string
	Secrets_found int
	Secrets       []Secret
}

func ScanResponse

func ScanResponse(url string, body []byte, verify bool) (ScanResult, error)

Scan the bytes for secrets

type Secret

type Secret struct {
	Scanner  string
	Value    string
	Verified bool
}

Jump to

Keyboard shortcuts

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