Documentation
¶
Index ¶
- Constants
- func DeleteAgentTask(agentName string, taskName string, isClient bool) error
- func DeleteAllAgentLoot(agentName string, isClient bool) error
- func DeleteAllAgentTasks(agentName string, isClient bool) error
- func GetAgentDir(agentName string, isClient bool) (string, error)
- func GetAgentLootDir(agentName string, isClient bool) (string, error)
- func GetAgentNoteFile(agentName string, isClient bool) (string, error)
- func GetAgentTasksFile(agentName string, isClient bool) (string, error)
- func GetAgentsDir(isClient bool) (string, error)
- func GetAppDir() (string, error)
- func GetCertsDir(listenerDir string) (string, error)
- func GetConfigsDir(isClient bool) (string, error)
- func GetDBPath() (string, error)
- func GetListenerDir(listenerName string, isClient bool) (string, error)
- func GetListenerPayloadPaths(listenerName string, isClient bool, fileNamesOnly bool) ([]string, error)
- func GetListenerPayloadsDir(listenerName string, isClient bool) (string, error)
- func GetListenersDir(isClient bool) (string, error)
- func GetLogsDir(isClient bool) (string, error)
- func GetTempDir(isClient bool) (string, error)
- func MakeAgentChildDirs(agentName string, isClient bool) error
- func MakeAppDirs(isClient bool) error
- func MakeListenerChildDirs(listenerName string, isClient bool) error
- func OpenLogFile(isClient bool) (*os.File, error)
- func ReadAgentTasks(agentName string, isClient bool) ([]string, error)
- func ReadAllAgentLoot(agentName string, isClient bool) ([]string, error)
- func WriteAgentLoot(agentName string, taskJsonStr string, taskResult string, isClient bool) (taskFile string, err error)
- func WriteAgentLootFile(agentName string, data []byte, isClient bool, fileType string) (filename string, err error)
- func WriteAgentTask(agentName string, taskName string, isClient bool) error
Constants ¶
View Source
const PERM fs.FileMode = 0765
Variables ¶
This section is empty.
Functions ¶
func DeleteAllAgentLoot ¶
func DeleteAllAgentTasks ¶
func GetAgentsDir ¶
func GetCertsDir ¶
func GetConfigsDir ¶
func GetListenerPayloadPaths ¶
func GetListenerPayloadsDir ¶
func GetListenersDir ¶
func GetLogsDir ¶
func GetTempDir ¶
func MakeAgentChildDirs ¶
func MakeAppDirs ¶
func MakeListenerChildDirs ¶
func WriteAgentLoot ¶
func WriteAgentLootFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.