Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.
SECRET//ORCON//NOFORN
6.7 Exists
Description
The “exists” verb takes in one parameter and checks to see if the provided
key exists on the target.
Usage
reg_key(<hive name>, <key path>).exists
Example
reg_key(HKLM, “test”).exists
The above example checks to see if the “test” key exists on the target.
Return Values
Return
Code
Description
True If the key exists on the target
False If the key doesn’t exist on the target
Invalid If an error occurred while accessing the key
100
SECRET//ORCON//NOFORN