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

7 lines
No EOL
437 B
Python

from ops.data import OpsClass, OpsField, DszObject, DszCommandObject, cmd_definitions
import dsz
if ('logonasuser' not in cmd_definitions):
dszlogonasuser = OpsClass('logon', {'handle': OpsField('handle', dsz.TYPE_INT), 'alias': OpsField('alias', dsz.TYPE_STRING)}, DszObject)
logonasusercommand = OpsClass('logonasuser', {'logon': dszlogonasuser}, DszCommandObject)
cmd_definitions['logonasuser'] = logonasusercommand