项目作者: pyscript

项目描述 :
Central Processing Unit Information Gathering Tool
高级语言: Python
项目地址: git://github.com/pyscript/PyCPU.git
创建时间: 2018-11-29T18:23:10Z
项目社区:https://github.com/pyscript/PyCPU

开源协议:MIT License

下载


PyCPU - Central Processing Unit Information Gathering Tool

With this tool you can access detailed information of your processor information. You can also check the security vulnerability based on the current processor information of the processor you have used.

Programming Languages :

  • Python

System :

  • Linux

What is CPU ( Central Processing Unit ) ?

A central processing unit (CPU) is the electronic circuitry within a computer that carries out the instructions of a computer program by performing the basic arithmetic, logic, controlling and input/output (I/O) operations specified by the instructions.

RUN

  1. root@ismailtasdelen:~# git clone https://github.com/ismailtasdelen/PyCPU.git
  2. root@ismailtasdelen:~# cd PyCPU
  3. root@ismailtasdelen:~/PyCPU# python PyCPU.py

What’s on the tool menu ?

  1. [1] CPU All Information Gathering
  2. [2] Default Information Gathering
  3. [3] CPU Vulnerability Check
  4. [4] Exit

all_cpu() —> call the function. actually this function iscat /proc/cpuinfo running the code in the system. we can access all information.

  1. processor : 0
  2. vendor_id : GenuineIntel
  3. cpu family : 6
  4. model : 69
  5. model name : Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz
  6. stepping : 1
  7. microcode : 0x1c
  8. cpu MHz : 1700.062
  9. cache size : 3072 KB
  10. physical id : 0
  11. siblings : 4
  12. core id : 0
  13. cpu cores : 2
  14. apicid : 0
  15. initial apicid : 0
  16. fpu : yes
  17. fpu_exception : yes
  18. cpuid level : 13
  19. wp : yes
  20. flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm epb tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts
  21. bugs :
  22. bogomips : 4788.92
  23. clflush size : 64
  24. cache_alignment : 64
  25. address sizes : 39 bits physical, 48 bits virtual
  26. power management:
  27. ......

The cpu_info() function shows some simple cpu information.

  1. vendor_id : GenuineIntel
  2. model name : Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz
  3. microcode : 0x24
  4. cpu MHz : 2446.218
  5. cpu MHz : 2574.107
  6. cpu MHz : 2294.998
  7. cpu MHz : 2295.091
  8. cache size : 3072 KB

The cpu_vulncheck() function performs the vulnerability check on the computer you are running.

  1. bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf

Cloning an Existing Repository ( Clone with HTTPS )

  1. root@ismailtasdelen:~# git clone https://github.com/ismailtasdelen/PyCPU.git

Cloning an Existing Repository ( Clone with SSH )

  1. root@ismailtasdelen:~# git clone https://github.com/ismailtasdelen/PyCPU.git

Contact :

  1. Mail : ismailtasdelen@protonmail.com
  2. Linkedin : https://www.linkedin.com/in/ismailtasdelen
  3. GitHub : https://github.com/ismailtasdelen
  4. Telegram : https://t.me/ismailtasdelen