当我使用ProtectionID扫描 Windows目录中的几个可执行文件时,我碰巧扫描了 Windows 资源管理器。结果如下。
Scanning -> C:\Windows\explorer.exe
File Type : 64-Bit Exe (Subsystem : Win GUI / 2), Size : 2871808 (02BD200h) Byte(s)
[!] Warning : Cpu is AMD, this file is for IA64 (incompatible)
[x] Warning - FileAlignment seems wrong.. no solution calculated (using NULL)
[File Heuristics] -> Flag : 00000000000001001101000000000000 (0x0004D000)
[CompilerDetect] -> Visual C++ 9.0 (Visual Studio 2008)
[!] File appears to have no protection or is using an unknown protection
- Scan Took : 0.548 Second(s)
Run Code Online (Sandbox Code Playgroud)
我知道我的处理器是 Core 2 Duo 并且它是 x64 架构,这导致了警告标志。但是我安装的操作系统是 Windows 7 x64。以上结果让我产生了一个问题,我的操作系统是 x64 还是 IA64?我怎样才能找到那个?
更新 在最新版本的 ProtectionID 中,此错误警告似乎已修复。
Bob*_*Bob 18
CPU 类型应该在环境变量中%PROCESSOR_ARCHITECTURE%,并且echo %PROCESSOR_ARCHITECTURE%在命令提示符中应该给你AMD64一个 x86-64 处理器。msinfo32.exe 还应该有一个“系统类型”字段,它为我在 x86-64 处理器上显示基于 x64 的 PC。我不确定您如何/为什么拥有 IA64 系统二进制文件...
好像是ProtectionID的问题:
Scanning -> C:\Windows\explorer.exe
File Type : 64-Bit Exe (Subsystem : Win GUI / 2), Size : 2871808 (02BD200h) Byte(s)
[!] Warning : Cpu is AMD, this file is for IA64 (incompatible)
[x] Warning - FileAlignment seems wrong.. no solution calculated (using NULL)
[File Heuristics] -> Flag : 00000000000001001101000000000000 (0x0004D000)
[CompilerDetect] -> Visual C++ 9.0 (Visual Studio 2008)
[!] File appears to have no protection or is using an unknown protection
- Scan Took : 0.828 Second(s)
Run Code Online (Sandbox Code Playgroud)
但是在 PE Stuff 选项卡中:
作为 Q 笔记的第一条评论,Windows 7 没有 IA64 版本。对于 IA64 版本,您必须使用服务器。
也许确定此信息的最可靠方法是使用 WMI 以及Win32_OperatingSystem和Win32_ComputerSystem类。
使用 PowerShell 和gwmi别名Get-WmiObject:
PS> gwmi win32_computersystem -计算机一、二、本地主机| ft __SERVER,系统类型 __SERVER 系统类型 ———————————— 一台基于 X86 的 PC 两台基于 x64 的 PC 三台基于 x64 的 PC
所以一个不是64位,另外两个都是x64,都不是IA64。1然后:
PS [64] E:\ #12> gwmi win32_operatingsystem -comp one,two,localhost| 英尺 __SERVER,标题 __服务器标题 ————————— 一个 Microsoft® Windows Server® 2008 标准版 两个 Microsoft Windows Server 2008 R2 标准版 三个 Microsoft Windows 7 Ultimate
所以一个是Win2k8 32bit,两个是Win2k8R2 64bit,三个(本地主机)是Win7 64bit。
1我没有 IA64 系统来检查该SystemType字段的值。
| 归档时间: |
|
| 查看次数: |
45813 次 |
| 最近记录: |