Files
nsfocus_all/README.md
bozhihouc 832b20c262 Update README.md
20190528
2019-05-28 14:00:47 +08:00

36 lines
932 B
Markdown
Raw 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升级在导出的报告中新增了vulnhostHtml受影响主机文件跟之前版本整理报告的脚本有出入
>因此修改了获取受影响主机的def函数