The following commandline options are available for WES-NG v0.95.
usage: wes.py [-u] [--update-wes] [--version] [--definitions [DEFINITIONS]]
[-p INSTALLEDPATCH [INSTALLEDPATCH ...]] [-d] [-e]
[--hide HIDDENVULN [HIDDENVULN ...]] [-o [OUTPUTFILE]] [-h]
systeminfo [qfefile]
Windows Exploit Suggester 0.95 ( https://github.com/bitsadmin/wesng/ )
positional arguments:
systeminfo Specify systeminfo.txt file
qfefile Specify the file containing the output of the 'wmic
qfe' command
optional arguments:
-u, --update Download latest list of CVEs
--update-wes Download latest version of wes.py
--version Show version information
--definitions [DEFINITIONS]
Definitions zip file (default: definitions.zip)
-p INSTALLEDPATCH [INSTALLEDPATCH ...], --patches INSTALLEDPATCH [INSTALLEDPATCH ...]
Manually specify installed patches in addition to the
ones listed in the systeminfo.txt file
-d, --usekbdate Filter out vulnerabilities of KBs published before the
publishing date of the most recent KB installed
-e, --exploits-only Show only vulnerabilities with known exploits
--hide HIDDENVULN [HIDDENVULN ...]
Hide vulnerabilities of for example Adobe Flash Player
and Microsoft Edge
-o [OUTPUTFILE], --output [OUTPUTFILE]
Store results in a file
-h, --help Show this help message and exit
examples:
Download latest definitions
wes.py --update
wes.py -u
Determine vulnerabilities
wes.py systeminfo.txt
Determine vulnerabilities using both systeminfo and qfe files
wes.py systeminfo.txt qfe.txt
Determine vulnerabilities and output to file
wes.py systeminfo.txt --output vulns.csv
wes.py systeminfo.txt -o vulns.csv
Determine vulnerabilities explicitly specifying KBs to reduce false-positives
wes.py systeminfo.txt --patches KB4345421 KB4487017
wes.py systeminfo.txt -p KB4345421 KB4487017
Determine vulnerabilies filtering out out vulnerabilities of KBs that have been published before the publishing date of the most recent KB installed
wes.py systeminfo.txt --usekbdate
wes.py systeminfo.txt -d
Determine vulnerabilities explicitly specifying definitions file
wes.py systeminfo.txt --definitions C:\tmp\mydefs.zip
List only vulnerabilities with exploits, excluding Edge and Flash
wes.py systeminfo.txt --exploits-only --hide "Internet Explorer" Edge Flash
wes.py systeminfo.txt -e --hide "Internet Explorer" Edge Flash
Download latest version of WES-NG
wes.py --update-wes