configs

package
v0.2.0-alpha-test Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func Parse

func Parse(configpath string, mode string) (Config, error)

Parse takes in the relative path to a config file and the device parsing type

func (Config) GetConfigType

func (conf Config) GetConfigType() string

func (Config) GetDirlistDoHashMD5

func (conf Config) GetDirlistDoHashMD5() (bool, error)

func (Config) GetDirlistDohashSHA256

func (conf Config) GetDirlistDohashSHA256() (bool, error)

func (Config) GetDirlistExcludedDirs

func (conf Config) GetDirlistExcludedDirs() ([]string, error)

func (Config) GetDirlistExcludedDrives

func (conf Config) GetDirlistExcludedDrives() ([]string, error)

func (Config) GetDirlistExcludedExts

func (conf Config) GetDirlistExcludedExts() ([]string, error)

func (Config) GetDirlistHashSizeLimitBytes

func (conf Config) GetDirlistHashSizeLimitBytes() (int, error)

func (Config) GetDirlistRootWalkDir

func (conf Config) GetDirlistRootWalkDir() (string, error)

func (Config) GetModulesToExecute

func (conf Config) GetModulesToExecute() ([]string, error)

func (Config) IsForensicMode

func (conf Config) IsForensicMode() (bool, error)

func (Config) IsVerbose

func (conf Config) IsVerbose() (bool, error)

type MacConfig

type MacConfig struct {
	ForensicMode              bool
	Verbose                   bool
	Modules                   []string // modules to execute
	DirlistExcludedDirs       []string // Folders to exclude
	DirlistExcludedExts       []string // Extentions to exclude
	DirlistRootWalkDir        string
	DirlistHashSizeLimitBytes int
	DirlistDoHashMD5          bool
	DirlistDoHashSHA256       bool
}

type WindowsConfig

type WindowsConfig struct {
	ForensicMode              bool
	Verbose                   bool
	Modules                   []string // modules to execute
	DirlistExcludedDrives     []string // Windows drives to exclude
	DirlistExcludedDirs       []string // Folders to exclude
	DirlistExcludedExts       []string // Extentions to exclude
	DirlistRootWalkDir        string
	DirlistHashSizeLimitBytes int
	DirlistDoHashMD5          bool
	DirlistDoHashSHA256       bool
}

Jump to

Keyboard shortcuts

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