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

7 lines
No EOL
415 B
Python

from ops.data import OpsClass, OpsField, DszObject, DszCommandObject, cmd_definitions
import dsz
if ('copy' not in cmd_definitions):
dszcopy = OpsClass('copyresults', {'destination': OpsField('destination', dsz.TYPE_STRING), 'source': OpsField('source', dsz.TYPE_STRING)}, DszObject)
copycommand = OpsClass('copy', {'copyresults': dszcopy}, DszCommandObject)
cmd_definitions['copy'] = copycommand