The cdncheck is a command line tool that detects various technologies associated with a given IP address or DNS. It focuses on identifying whether the IP or domain is linked to Content Delivery Networks (CDN), cloud providers, or Web Application Firewalls (WAF). This tutorial explains how to install cdncheck on Ubuntu 24.04.
Install cdncheck
Run the command below to get the most recent version of the cdncheck release and store it in a variable:
CDNCHECK_VERSION=$(curl -s "https://api.github.com/repos/projectdiscovery/cdncheck/releases/latest" | grep -Po '"tag_name": "v\K[0-9.]+')
Download the archive file from the releases page of the cdncheck repository:
wget -qO cdncheck.zip https://github.com/projectdiscovery/cdncheck/releases/latest/download/cdncheck_${CDNCHECK_VERSION}_linux_amd64.zip
Extract the executable file to the /usr/local/bin
directory:
sudo unzip -q cdncheck.zip -d /usr/local/bin cdncheck
We can check cdncheck version as follows:
cdncheck --version
Delete the archive file as it is no longer needed:
rm -rf cdncheck.zip
Testing cdncheck
To use cdncheck, you can specify the target domain or IP using the -i
option and customize the output format with various options:
cdncheck -i google.com -silent -resp
Output example:
google.com [cdn] [google]
Uninstall cdncheck
To uninstall cdncheck, remove the related file:
sudo rm -rf /usr/local/bin/cdncheck
We can also delete the cdncheck config directory:
rm -rf ~/.config/cdncheck
Leave a Comment
Cancel reply