# Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

### Grasshopper

# Grasshopper-v1_1-AdminGuide

1 December, 2013

- 1
- 2
…
- 97
- 98
- 99
- 100
- 101
…
- 106
- 107

SECRET//ORCON//NOFORN
6.6 Contains
Description
The “contains” verb takes in one parameter and checks to see if the provided
key name is within the key path.
Usage
reg_key(<hive name>, <key path>).contains(<key name>)
Example
reg_key(HKLM, “test”).contains(“test_key”)
The above example checks to see if the “test_key” key is within the provided
key path.
Return Values
Return
Code
Description
True If the key is in the provided path
False If the key isn’t in the provided path
Invalid If an error occurred while accessing the key
99
SECRET//ORCON//NOFORN

- 1
- 2
…
- 97
- 98
- 99
- 100
- 101
…
- 106
- 107