Skip to content

乌云公开漏洞、知识库爬虫和搜索 crawl and search for wooyun.org public bug(vulnerability) and drops

Notifications You must be signed in to change notification settings

NightOfTwelve/wooyun_public

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wooyun_public

乌云公开漏洞爬虫和搜索

wooyun.org public bug(vulnerability) crawl and search

index search

1.安装相关组件

  • Python 2.7.X和pip
  • mongodb
  • scrapy (pip install scrapy)
  • Flask (pip install Flask)
  • pymongo (pip install pymongo)

2.爬取wooyun公开漏洞

  • 在scrapy/wooyun下运行scrapy crawl wooyun -a page_max=1 -a local_store=false -a update=false,有三个参数用于控制爬取:

    -a page_max: 控制爬取的页数,默认为1,如果值为0,表示所有页面

    -a local_store: 控制是否将每个漏洞离线存放到本地,默认为false

    -a update:控制是否重复爬取,默认为false

  • 第一次爬取全部内容时,用scrapy crawl wooyun -a page_max=0

  • 平时只爬取最近的更新时,用scrapy crawl wooyun -a page_max=1 -a update=false,可以根据自己的爬取频率和网站更新情况调整page_max的值

  • 全部公开漏洞的列表和每个漏洞的文本内容存在在mongodb中,大概约2G内容(到2015年9月),如果要爬全部文本和图片作为离线查询,要考虑足够的空间和时间

3.漏洞搜索

4.其它

  • 本程序只用于技术研究和个人使用,程序组件均为开源程序,漏洞来源于乌云公开漏洞,版权归wooyun.org

  • [email protected] 2015.9

About

乌云公开漏洞、知识库爬虫和搜索 crawl and search for wooyun.org public bug(vulnerability) and drops

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 62.1%
  • JavaScript 21.5%
  • HTML 16.0%
  • Shell 0.4%