conf

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2020 License: GPL-3.0 Imports: 5 Imported by: 5

Documentation

Index

Constants

View Source
const (
	CmdHdiutil        = "/usr/bin/hdiutil"
	CmdSystemProfiler = "/usr/sbin/system_profiler"
	CmdDitto          = "/usr/bin/ditto"

	TmpDir                      = "/tmp"
	VolumeName                  = "ROOT"
	OutputDirName               = "evidence"
	VolumePath                  = "/Volumes"
	ScheduledTriageFileListName = "scheduled_triage_file_list.txt"
	SystemProfilerFileName      = "system_profiler.txt"

	DmgFileSystem = "APFS"
)

Variables

View Source
var PresetString = []string{"AllList", "Malware", "Fraud", "macripper", "Only use custom list"}

Functions

This section is empty.

Types

type Config

type Config struct {

	// Option
	IsEnabledToGetProfiler bool
	IsEnabledToCalcHash    bool
	IsEnabledToGetStatInfo bool
	IsEnabledToSaveIntoDmg bool

	// Path
	RootPath       string
	OutputRootPath string
	OutputDirPath  string
	CurrentDirPath string

	UserDefinedFileListName string

	SelectedPresetNum int

	DmgSize int64
}

func (*Config) CreateAndMountDmg

func (c *Config) CreateAndMountDmg() error

func (*Config) MakeOutputDir

func (c *Config) MakeOutputDir() error

func (*Config) SetCurrentDir

func (c *Config) SetCurrentDir()

func (*Config) Setting

func (c *Config) Setting() error

func (*Config) UnmountDmg

func (c *Config) UnmountDmg() error

Jump to

Keyboard shortcuts

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