CPE命名标准 - Common Platform Enumeration

简培
2023-12-01


参考网站:https://nmap.org/book/output-formats-cpe.html


打开上面的网站,看第一段内容:

Common Platform Enumeration (CPE) is a standardized way to name software applications, operating systems, and hardware platforms.

CPE是(Common Platform Enumeration的缩写)以标准化方式为软件应用程序、操作系统及硬件命名的方法。


CentOS7下就可以看到CPE命名内容

[root@gitlab1 ~]# hostnamectl 
   Static hostname: gitlab1
         Icon name: computer-vm
           Chassis: vm
        Machine ID: 586f03f69fab4530b461eb2a32506344
           Boot ID: 39f587bc7a2d4a42a00b709c09939fda
    Virtualization: vmware
  Operating System: CentOS Linux 7 (Core)
       CPE OS Name: cpe:/o:centos:centos:7
            Kernel: Linux 3.10.0-514.6.1.el7.x86_64
      Architecture: x86-64


内容格式:

cpe:/<part>:<vendor>:<product>:<version>:<update>:<edition>:<language>


简单了,把<part>这个搞清楚就行了

a for applications,

h for hardware platforms, or

o for operating systems.


a是应用,h是硬件平台,o是操作系统


前段时间在想运维平台上少了一个将数据中心所有东西(软、硬件、文件、进程)配上URL的方法,CPE正好提供了一种可行的思路。

原文地址

 类似资料: