Files
nsfocus_all/README.md
bozhihouc cefa9339e4 201900528
201900528
2019-05-28 14:17:51 +08:00

40 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# nsfocus
### RSAS_html报表处理成Excel(xls)
# 条件
> 需要导入第三方库xlwt库、BeautifulSoup库、lxml库
> pip install xlwt
> BeautifulSoup库:https://pypi.python.org/pypi/beautifulsoup4/4.6.0
> pip install lxml
> 输出的HTML报告必须包含 综合报表+主机报表
<br/>RSAS V6.0
<br/>执行python nsfocus_bug_excel.py
<br/>会自行处理的的index.html文件
<br/>输出格式:受影响主机+风险等级+漏洞名称+漏洞描述+修复建议+CVE编号
##### 没有落实具体的版本,可能会有差异
### 20180416
> 感谢大佬指出 134行 修复建议
> 在mac+windows系统 测试通过,脚本正常运行
### 20181108
> 使用join()修复CVE编号过多的情况
> 感谢耀神
### 20190528
>RSAS升级(V6.0R02F04SP03)在导出的报告中新增了vulnhostHtml受影响主机文件跟之前版本整理报告的脚本有出入
>因此修改了获取受影响主机的def函数
>需要注意的是:主机报表里面有两个相同的漏洞,但是在综合报表里面只有一个,
>其原因是在这台主机上安装了多个相同的服务,开启的端口不一样导致的