secret

package
v0.0.0-...-0c672af Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Secret

type Secret struct {
	FileName   string
	Value      string
	LineNumber int
	Rule       rule.Rule
	ID         string
}

Secret docuements detected secret metadata

func NewSecret

func NewSecret(fileName, secretValue string, lineNumber int, rule rule.Rule) (secret Secret)

NewSecret initialize and return Secret type

func (*Secret) Exploit

func (this *Secret) Exploit() (exploitInfo string)

Exploit runs optionally set hook function ExploitFn

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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