小工具
lcj435543665
这个作者很懒,什么都没留下…
展开
-
根据CVE编号爬取相关信息
import openpyxl as xcldef init_wb(): wb = xcl.Workbook() sheet = wb.active sheet.title = "CVE INFO" sheet["A1"] = "CVE NO." sheet["B1"] = "V2" sheet["C1"] = "V3" sheet["...原创 2019-03-31 19:32:14 · 1251 阅读 · 0 评论 -
shell版本爬取NVD网站信息
src=$1cache_dir=~/cache_for_nvd/url_head="https://nvd.nist.gov/vuln/detail/"cnt=0total=`wc -l ${src}|awk '{print $1}'`if [ ! -d ${cache_dir} ];then mkdir ${cache_dir}fiecho "CVE编号","V3","V2...原创 2019-04-20 19:31:45 · 556 阅读 · 0 评论 -
表格对比工具
对比表格的python小工具import openpyxl as xlsfrom openpyxl.styles import PatternFill, Color, NamedStylefrom openpyxl.styles import colorsimport sys#MAX_CMP_ROW为行对比中,最后一列的列序号,根据表格自定义MAX_CMP_ROW=10#比对row...原创 2019-04-26 21:03:36 · 1675 阅读 · 0 评论