# 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
…
- 38
- 39
- 40
- 41
- 42
…
- 106
- 107

SECRET//ORCON//NOFORN
5 Or
Description
The “or” operator allows for one or more embedded rules. If any of the
embedded rules returns true, the operator will return true. If no true rules are
embedded, but one rule returns invalid, an invalid will return. Otherwise it will
return false.
Short Circuit
If at any point during processing of the embedded rules, a true is returned,
the remaining rules will be ignored and the operator will returntrue.
Usage
or {
<rule>
…
}
Example
or {
grasshopper.bitness(32)
grasshopper.access_at_least(“admin”)
}
The above example will return true if either the grasshopper binary is 32-bit
or the run level is administrator or higher.
Return Values
Return
Code
Description
True One or more embedded rules returns true
False All of the embedded rules return false
Invalid No embedded rules return true and at least one returns
invalid
40
SECRET//ORCON//NOFORN

- 1
- 2
…
- 38
- 39
- 40
- 41
- 42
…
- 106
- 107