You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 21, 2021. It is now read-only.
if (($PEInfo.DllCharacteristics-band$Win32Constants.IMAGE_DLLCHARACTERISTICS_NX_COMPAT) -ne$Win32Constants.IMAGE_DLLCHARACTERISTICS_NX_COMPAT)
2208
+
if (([Int] $PEInfo.DllCharacteristics-band$Win32Constants.IMAGE_DLLCHARACTERISTICS_NX_COMPAT) -ne$Win32Constants.IMAGE_DLLCHARACTERISTICS_NX_COMPAT)
2209
2209
{
2210
2210
Write-Warning"PE is not compatible with DEP, might cause issues"-WarningAction Continue
2211
2211
$NXCompatible=$false
@@ -2263,7 +2263,7 @@ $RemoteScriptBlock = {
2263
2263
Write-Verbose"Allocating memory for the PE and write its headers to memory"
2264
2264
2265
2265
[IntPtr]$LoadAddr= [IntPtr]::Zero
2266
-
if (($PEInfo.DllCharacteristics-band$Win32Constants.IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE) -ne$Win32Constants.IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE)
2266
+
if (([Int] $PEInfo.DllCharacteristics-band$Win32Constants.IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE) -ne$Win32Constants.IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE)
2267
2267
{
2268
2268
Write-Warning"PE file being reflectively loaded is not ASLR compatible. If the loading fails, try restarting PowerShell and trying again"-WarningAction Continue
0 commit comments