Skip to content

Commit

Permalink
init version for 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
boy-hack committed May 21, 2018
0 parents commit 4354007
Show file tree
Hide file tree
Showing 17 changed files with 562 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .idea/FindCDN_IP.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

261 changes: 261 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# w8Fuckcdn
> 通过扫描全网绕过CDN获取网站IP地址
## 使用
- target.log 配置扫描的IP段
- config.py 设置要查找的文本以及网站域名
- 运行 `python fuckcdn.py`

## 程序流程
基于masscan扫描IP端中开放的80端口,程序自动连接每个IP测试,筛选出符合条件的ip保存到result.txt
后续程序会提供"基于扫描子域名获取IP段"的方法来尽可能减少IP段范围

## 特性
1. 支持winodws/linux
2. gevent IO 最大化利用资源
3. masscan扫描,最快能6分钟扫完全网

## 安装
- pip install gevent

## 问题&答案
1. 如果发现masscan运行出错请编译masscan
2. 如果第一次扫描发现了大量IP可以将IP放到target.txt进行第二次扫描并重新设置关键字

## Thanks
- [https://github.com/ysrc/xunfeng](https://github.com/ysrc/xunfeng) 中提供的编译好的masscan
- [https://github.com/Tai7sy/fuckcdn](https://github.com/Tai7sy/fuckcdn) 思路
Binary file added bin/linux_64/masscan
Binary file not shown.
Binary file added bin/windows_64/masscan.exe
Binary file not shown.
8 changes: 8 additions & 0 deletions config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#coding:utf-8
#author:w8ay

host = "x.hacking8.com" # 需要查找网站的域名

keyword = "x.hacking8.com" # 需要查找的关键字 最好是英文

timeout = 5 # 连接网站时超时IP
Loading

0 comments on commit 4354007

Please sign in to comment.