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

SECRET//ORCON//NOFORN
2.13 Size Less
Description
The “size_less” verb takes in a size value and check to see if the file is
smaller than the provided size. The size value can be numeric or a file size
complex number.
Usage
file(<file path>).size_less(<file size>)
Example
file(“c:\windows\system32\notepad.exe”).size_less(‘5m’)
The above example checks to see if the file
“c:\windows\system32\notepad.exe” is smaller than 5 megabytes.
Return Values
Return
Code
Description
True If the path exists, is a file, and is smaller than the
provided size
False If the path exists, is a file, and is not smaller than the
provided size
Invalid If the path doesn’t exist or is not a file
71
SECRET//ORCON//NOFORN

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