天天看点

Windows-Exploit-Suggester

Windows-Exploit-Suggester

1,下载Windows-Exploit-Suggester

下载地址:https://github.com/GDSSecurity/Windows-Exploit-Suggester

2,此python脚本用2.x(2.7.9)

下载python2.7版本,配置环境变量,右击计算机,选择属性=》高级系统设置=》环境变量=》找到Path=》编辑=》在变量值最后加上;E:\Python27;E:\Python27\Scripts

Windows-Exploit-Suggester
Windows-Exploit-Suggester
Windows-Exploit-Suggester

在cmd下查看python和pip是否可以执行命令

Windows-Exploit-Suggester
Windows-Exploit-Suggester

3 ,改变pip2de xlrd的版本

pip2 install xlrd==1.2.0 安装xlrd=1.2.0 否则提示无法解析excel

Windows-Exploit-Suggester

4,下载漏洞库

将下载的文件放到Python27目录下,在cmd中找到对应得位置

Windows-Exploit-Suggester

执行命令

python2 windows-exploit-suggester.py –update

下载漏洞库

Windows-Exploit-Suggester

生成了2021-03-25-mssb.xls文件

Windows-Exploit-Suggester

打开表可以看到漏洞补丁

Windows-Exploit-Suggester

5,生成系统的信息文件

systeminfo>1.txt

Windows-Exploit-Suggester
Windows-Exploit-Suggester

6,查看系统漏洞

将文件都放在E:\Python27\Windows-Exploit-Suggester-master目录下

Windows-Exploit-Suggester

进入cmd命令

执行命令

python2 windows-expoit-suggester.py --database 2021-3-7-mssb.xls --systeminfo 1.txt

Windows-Exploit-Suggester

继续阅读