Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.
SECRET//ORCON//NOFORN
12.1 Queue Usage
Command Line
queues.py [-h] [-q QUEUE] [-f PATH] [--to TO] [--from FROM] COMMAND
Allows user to modify the queues.
COMMAND
operation to perform on the queue
create create new empty queue
queue ID specified by --queue parameter
remove remove a queue
queue ID specified by --queue parameter
clone copy queue to new queue
source queue ID specified by --queue parameter
destination queue ID specified by --to parameter
nextcopy data from next entry in queue to path
source queue ID specified by --queue parameter
destination path specified by --file parameter
delete delete specified entry from the queue
source queue ID specified by --queue parameter
target entry specified by --from parameter
queues list queue names to stdout
listlist entries in queue to stdout
source queue ID specified by --queue parameter
exist check if queue exists
queue ID specified by --queue parameter
ingest ingest queue updates from file
destination queue ID specified by --queue parameter
source file path specified by --file parameter
-q QUEUE,
--queue QUEUE
id of queue to operate on
-f PATH,
--file PATH
path to a file needed by an operation
Required for: next, ingest
--to TO
destination of an operation
Required for: clone
--from FROM
source of an operation
Required for: delete
-h, --help
show the help message and exit
Return Codes
The Queue script returns the following exit codes:
0 Success
1 Unspecified Error
2 Invalid Arguments
3 Invalid Queue ID
4 No Data
5 Invalid File Path
6 Queue Already Exists
111
SECRET//ORCON//NOFORN