Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

SECRET//ORCON//NOFORN
1.7 Empty
Description
The “empty” verb takes in no parameters and will return true only if the
directory contains no files or directories other than “.” and “..”.
Usage
directory(<directory path>).empty
Example
directory(“c:\windows”).empty
The above example checks to see if the “c:\windows” directory contains no
files or sub-directories.
Return Values
Return
Code
Description
True The directory exists, is readable, and has no files or
subdirectories
False The directory exists, is readable, and has files or
subdirectories
Invalid The directory doesn’t exist or is not readable
50
SECRET//ORCON//NOFORN

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh