Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

cut-cdn

> DevOps
Open source

✂️ Removing CDN IPs from the list of IP addresses

351 stars0 likes3 views
WebsiteGitHub

About

✂️ Removing CDN IPs from the list of IP addresses

Removing CDN IPs from the list of IP addresses

CDN Providers • Install • Usage Parameters • Preview • Usage • Contact me


The tool's basic functionality would involve taking the list of IP addresses as input and then checking to determine whether the IP is behind a CDN. This tool will gather all CIDR of the most-known CDN providers and check your provided list with them. This is a handy tool for bug hunters.

CDN Providers

  • Akamai
  • Arvancloud
  • Azure CDN
  • Bing
  • CacheFly
  • CafeBazaar (sotoon)
  • CDNetworks
  • Cloudflare
  • Cloudfront
  • DDoS Guard
  • Digitalocean
  • Fastly
  • Google cloud
  • Imperva
  • Incapsula
  • Leaseweb
  • Oracle
  • Qrator
  • StackPath
  • StormWall
  • Sucuri
  • X4B

Installation

go install github.com/ImAyrix/cut-cdn@latest

Usage Parameters

cut-cdn -h

This will display help for the tool. Here are all the switches it supports.

yaml
Removing CDN IPs from the list of IP addresses

Usage:
  cut-cdn [flags]

Flags:
INPUT:
  -i, -ip string  Input [Filename | IP]

RATE-LIMIT:
  -t, -thread int  Number Of Thread [Number] (default 1)

CONFIGURATIONS:
  -a, -active          Active mode for check akamai
  -ua, -update-all     Update CUT-CDN Data (providers & ranges)
  -ur, -update-ranges  Update CUT-CDN Data (just ranges)

OUTPUT:
  -o, -output string  File to write output to (optional) (default "CLI")

DEBUG:
  -q, -silent   Show only IPs in output
  -v, -version  Show version of cut-cdn

Preview

Usage

Akamai

Most content delivery networks (CDNs) have their Classless Inter-Domain Routing (CIDR) blocks specified on a page on their website, which Cut CDN also receives and uses to determine whether the incoming IP is behind the CDN. However, Akamai has not publicly specified its IP range. I attempted to find the Akamai CIDRs myself and added them to the tool, which is fairly comprehensive but not entirely foolproof, and I may have overlooked some CIDRs. To ensure accuracy, you can use the "-active" key. When this switch is used, all providers are checked as before, but with the added step of actively checking for Akamai as well.

Note: If you want to check many IPs using this method, increase the number of threads so that it checks quickly and takes less time.

bash
cut-cdn -i 127.0.0.1 -active

Basic

Check your IP list with the IP ranges of CDN providers:

  • Single IP
    bash
    cut-cdn -i 127.0.0.1
    echo "127.0.0.1" | cut-cdn
  • List of IPs
    bash
    cut-cdn -i allIP.txt
    cat allIP.txt | cut-cdn
  • To store results use -o option
    bash
    cut-cdn -i allIP.txt -o output.txt
  • To set concurrency use -t option (Default is 1)
    bash
    cut-cdn -i allIP.txt -o output.txt -t 20

Providers

During the initial run of the tool after installation, two files are generated in the directory ~/.config/cut-cdn. One of these files, providers.yaml, contains the link pages where providers have specified their CIDRs. The other file, ranges.txt, contains the CIDRs of these providers.

  • Update Ranges

    The tool will request the provider's pages again and check whether a new range has been added or not.

    bash
      cut-cdn -ur
  • Update Providers

    This tool will query the Cut-CDN GitHub page and check if a new provider has been added or not. And then it queries the providers and checks if a new range has been added or not.

    bash
    cut-cdn -ua
  • Manual update providers

    If you yourself added a new link from the provider to the providers.yaml file, you must update the ranges once.

    bash
    cut-cdn -ur

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Gobugbountybugbounty-toolcdngolang

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理