Vault 7: Projects

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

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

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh