# Detecting-the-patch-of-CVE-2018-1010<br>
This C++ code developed on Visual Studio 2017. This program works with cmd's commands.<br>
In this program first, we check your operating system version and then according to Microsoft's notification checks whether you have installed the patch for CVE-2018-1010 vulnerability with your Windows or not.<br>
you can test this code with the following commands in windows:<br>
1) checking OS version:<br>
systeminfo | findstr /B /C:"OS Name" /C:"OS Version"<br>
2) checking the installation of patch:<br>
wmic qfe | find "the_number_of_desired_patch"<br>
[4.0K] /data/pocs/539b00ec8f91a5fad1e259fd7da3a93df2fa983f
├── [4.0K] ConsoleApplication2
│ ├── [ 11K] ConsoleApplication2.cpp
│ ├── [8.2K] ConsoleApplication2.vcxproj
│ ├── [1.3K] ConsoleApplication2.vcxproj.filters
│ ├── [ 165] ConsoleApplication2.vcxproj.user
│ ├── [4.0K] Debuge
│ │ ├── [4.0K] ConsoleA.A5D574DE.tlog
│ │ │ ├── [ 930] CL.command.1.tlog
│ │ │ ├── [ 19K] CL.read.1.tlog
│ │ │ ├── [1.5K] CL.write.1.tlog
│ │ │ ├── [ 217] ConsoleApplication2.lastbuildstate
│ │ │ ├── [1.5K] link.command.1.tlog
│ │ │ ├── [3.9K] link.read.1.tlog
│ │ │ └── [ 786] link.write.1.tlog
│ │ ├── [1.3K] ConsoleApplication2.Build.CppClean.log
│ │ ├── [6.0K] ConsoleApplication2.log
│ │ ├── [306K] ConsoleApplication2.obj
│ │ ├── [2.8M] ConsoleApplication2.pch
│ │ ├── [5.9K] stdafx.obj
│ │ ├── [171K] vc141.idb
│ │ └── [260K] vc141.pdb
│ ├── [ 614] stdafx.cpp
│ ├── [ 642] stdafx.h
│ └── [ 630] targetver.h
├── [4.0K] Debug
│ ├── [ 1] a.txt
│ ├── [1.4M] ConsoleApplication2.exe
│ ├── [3.4M] ConsoleApplication2.ilk
│ └── [9.5M] ConsoleApplication2.pdb
└── [ 594] README.md
4 directories, 26 files