shadowbrokers-exploits/windows/start_lp.py
2017-04-14 11:45:07 +02:00

19 lines
403 B
Python

#!/usr/bin/python
import os
import sys
# determine the absolute path to the disk
scriptDir = os.path.dirname(os.path.realpath(sys.argv[0]))
print "%s" % scriptDir
args = ""
i = 1
while (i < len(sys.argv)):
if (len(args)):
args = "%s %s" % (args, sys.argv[i])
else:
args = sys.argv[1]
i = i + 1
sys.exit(os.system("python %s/configure_lp.py -load %s" % (scriptDir, args)))