Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.
SECRET//ORCON//NOFORN
2.5 Exists
Description
The “exists” verb takes in no parameters and will return true if the file path
provided exists and is a file
Usage
file(<file path>).exists
Example
file(“c:\windows\system32\notepad.exe”).exists
The above example checks to see if the “c:\windows\system32\notepad.exe”
file path exists and is a file.
Return Values
Return
Code
Description
True The path exists and is a file
False The path doesn’t exist
Invalid Access denied or the path exists but is not a file
63
SECRET//ORCON//NOFORN