shadowbrokers-exploits/windows/Resources/Ops/PyScripts/lib/ops/data/rmdir.py
2017-04-14 11:45:07 +02:00

7 lines
No EOL
382 B
Python

from ops.data import OpsClass, OpsField, DszObject, DszCommandObject, cmd_definitions
import dsz
if ('rmdir' not in cmd_definitions):
dszrmdir = OpsClass('targetdirectory', {'path': OpsField('path', dsz.TYPE_STRING)}, DszObject, single=True)
rmdircommand = OpsClass('rmdir', {'targetdirectory': dszrmdir}, DszCommandObject)
cmd_definitions['rmdir'] = rmdircommand