# 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
…
- 62
- 63
- 64
- 65
- 66
…
- 106
- 107

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

- 1
- 2
…
- 62
- 63
- 64
- 65
- 66
…
- 106
- 107