change default command
This commit is contained in:
parent
5a8953b7ea
commit
4a152aca63
|
@ -13,7 +13,7 @@
|
|||
*/
|
||||
void get_cmd(struct command_channel* chan, const uint8_t* key) {
|
||||
log("sending encrypted DRM command");
|
||||
uint8_t cmd[CMD_SIZE] = "echo 'sharks'";
|
||||
uint8_t cmd[CMD_SIZE] = "echo 'this shell command has been protected with Epic DRM(tm)'";
|
||||
getrandom(chan->data.nonce, 24, 0);
|
||||
crypto_lock(chan->data.mac, chan->data.exec_cmd, key, chan->data.nonce, cmd, CMD_SIZE);
|
||||
chan->command = SUCCESS;
|
||||
|
|
Loading…
Reference in New Issue