shadowbrokers-exploits/windows/Resources/Ops/PyScripts/lib/ops/data/sidlookup.py

7 lines
425 B
Python
Raw Normal View History

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