Skip to content

Commit 1c68eac

Browse files
committed
Util: Adapt powershell call in GetASLREnabledState
Mitigation options are only saved by the process name, such that Igor64.exe is sufficient.
1 parent 83dadcd commit 1c68eac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Packages/MIES/MIES_Utilities_System.ipf

+1-1
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ Function GetASLREnabledState()
282282

283283
string cmd, entry, list, setting, result
284284

285-
sprintf cmd, "powershell.exe -nologo -noprofile -command \"Get-ProcessMitigation -Name '%s'\"", GetWindowsPath(GetIgorExecutable())
285+
sprintf cmd, "powershell.exe -nologo -noprofile -command \"Get-ProcessMitigation -Name Igor64.exe\""
286286

287287
ExecuteScriptText/B/Z cmd
288288

0 commit comments

Comments
 (0)