Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Commit

Permalink
Finally fixed python noconsole issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisTruncer committed Jul 19, 2016
1 parent b24b7c2 commit 37fb6d8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[07.19.2016]
Released.: 2.28
Fixed....: Fixed issue within Veil where Python scripts gave cannot open archive. Determined it to be an issue with the bootloader. An old bootloader (runw.exe) was being used on the pyinstaller payloads which introduced the error. Updating to the latest bootloader fixed the problem. Might have to look into removing pwnstaller since it uses the old bootloader.

[06.29.2016]
Released.: 2.27.2
Modified.: Setup script now contains a fix for a bug in ubuntu and arch
Expand Down
2 changes: 1 addition & 1 deletion modules/common/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import helpers


version = "2.27.2"
version = "2.28"


# try to find and import the settings.py config file
Expand Down
4 changes: 2 additions & 2 deletions modules/common/supportfiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ def supportingFiles(payload, payloadFile, options):
# TODO: os.system() is depreciated, use subprocess or commands instead
random_key = helpers.randomString()
if architecture == "64":
os.system('WINEPREFIX=' + settings.WINEPREFIX + ' wine64 ' + settings.WINEPREFIX + '/drive_c/Python27/python.exe' + ' ' + os.path.expanduser(settings.PYINSTALLER_PATH + '/pyinstaller.py') + ' --onefile --key ' + random_key + ' ' + payloadFile)
os.system('WINEPREFIX=' + settings.WINEPREFIX + ' wine64 ' + settings.WINEPREFIX + '/drive_c/Python27/python.exe' + ' ' + os.path.expanduser(settings.PYINSTALLER_PATH + '/pyinstaller.py') + ' --onefile --noconsole --key ' + random_key + ' ' + payloadFile)
else:
os.system('WINEPREFIX=' + settings.WINEPREFIX + ' wine ' + settings.WINEPREFIX + '/drive_c/Python27/python.exe' + ' ' + os.path.expanduser(settings.PYINSTALLER_PATH + '/pyinstaller.py') + ' --onefile --key ' + random_key + ' ' + payloadFile)
os.system('WINEPREFIX=' + settings.WINEPREFIX + ' wine ' + settings.WINEPREFIX + '/drive_c/Python27/python.exe' + ' ' + os.path.expanduser(settings.PYINSTALLER_PATH + '/pyinstaller.py') + ' --onefile --noconsole --key ' + random_key + ' ' + payloadFile)

if settings.TERMINAL_CLEAR != "false": messages.title()

Expand Down
Binary file modified tools/runw_orig.exe
Binary file not shown.

0 comments on commit 37fb6d8

Please sign in to comment.