Remove unecessary consts

This commit is contained in:
Itay Mizeretz 2018-08-23 14:10:50 +03:00
parent cdc576e77e
commit 5489a68049
1 changed files with 4 additions and 9 deletions

View File

@ -3,14 +3,8 @@ import os
import platform import platform
import zipfile import zipfile
# Name of zip file that will be created
MIMIKATZ_ZIP_NAME = 'tmpzipfile123456.zip'
# Name of zip file in monkey. That's the name of the file in the _MEI folder # Name of zip file in monkey. That's the name of the file in the _MEI folder
MIMIKATZ_ZIP_NAME_MONKEY = MIMIKATZ_ZIP_NAME MIMIKATZ_ZIP_NAME = 'tmpzipfile123456.zip'
# Name of mimikatz dll in zip archive
MIMIKATZ_DLL_NAME_ZIP = 'tmpzipfile123456.dll'
# Password for mimikatz zip
MIMIKATZ_ZIP_PASSWORD = 'HEDFGFDSgfsdg4235342#@$^@#shd35'
def get_mimikatz_zip_path(): def get_mimikatz_zip_path():
@ -31,7 +25,7 @@ a.binaries += [('sc_monkey_runner64.so', '.\\bin\\sc_monkey_runner64.so', 'BINAR
if platform.system().find("Windows") >= 0: if platform.system().find("Windows") >= 0:
a.datas = [i for i in a.datas if i[0].find('Include') < 0] a.datas = [i for i in a.datas if i[0].find('Include') < 0]
a.binaries += [(MIMIKATZ_ZIP_NAME_MONKEY, get_mimikatz_zip_path(), 'BINARY')] a.binaries += [(MIMIKATZ_ZIP_NAME, get_mimikatz_zip_path(), 'BINARY')]
pyz = PYZ(a.pure) pyz = PYZ(a.pure)
exe = EXE(pyz, exe = EXE(pyz,
@ -43,4 +37,5 @@ exe = EXE(pyz,
debug=False, debug=False,
strip=None, strip=None,
upx=True, upx=True,
console=True , icon='monkey.ico') console=True,
icon='monkey.ico')