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

7 lines
No EOL
658 B
Python

from ops.data import OpsClass, OpsField, DszObject, DszCommandObject, cmd_definitions
import dsz
if ('eventlogclear' not in cmd_definitions):
dszeventlogclear = OpsClass('taskinginfo', {'recursive': OpsField('recursive', dsz.TYPE_BOOL), 'searchpath': OpsClass('searchpath', {'value': OpsField('value', dsz.TYPE_STRING)}, DszObject), 'target': OpsClass('target', {'location': OpsField('location', dsz.TYPE_STRING), 'local': OpsField('local', dsz.TYPE_BOOL)}, DszObject)}, DszObject)
eventlogclearcommand = OpsClass('eventlogclear', {'taskinginfo': dszeventlogclear}, DszCommandObject)
cmd_definitions['eventlogclear'] = eventlogclearcommand