utils

package
v0.0.0-...-d525949 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2018 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Que    = "\033[95m"
	Blue   = "\033[94m"
	Green  = "\033[92m"
	Yellow = "\033[93m"
	Bad    = "\033[91m"
	Info   = "\033[1m"
	Reset  = "\033[0m"
)

Colors used throughout the program

View Source

Banner is the application banner

Functions

func Now

func Now() string

Now gets the current time

func WriteOutput

func WriteOutput(OutputArray []*Output, state *State)

Types

type Output

type Output struct {
	Path        string `json:"path"`
	Description string `json:"description"`
	Comment     string `json:"comment"`
}

Output is a single blob of data returned by the tool

type Sign

type Sign struct {
	CryptoFiles        bool
	PasswordFiles      bool
	ConfigurationFiles bool
	DatabaseFiles      bool
	MiscFiles          bool
	InterestingDir     bool
}

Sign contains Signatures to be ran

type State

type State struct {
	Directory         string
	Threads           int
	Output            string
	Verbose           bool
	ListSignatures    bool
	Signatures        string
	ExcludeSignatures string

	Signature *Sign
}

State contains current application state

func ParseArguments

func ParseArguments() *State

ParseArguments parses the command line arguments

Jump to

Keyboard shortcuts

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