Created
July 3, 2017 07:10
-
-
Save bfgits/7ccb1155ac115ab335ac8c10a7d8e104 to your computer and use it in GitHub Desktop.
wooyun
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/hanc00l/wooyun_public | |
虚拟机1:在2016年6月底爬的wooyun全部漏洞库和知识库内容,集成了Elasticsearch搜索,总共35G(压缩后约14G),网盘地址为: http://pan.baidu.com/s/1kVtY2rX ,提取密码:5ik7(8.5更新) | |
使用方法: | |
1、压缩包解压后是一个vmware虚拟机的镜像,可以由vmware直接打开运行; | |
2、由于在制作压缩包时虚拟机为“挂起”状态,当前虚拟机的IP地址可能和宿主机的IP地址段不一致,请将虚拟机重启后重新获取IP地址,虚拟机用户密码为hancool/qwe123; | |
3、进入wooyun_public目录,先用git更新一下到最新的代码git pull(如果提示merge冲突,先进行git reset --hard origin/master后再git pull); | |
4、在elasticsearch-2.3.4/bin目录下运行./elasticsearch -d (-d表示以后台方式运行) | |
5、进入wooyun_public/flask目录,运行./app.py; | |
6、打开浏览器,输入http://ip:5000,ip为虚拟机的网卡地址(使用ifconfig eth0查看) | |
注:推荐将mongodb升级至最新版本,可将数据部分缩减至1G以内(800M左右)。 | |
虚拟机2:已打包了一个安装了所有组件和elasticsearch搜索的虚拟机,不包含具体内容,压缩后约2.3G(由于wooyun还处于升级关闭期间,无法进行内容的爬取),网盘地址:http://pan.baidu.com/s/1nvrS3zj,提取密码:2290 (8.5更新) | |
使用方法: | |
1、压缩包解压后是一个vmware虚拟机的镜像,可以由vmware直接打开运行; | |
2、由于在制作压缩包时虚拟机为“挂起”状态,当前虚拟机的IP地址可能和宿主机的IP地址段不一致,请将虚拟机重启后重新获取IP地址,虚拟机用户密码为hancool/qwe123; | |
3、在elasticsearch-2.3.4/bin目录下运行./elasticsearch -d (-d表示以后台方式运行) | |
4、运行mongo-connect,用于将mongodb的数据实时同步到elasticsearch:sudo mongo-connector -m localhost:27017 -t localhost:9200 -d elastic2_doc_manager & | |
5、进入wooyun_public目录,先用git更新一下到最新的代码git pull(如果提示merge冲突,先进行git reset --hard origin/master后再git pull); | |
6、分别进入wooyun_public目录下的wooyun和wooyun_drops,运行爬虫爬取数据(爬取全部数据并且本地离线缓存):scrapy crawl wooyun -a page_max=0 -a local_store=true -a update=true | |
7、进入wooyun_publich目录下的flask,运行./app.py,启动web服务 | |
8、打开浏览器,输入http://ip:5000,ip为虚拟机的网卡地址(使用ifconfig eth0查看) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment