Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.
SECRET//ORCON//NOFORN
10.4.1 Task Management Commands
Commands used to manage the task being created are provided by the task sub-
shell. The commands are used to manipulate the list of commands that comprise
the task, set the task's run mode, and export/import tasks to/from xml.
The following commands are provided to manage the task.
list_commands
List the commands in the task.
move_command SRC DST
Move a command from one index to another in the task.
SRC
index of the command to move
DST
desired index of the command
remove_command INDEX
Remove a command from the task by index.
INDEX
index of the command to remove
run_mode [-r] [-s] [-p]
View or modify the run mode of the task.
-r, --receipt
run the task on receipt
-s, --startup
run the task on each target startup
-p, --push
push the results of the task immediately
export_xml PATH
Export task xml to a file specified by path.
PATH
path to output the task xml file
import_xml PATH
Import task commands from an xml file specified by path.
PATH
path to a task xml file
95
SECRET//ORCON//NOFORN