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

7 lines
No EOL
521 B
Python

from ops.data import OpsClass, OpsField, DszObject, DszCommandObject, cmd_definitions
import dsz
if ('registryhive' not in cmd_definitions):
dszhiveitem = OpsClass('hive', {'hive': OpsField('hive', dsz.TYPE_STRING), 'permanent': OpsField('permanent', dsz.TYPE_STRING), 'srcfile': OpsField('srcfile', dsz.TYPE_STRING), 'key': OpsField('key', dsz.TYPE_STRING)}, DszObject)
reghivecommand = OpsClass('registryhive', {'hive': dszhiveitem}, DszCommandObject)
cmd_definitions['registryhive'] = reghivecommand