Vault7: CIA Hacking Tools Revealed
Navigation: » Latest version
Queue Proxy
Purpose
The Queue Proxy, qproxy program is the interface (implementation) to the queue implementation. The user interface (UIUser Interface) and the transport use this program.
Usage
Command Line
qproxy -q <que_id> <command> [flags] [parameters]
Returns
These are incomplete, actual numbers to be refined and may./will change during development
0 - done
1 - queue does not exist
2 - missing parameters
3 - queue not locked
4 - invalid task id
Notes
Only one positional parameter (aka command) per execution
Operating system numeric return code code
To get a status update from LPListening Post use a commit with no changes (e.g. use --force --clear commit)
Examples
qproxy -q boss0042 append --immediate -f dirwalk.bin // appends dirwalk.bin to existing changes on queue boss0042, commits changes, fails if not locked
qproxy -q boss0042 lock // acquires lock as current user-id, fails if already locked by other user
qproxy -q boss0042 --force --clear // forces a lock, clears all non-committed changes
qproxy -q boss0042 list -v working // prints list of current (low) queue with proposed (non-committed) changes
qproxy -q boss0042 ingest --file update.tar // processes command in update.tar file (usually queue update from LPListening Post), then deletes file
Breakdown
command = <task_cmd | queue_cmd >
task_cmd = append | prepend | move | insert | delete
queue_cmd = queue_system | queue_local
queue_local = pop | lock | unlock | list | ingest
queue_system = commit | create | remove
flags = flag [flags]
flag =
--immediate // lock, primitive_base, commit, unlock
--force
// lock, force if necessary
--clear
// clear all uncommitted changes
parameters = parameter [parameters]
parameter =
-q --queue <que_id>
-f --file <task_file | tar_file> // required for (append, prepend, and insert) | ingest
--from <slot | id > // required for move
--to <slot | id> // required for insert and move
-v --view < low | working | changes | high | user | timer > // default = working
id - alphanumeric, fails on conversion to number
slot - digits only / numeric
que_id - alphanumeric, at least 5 alphanumeric (fisrt 4 are parent id)
task_file - file name of file to be copied into queue
tar_file - file name of tar file to be processed / ingested