facts

package
v0.0.0-...-a56da61 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

This package contains the facts Dexter can use to check if a host is in scope for an investigation.

Index

Constants

This section is empty.

Variables

View Source
var Facts = map[string]Fact{}

Functions

func Hash

func Hash(value, salt string) string

Types

type Fact

type Fact struct {
	Name             string
	Description      string
	Private          bool
	MinimumArguments int
	Salt             string
	// contains filtered or unexported fields
}

func Get

func Get(name string) (Fact, bool)

Look up a fact by name, returning the fact and a boolean to confirm the fact exists

func (*Fact) Assert

func (checker *Fact) Assert(args []string) bool

Check if this fact indicates this host is in scope

Jump to

Keyboard shortcuts

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