exploit-suggester.py Windows/Linux提权辅助
Windows/Linux提权辅助)
Windows提权辅助工具箱下载地址: 点击跳转下载
Windows 提权辅助
下载下来先执行
./windows-exploit-suggester.py --update
将Windows漏洞库下载下来保存为xls
之后去Windows主机在cmd下执行
systeminfo > 1.txt
最后执行代码
./windows-exploit-suggester.py --database 2021-06-23-mssb.xls --systeminfo 1.txt
显示我未打的补丁
Linux 提权辅助
Linux 提权辅助工具下载:点击跳转下载
下载下来直接放入Linux中执行
踩个坑
原因是最近xlrd更新到了2.0.1版本,只支持.xls文件。所以pandas.read_excel(‘xxx.xlsx’)会报错。
解决方案
可以安装旧版xlrd,在cmd中运行:
pip uninstall xlrd
pip install xlrd==1.2.0
也可以用openpyxl代替xlrd打开.xlsx文件:
df=pandas.read_excel(‘data.xlsx’,engine=‘openpyxl’)