Skip to content

Commit

Permalink
Updated to PowerShell check and whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisTruncer committed Sep 4, 2017
1 parent 15d1cf1 commit f31d9ca
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[09.04.2017]
Released.: 3.1.4
Modified.: Updated PowerShell check for UTC time and removed extra whitespace

[06.06.2017]
Released.: 3.1.2
Modified.: Fixed golang payloads when using virtualprotect
Expand Down
20 changes: 10 additions & 10 deletions Tools/Evasion/evasion_common/gamemaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def senecas_games(evasion_payload):

# Add a tab for this check
num_tabs_required += 1

#if evasion_payload.required_options["DISKSIZE"][0].lower() != "x":

# check_code += "require 'win32api'\n"
Expand All @@ -325,16 +325,16 @@ def senecas_games(evasion_payload):

# Add a tab for this check
# num_tabs_required += 1

#if evasion_payload.required_options["NUMPROCS"][0].lower() != "x":
# check_code += "require 'win32ole'\n"
# check_code += 'if (WIN32OLE.connect("winmgmts://").ExecQuery("SELECT NumberOfCores FROM Win32_Processor").to_enum.first.NumberOfCores >= ' + evasion_payload.required_options["NUMPROCS"][0] + ')\n'

# Add a tab for this check
# num_tabs_required += 1

#if evasion_payload.required_options["MINRAM"][0].lower() != 'x':

#if evasion_payload.required_options["USERPROMPT"][0].lower() != "x":

## title_bar = evasion_helpers.randomString()
Expand Down Expand Up @@ -377,7 +377,7 @@ def senecas_games(evasion_payload):

# Add a tab for this check
num_tabs_required += 1

if evasion_payload.required_options["USERPROMPT"][0].lower() != 'x':

flags = evasion_helpers.randomString()
Expand Down Expand Up @@ -423,7 +423,7 @@ def senecas_games(evasion_payload):

# Add a tab for this check
num_tabs_required += 1

if evasion_payload.required_options["NUMPROCS"][0].lower() != 'x':

min_procs = evasion_helpers.randomString()
Expand All @@ -438,7 +438,7 @@ def senecas_games(evasion_payload):

# Add a tab for this check
num_tabs_required += 1

if evasion_payload.required_options["DISKSIZE"][0].lower() != 'x':

min_disksize = evasion_helpers.randomString()
Expand All @@ -453,7 +453,7 @@ def senecas_games(evasion_payload):

# Add a tab for this check
num_tabs_required += 1

if evasion_payload.required_options["NUMCLICKS"][0].lower() != 'x':

perl_min_clicks = evasion_helpers.randomString()
Expand All @@ -480,7 +480,7 @@ def senecas_games(evasion_payload):

# Add a tab for this check
num_tabs_required += 1

if evasion_payload.required_options["REGSIZE"][0].lower() != 'x':

reg_mb_size = evasion_helpers.randomString()
Expand Down Expand Up @@ -559,7 +559,7 @@ def senecas_games(evasion_payload):

check_code += "$" + standard_time_zone + ' = [System.TimeZone]::CurrentTimeZone.StandardName\n'
check_code += "$" + daylight_time_zone + ' = [System.TimeZone]::CurrentTimeZone.DaylightName\n'
check_code += "if ($" + standard_time_zone + ' -eq "Coordinated Universal Time" -or $' + daylight_time_zone + ' -eq "Coordinated Universal Time") {\n'
check_code += "if ($" + standard_time_zone + ' -ne "Coordinated Universal Time" -or $' + daylight_time_zone + ' -eq "Coordinated Universal Time") {\n'
num_tabs_required += 1

if evasion_payload.required_options["MINRAM"][0].lower() != "false":
Expand Down
2 changes: 1 addition & 1 deletion lib/common/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
sys.exit(1)

# Current version of Veil
veil_version = "3.1.3"
veil_version = "3.1.4"


def title_screen():
Expand Down

0 comments on commit f31d9ca

Please sign in to comment.