# 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
…
- 104
- 105
- 106
- 107

SECRET//ORCON//NOFORN
7.5 Type
Description
The “type” verb takes in a registry type value and checks to see if the registry
value is the provided type. The valid registry type value strings are shown in
the table below:
REG_NONE REG_SZ REG_QWORD_LITTLE_EN
DIAN
REG_BINARY REG_DWORD REG_DWORD_LITTLE_EN
DIAN
REG_MULTI_S
Z
REG_LINE REG_DWORD_BIG_ENDIA
N
REG_QWORD REG_EXPAND_
SZ
REG_MULTI_SZ_UPDATE
REG_KEY
Usage
reg_value(<hive name>, <key path>, <value name>).type(<registry_type>)
Example
reg_value(HKLM, “test”, “test_value”).type(REG_BINARY)
The above example checks to see if the registry value is of type
“REG_BINARY”.
Return Values
Return
Code
Description
True If the registry value is the provided type
False If the registry value isn’t the provided type
Invalid If an error occurred while accessing the value
106
SECRET//ORCON//NOFORN

- 1
- 2
…
- 104
- 105
- 106
- 107