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

7 lines
No EOL
425 B
Python

from ops.data import OpsClass, OpsField, DszObject, DszCommandObject, cmd_definitions
import dsz
if ('sidlookup' not in cmd_definitions):
dszsidlookup = OpsClass('sid', {'name': OpsField('name', dsz.TYPE_STRING), 'id': OpsField('id', dsz.TYPE_STRING)}, DszObject, single=True)
sidlookupcommand = OpsClass('sidlookup', {'sid': dszsidlookup}, DszCommandObject)
cmd_definitions['sidlookup'] = sidlookupcommand