CFD is a tool that allows you to check one or more domains to see if they are protected by CloudFlare or not. The check is carried out based on five criteria: 3 headers in the HTTP response, IP, and SSL certificate issuer. The check result can be displayed on the screen or saved to a file.
To use Cfd you need to install Cargo and Rust.
Just paste into your terminal window:
bash
curl https://sh.rustup.rs -sSf | sh
cargo install cfd
bash
cfd [OPTIONS] <TARGET>
bash
<TARGET> A domain, domains divided by newline char or a file with domains.
bash
-h, --help Prints help information
-V, --version Prints version information
bash
-d Outputs a detailed result for each domain based on five checks.
-f Outputs only domains without Cloudflare presence.
-o <OUTPUT> The path to the folder where the cfd_report.{txt or csv} file will be stored. If a file won't be specified, output will be printed to stdout. If the detailed flag is set, the output will include checking details.
-h, --help Print help
-V, --version Print version
Every example will be shown with this set of domains: cloudflare.com, example0.com, example1.com, example2.com
-o
option, the result will be written in the form of cfd_report.csv
bash
cfd resources/cfd_work.txt
-o
option, the result will be written in the form of cfd_report.csv
bash
cfd resources/cfd_work.txt -d
-o
option, the result will be written in the form of cfd_report.csv
bash
cfd resources/cfd_work.txt -d -f
-o
option, the result will be written in the form of cfd_report.txt
bash
cfd resources/cfd_work.txt -f
cloudflare.com
example1.com
```rust use cfd::run;
async fn main(){ let target = "example.com\ncloudflare.com"; let checker = run(target.tostring()).await.unwrap(); asserteq!(checker.cfdetecteddomains().await.len() == 1, true); } ```
```rust use cfd::cf_ips::CFIPs;
async fn main(){ let cfips = CFIPs::load().await.unwrap(); assert!(cfips.checkipv4("131.0.72.1")); } ```
BTC: bc1qwp5pfsqeu0m00jsrsslv76j7x5jkv3z96wm0lz
BuyMeACoffee: https://www.buymeacoffee.com/arg2u
MIT