Giter Site home page Giter Site logo

cdncheck_go's Introduction

cdnCheck_go

介绍

使用github.com/projectdiscovery/cdncheckASNCIDRCNAME来快速批量判断目标是否存在CDN,并可保存不存在CDN的域名和IP。

更新记录

  • 2023/12/21 修复projectdiscovery更新导致的不兼容问题,更新了CIDR、CNAME范围,为代码增加了部分注释

安装编译

重要:

需要下载 GeoLite2-ASN.mmdb 放到执行目录下,cdnCheck_go会自动从运行目录读取该mmdb文件 (已内嵌到文件中,无需单独下载)

最简单

前往release页面下载对应版本

自动

go install github.com/damit5/cdnCheck_go@latest

手动

git clone https://github.com/damit5/cdnCheck_go
cd cdnCheck_go
goreleaser build

用法

Usage of ./cdnCheck_darwin:
  -nd string
    	无CDN域名保存地址,不保存置空即可
  -ni string
    	无CDN IP保存地址,不保存置空即可
  -t string
    	需要扫描的文件
  -thread int
    	并发数 (default 20)
    	
./cdnCheck_darwin -t ../test/baidu.com.txt -thread 100 -nd ../test/nocdndomain.txt -ni ../test/nocdnip.txt

image-20220718142155174

疑难杂症

  • 建议修改本地NS Server的地址为8.8.8.8或者其他大DNS,不然可能因为并发太大导致结果很多请求被拒绝

cdncheck_go's People

Contributors

damit5 avatar

Stargazers

 avatar  avatar Pr0pro avatar  avatar  avatar LinZiyu avatar johnd0e avatar  avatar A avatar Y1Shui avatar VVeaker avatar MMM avatar F6JO avatar  avatar  avatar  avatar Mia0a avatar  avatar  avatar  avatar KZTTTTAZ avatar

Watchers

 avatar  avatar

cdncheck_go's Issues

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.