# 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
…
- 55
- 56
- 57
- 58
- 59
…
- 106
- 107

SECRET//ORCON//NOFORN
1.14 WritableDirectory
Description
The “writable_dir” verb takes in no parameters and will return true if the
directory provided can be create directories at the Grasshopper privilege
level.
Usage
directory(<directory path>).writable_dir
Example
directory(“c:\windows”).writable_dir
The above example checks to see if the Grasshopper binary can create
directories in the “c:\windows” directory.
Return Values
Return
Code
Description
True If the path exists, is a directory, and is writable
False If the path exists, is a directory, and is not writable
Invalid If the path doesn’t exist or is not a directory
57
SECRET//ORCON//NOFORN

- 1
- 2
…
- 55
- 56
- 57
- 58
- 59
…
- 106
- 107