...
The clear operation uses name of connection or repositories to clear either the connections or the repositories. In the case of a connection the content contains the operation arguments, in which the value defines the connection name to clear.
Advanced Tables - JSON Table |
---|
|
{"operation" : "heartbeat", |
...
"requested_operations": [ |
...
...
...
"clear",
"operationid" : "string", |
...
...
"connection",
"content" : [ |
...
...
...
...
...
...
Advanced Tables - JSON Table |
---|
|
]
}
]
}
...
|
{"operation" : "heartbeat", |
...
"requested_operations": [ |
...
...
...
"clear",
"operationid" : "string", |
...
...
"repositories",
"content" : [ |
...
...
]
}
]
...
Update
Update allows the C2 server to update either the c2 agent or provide a URI from which we download the new flow configuration through a GET request.
Advanced Tables - JSON Table |
---|
|
{"operation" : "heartbeat", |
...
"requested_operations": [ |
...
...
...
"update",
"operationid" : "string", |
...
...
"configuration",
"content" : [ |
...
...
...
...
...
Advanced Tables - JSON Table |
---|
|
]
}
]
}
...
|
{"operation" : "heartbeat", |
...
"requested_operations": [ |
...
...
...
"update",
"operationid" : "string", |
...
...
...
...
]
}
]
...
"option_name" : "option_value" }
]
}
]
} |
Start
Start starts a previously stopped command. If a start is called on a component that is already started, nothing should occur other than an acknowledgement. Name defines the component to start.
Advanced Tables - JSON Table |
---|
output | wiki |
---|
heading | 2 |
---|
footing | 5 |
---|
|
{"operation" : "heartbeat", |
...
"requested_operations": [ |
...
...
...
"start",
"operationid" : "string", |
...
...
...
...
...
]
}
]
}
Stop
Stop stops a component that is started. Components can be the FlowController, processors, or RPGs
Advanced Tables - JSON Table |
---|
|
{"operation" : "heartbeat", |
...
"requested_operations": [ |
...
...
...
"stop",
"operationid" : "string", |
...
...
...
...
...
]
}
]
...
Restart
Attempts to restart the component defined within name
Advanced Tables - JSON Table |
---|
|
{"operation" : "heartbeat", |
...
"requested_operations": [ |
...
...
...
"restart",
"operationid" : "string", |
...
...
...
...
...
]
}
]
...
Acknowledgements.
Acknowledgements occur through a separate URL. This URL will receive a POST that contains the following payload, which acknowledges that the operation ID was received and executed.
Advanced Tables - JSON Table |
---|
|
{"operation": "acknowledge", |
...
...
...
...