Documentation ¶
Index ¶
- Variables
- type Instance
- func (i Instance) CloseLogger() error
- func (i Instance) ForensicMode() bool
- func (i Instance) GetOrionConfig() configs.Config
- func (i Instance) GetOrionMode() string
- func (i Instance) GetOrionModules() ([]string, error)
- func (i Instance) GetOrionOutputFilepath() string
- func (i Instance) GetOrionOutputFormat() string
- func (i Instance) GetOrionRuntime() string
- func (i Instance) GetTargetPath() string
- func (i Instance) NoMultithreading() bool
- type InstanceInterface
Constants ¶
This section is empty.
Variables ¶
var TargetPath string
TargetPath specifies the root target path to reference artifacts from - i.e. <target>/pathToPlist.plist
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
func NewInstance ¶
func NewInstance(targetpath string, outputformat string, outputPath string, orionRuntime string, loglevel string, configpath string, mode string, noMultithreading bool, forensicMode bool) (Instance, error)
NewInstance returns a new instance struct based on arguments, should only be called once per run
func (Instance) CloseLogger ¶
func (Instance) ForensicMode ¶
ForensicMode exposes argument flag for running Orion with forensic mode active for each module
func (Instance) GetOrionConfig ¶
GetOrionConfig returns the Config for this Instance of Orion
func (Instance) GetOrionMode ¶
func (Instance) GetOrionModules ¶
GetOrionModules returns string slice of modules to run from config file
func (Instance) GetOrionOutputFilepath ¶
GetOrionOutputFilepath returns the string filepath where output is written, relative to Orion
func (Instance) GetOrionOutputFormat ¶
GetOrionOutputFormat returns the name of the output file type (csv, xlsx, etc.)
func (Instance) GetOrionRuntime ¶
GetOrionRuntime returns the name of the Orion runtime
func (Instance) GetTargetPath ¶
GetTargetPath returns the string representing the path to the target for modules
func (Instance) NoMultithreading ¶
NoMultithreading exposes argument flag for running Orion with goroutines for each module