diff options
Diffstat (limited to 'ReverseEngineering/Get-PEB.ps1')
-rw-r--r-- | ReverseEngineering/Get-PEB.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ReverseEngineering/Get-PEB.ps1 b/ReverseEngineering/Get-PEB.ps1 index 7f3a2a2..1a196ac 100644 --- a/ReverseEngineering/Get-PEB.ps1 +++ b/ReverseEngineering/Get-PEB.ps1 @@ -174,7 +174,7 @@ http://msdn.microsoft.com/en-us/library/windows/desktop/aa813706(v=vs.85).aspx return
}
- $OSArchitecture = (Get-WmiObject Win32_Processor).DataWidth
+ $OSArchitecture = [Int](Get-WmiObject Win32_OperatingSystem).OSArchitecture.Split('-')[0]
try { $NativeUtils = [NativeUtils] } catch [Management.Automation.RuntimeException] # Only build the assembly if it hasn't already been defined
{
|