目標系統信息收集組件,徹底模塊化,腳本都可拆可並、可合可分的使用!html
1、有反饋說卡在子域名暴力窮舉上,更新了默認字典的大小,啓用大字典方法以下python
mv domain_default.csv domain_default.csv.bak
mv domain_larger.csv domain_default.csvlinux
2、提高執行速度
wydomain_ip2domain.py 第71行,修改processes=你認爲能接受的進程數git
多進程,服務器要是好的話,能夠提升,問題是bing.com可能會由於頻率太高被封
pool = multiprocessing.Pool(processes=10)github
http://wydomain.wuyun.org/report/result_xiaomi.com,xiaomi.cn,duokan.com.htmlubuntu
http://wydomain.wuyun.org/report/result_wooyun.org.html
http://wydomain.wuyun.org/report/result_yiche.com.html
http://wydomain.wuyun.org/report/result_ablesky.com.htmlcentos
python wydomain.py wooyun.org 建議後臺運行,而後去睡覺,一覺醒來會有新發現! nohup python wydomain.py wooyun.org &
使用瀏覽器打開:report/result_wooyun.org.html
yum -y install git git clone https://github.com/ring04h/wydomain.git
http://phantomjs.org/download.html 32位系統 wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-i686.tar.bz2 tar vxf phantomjs-1.9.8-linux-i686.tar.bz2 yum install openssl-devel freetype-devel fontconfig-devel cp ./bin/phantomjs /usr/bin/ 64位系統 wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2 tar vxf phantomjs-1.9.8-linux-x86_64.tar.bz2 yum install openssl-devel freetype-devel fontconfig-devel cp ./bin/phantomjs /usr/bin/
wget http://www.thc.org/releases/thc-ipv6-2.7.tar.gz tar zvxf thc-ipv6-2.7.tar.gz cd thc-ipv6-2.7 yum install libpcap-devel openssl-devel make cp dnsdict6 /usr/bin/
apt-get install git git clone https://github.com/ring04h/wydomain.git
http://phantomjs.org/download.html 32位系統 wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-i686.tar.bz2 tar vxf phantomjs-1.9.8-linux-i686.tar.bz2 cp ./bin/phantomjs /usr/bin/ 64位系統 wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2 tar vxf phantomjs-1.9.8-linux-x86_64.tar.bz2 cp ./bin/phantomjs /usr/bin/
apt-get install git git clone https://github.com/ring04h/wydomain.git
http://phantomjs.org/download.html 32位系統 wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-i686.tar.bz2 tar vxf phantomjs-1.9.8-linux-i686.tar.bz2 sudo apt-get install libsqlite3-dev libfontconfig1-dev libicu-dev libfreetype6 libssl-dev libpng-dev libjpeg-dev cp ./bin/phantomjs /usr/bin/ 64位系統 wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2 tar vxf phantomjs-1.9.8-linux-x86_64.tar.bz2 sudo apt-get install libsqlite3-dev libfontconfig1-dev libicu-dev libfreetype6 libssl-dev libpng-dev libjpeg-dev cp ./bin/phantomjs /usr/bin/
wget http://www.thc.org/releases/thc-ipv6-2.7.tar.gz tar zvxf thc-ipv6-2.7.tar.gz cd thc-ipv6-2.7 sudo apt-get install libpcap-dev libssl-dev make sudo cp dnsdict6 /usr/bin/
wydomains = { 'domain': { 'weibo.com': { 'm.weibo.com': {}, 'wwww.weibo.com': {}, 'movie.weibo.com': {}, 'data.weibo.com': {}, }, 'weibo.cn': { 'www.weibo.cn': {}, 'm.weibo.cn': {}, 'game.weibo.cn': {}, }, 'sina.com.cn': { 'news.sina.com.cn': {}, 'blog.sina.com.cn': {}, 'my.sina.com.cn': {}, }, 'sina.cn' : { 'www.sina.cn': {}, 'news.sina.cn': {}, }, }, 'ipaddress': { '42.62.52.0/24': { '192.168.1.23': { 'www.bizmyth.net': {}, 'www.189.com': {}, }, '192.168.1.58': { 'www.xiaomi.com': {}, 'z.aizhan.com': {}, }, }, '42.62.14.0/24': { '192.168.2.23': { 'www.aizhan.net': {}, 'www.wanda.cn': {}, }, '192.168.2.22': { 'wuyun.org': {}, 'zone.wooyun.org': {}, }, }, }, 'mx': { ‘weibo.com': ['mxbiz2.qq.com', 'mxbiz1.qq.com’], ‘weibo.cn': ['mxbiz2.qq.com', 'mxbiz1.qq.com’], ’sina.com.cn': ['mxbiz2.qq.com', 'mxbiz1.qq.com’], ’sina.cn': ['mxbiz2.qq.com', 'mxbiz1.qq.com’] }, 'dns': { ‘weibo.com': ['ns1.dnsv2.com', 'ns2.dnsv2.com’], ‘weibo.cn': ['ns1.dnsv2.com', 'ns2.dnsv2.com’], ’sina.com.cn': ['ns1.dnsv2.com', 'ns2.dnsv2.com’], ’sina.cn': ['ns1.dnsv2.com', 'ns2.dnsv2.com’], } ’soa': { ‘weibo.com': ['ns1.dnsv2.com', 'ns2.dnsv2.com’], ‘weibo.cn': ['ns1.dnsv2.com', 'ns2.dnsv2.com’], ’sina.com.cn': ['ns1.dnsv2.com', 'ns2.dnsv2.com’], ’sina.cn': ['ns1.dnsv2.com', 'ns2.dnsv2.com’], } }from:https://github.com/ring04h/wydomain