Documentation
¶
Overview ¶
You should have received a copy of the GNU General Public License along with Merlin. If not, see <http://www.gnu.org/licenses/>.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentControl ¶
type AgentControl struct {
Job string `json:"job"`
Command string `json:"command"`
Args string `json:"args,omitempty"`
Result string `json:"result"`
}
JSON Agent Control Commands
type AgentInfo ¶
type AgentInfo struct {
Version string `json:"version,omitempty"`
Build string `json:"build,omitempty"`
WaitTime string `json:"waittime,omitempty"`
PaddingMax int `json:"paddingmax,omitempty"`
MaxRetry int `json:"maxretry,omitempty"`
FailedCheckin int `json:"failedcheckin,omitempty"`
}
JSON Agent Information Payload
type Base ¶
type Base struct {
Version float32 `json:"version"`
ID uuid.UUID `json:"id"`
Type string `json:"type"`
Payload interface{} `json:"payload,omitempty"`
Padding string `json:"padding"`
}
JSON Object for Messages
type CmdPayload ¶
type CmdPayload struct {
Command string `json:"executable"`
Args string `json:"args"`
Job string `json:"job"`
}
JSON Payload MESSAGE TYPE: CmdPayload
type CmdResults ¶
type CmdResults struct {
Job string `json:"job"`
Stdout string `json:"stdout"`
Stderr string `json:"stderr"`
Padding string `json:"padding"` //Padding to help evade detection
}
JSON Command Results
type SysInfo ¶
type SysInfo struct {
Platform string `json:"platform,omitempty"`
Architecture string `json:"architecture,omitempty"`
UserName string `json:"username,omitempty"`
UserGUID string `json:"userguid,omitempty"`
HostName string `json:"hostname,omitempty"`
Pid int `json:"pid,omitempty"`
}
JSON System Information Payload
Click to show internal directories.
Click to hide internal directories.