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

7 lines
No EOL
480 B
Python

from ops.data import OpsClass, OpsField, DszObject, DszCommandObject, cmd_definitions
import dsz
if ('lpgetenv' not in cmd_definitions):
dszenvitem = OpsClass('envitem', {'system': OpsField('system', dsz.TYPE_BOOL), 'option': OpsField('option', dsz.TYPE_STRING), 'value': OpsField('value', dsz.TYPE_STRING)}, DszObject, single=False)
lpgetenvcommand = OpsClass('lpgetenv', {'envitem': dszenvitem}, DszCommandObject)
cmd_definitions['lpgetenv'] = lpgetenvcommand