Extract the output of the systeminfo command:

systeminfo > systeminfo.txt

Run wesng to find potential exploits:

python wes.py systeminfo.txt -i 'Elevation of Privilege' --exploits-only | less
 
# https://github.com/SecWiki/windows-kernel-exploits