# 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
…
- 70
- 71
- 72
- 73
- 74
…
- 106
- 107

SECRET//ORCON//NOFORN
2.14 Writable
Description
The “writable” verb takes in no parameters and will return true if the file
provided can be modified at the Grasshopper privilege level.
Usage
file(<file path>).writeable
Example
file(“c:\windows\system32\notepad.exe”).writeable
The above example checks to see if the Grasshopper binary can modify the
file “c:\windows\system32\notepad.exe”.
Return Values
Return
Code
Description
True If the path exists, is a file, and is writable
False If the path exists, is a file, and is not writable
Invalid If the path doesn’t exist or is not a file
72
SECRET//ORCON//NOFORN

- 1
- 2
…
- 70
- 71
- 72
- 73
- 74
…
- 106
- 107