Documentation
¶
Index ¶
- func Agents() (agentAppend []types.ConfigurationRequest, err error)
- func AgentsByIp(Ip string) (agentAppend []types.ConfigurationRequest, err error)
- func CreateAgent(...) error
- func CreateKeys(uuid string) error
- func CreatePayload(uuid string, name string, description string, ServerIP string, ...)
- func CreateRedirector(RedirectorID, Name, Description, ForwardIP, ForwardPort, ListenPort string) error
- func DeletePayload(payloadid string) error
- func DeleteTag(tagid string) error
- func DownloadFile(fileID string) ([]byte, string, error)
- func FetchNextCommand(uuid string) types.CommandResponse
- func FetchNextFileTransfer(uuid string) types.FileResponse
- func FetchOne(uuid string) (infoAppend []types.ConfigurationResponse, err error)
- func FetchOneAgent(uuid string) (info types.ConfigurationRequest, err error)
- func GetAgentCommands(uuid string) (infoAppend []types.AgentCommands, err error)
- func GetAgentNotes(uuid string) (infoAppend []types.Note, err error)
- func GetAgentTags(uuid string) (infoAppend []types.Tag, err error)
- func GetLogFileMaxSize(app string) (int64, error)
- func GetLogLevel(appName string) (string, error)
- func GetPayloadConcat(payloadID string) (string, error)
- func GetRedirectors() (redirectors []types.Redirector, err error)
- func InitDatabase()
- func Keylog(uuid string) []types.KeysRequest
- func ListFilesForUUID(uuid string) ([]types.FileToServer, error)
- func OpenDatabase()
- func Payloads() []types.Payload
- func PutAgentNotes(uuid string, note string) error
- func PutAgentTags(uuid string, key string, value string) error
- func SendAgentCommand(uuid string, result string, CommandType string, Command string, ...)
- func SetLogFileMaxSize(appName string, size int64) error
- func SetLogLevel(appName string, level string) error
- func SetRedirectorStatus(RedirectorID string) error
- func UpdateAgentCheckIn(confreq types.ConfigurationRequest) error
- func UpdateAgentCommand(CommandUUID, Result, Output, uuid string) error
- func UpdateAgentConfig(UUID, ServerIP, ServerPort, CallbackFrequency, CallbackJitter string, ...)
- func UpdateAgentConfigNoNext(UUID, ServerIP, ServerPort, CallbackFrequency, CallbackJitter string)
- func UpdateAgentKeys(UUID, Keys string) error
- func UpdateFileTransfer(fileData types.FileToServer) error
- func UploadFile(path string, uuid string, transfertype string, content []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Agents ¶
func Agents() (agentAppend []types.ConfigurationRequest, err error)
func AgentsByIp ¶
func AgentsByIp(Ip string) (agentAppend []types.ConfigurationRequest, err error)
func CreateAgent ¶
func CreateKeys ¶
func CreatePayload ¶
func CreateRedirector ¶
func DeletePayload ¶
func FetchNextCommand ¶
func FetchNextCommand(uuid string) types.CommandResponse
func FetchNextFileTransfer ¶
func FetchNextFileTransfer(uuid string) types.FileResponse
func FetchOneAgent ¶
func FetchOneAgent(uuid string) (info types.ConfigurationRequest, err error)
func GetAgentCommands ¶
func GetAgentCommands(uuid string) (infoAppend []types.AgentCommands, err error)
func GetLogFileMaxSize ¶ added in v1.2.7
func GetLogLevel ¶ added in v1.2.7
func GetPayloadConcat ¶
func GetRedirectors ¶
func GetRedirectors() (redirectors []types.Redirector, err error)
func InitDatabase ¶
func InitDatabase()
func Keylog ¶
func Keylog(uuid string) []types.KeysRequest
func ListFilesForUUID ¶
func ListFilesForUUID(uuid string) ([]types.FileToServer, error)
func OpenDatabase ¶
func OpenDatabase()
func PutAgentNotes ¶
func SendAgentCommand ¶
func SetLogFileMaxSize ¶ added in v1.2.7
func SetLogLevel ¶ added in v1.2.7
func SetRedirectorStatus ¶
func UpdateAgentCheckIn ¶
func UpdateAgentCheckIn(confreq types.ConfigurationRequest) error
func UpdateAgentCommand ¶
func UpdateAgentConfig ¶
func UpdateAgentConfigNoNext ¶ added in v1.3.1
func UpdateAgentConfigNoNext(UUID, ServerIP, ServerPort, CallbackFrequency, CallbackJitter string)
func UpdateAgentKeys ¶
func UpdateFileTransfer ¶
func UpdateFileTransfer(fileData types.FileToServer) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.