Git Product home page Git Product logo

w8fuckcdn's Introduction

w8Fuckcdn

通过扫描全网绕过CDN获取网站IP地址

使用

  • target.log 配置扫描的IP段
  • config.py 设置要查找的文本、网站域名以及配置是否进行HTTPS扫描支持
  • 运行 python fuckcdn.py

程序流程

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

  • usage: python get_ips.py -d baidu.com
  • 当然,可以自己搜索相关域名,使用python get_ips.py -f target.txt --ips来生成IP段

特性

  1. 支持winodws/linux
  2. gevent 协程IO 最大化利用资源
  3. masscan扫描,最快能6分钟扫完全网
  4. 支持HTTPS
  5. 支持调节masscan的rate(速率)

安装环境

  • python 2.7
  • pip install gevent dnspython
  • Windows需要安装WinPcap

问题&答案

  1. 如果发现masscan运行出错请编译masscan
  2. 如果第一次扫描发现了大量IP可以将IP放到target.log进行第二次扫描并重新设置关键字
  3. 究竟是运行get_ips.py还是fuckcdn.py?两个脚本之间的关系?

Thanks

w8fuckcdn's People

Contributors

boy-hack avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.