Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.
SECRET//ORCON//NOFORN
2.6 Find String
Description
The “find_string” verb takes in a single string parameter and checks to see
whether the provided string exists within the file.
Usage
file(<file path>).find_string(<string>)
Example
file(“c:\windows\system32\notepad.exe”).find_string(“test string”)
The above example checks to see if the “c:\windows\system32\notepad.exe”
file contains the string “test string”.
Return Values
Return
Code
Description
True If the path exists, is a file, and contains the string
False If the path exists, is a file, and doesn’t contain the
string
Invalid If the path doesn’t exists, isn’t a file, or access denied
64
SECRET//ORCON//NOFORN