Skip to content

Repository files navigation

Cloudflare CDN Scanner

This repository contains a scanner for checking Cloudflare-backed targets and related DNS behavior. It includes both the Go implementation under go/ and the packaged Windows executables in the repository root.

Included Files

  • scanner.exe - Go-based Windows executable.
  • scanner_py.exe - Python/PyInstaller Windows executable.
  • go/ - Go source, build scripts, and the scanner engine.
  • python/ - Python source and packaging files.
  • cidrs.txt, domains.txt - sample input lists used by the scanner.

Quick Start

  1. Build the Go scanner:

    go build -o scanner.exe ./cmd/scanner
  2. Build the cross-platform Go matrix:

    cd go
    pwsh ./build_matrix.ps1

    Or on Linux, macOS, or Termux:

    cd go
    bash ./build_matrix.sh

    This produces:

    • scanner-android-arm64 for Termux / Android arm64
    • scanner-linux-armv7 for Linux arm
    • scanner-darwin-arm64 for macOS arm64
    • scanner-windows-amd64.exe for Windows amd64
    • scanner-linux-amd64 for Linux amd64
  3. Run the scanner and provide an input file such as domains.txt.

  4. Review the generated output files in the repository root, including:

    • reachable_<timestamp>.txt
    • full_log_<timestamp>.txt
    • poisoned_dns_<timestamp>.txt
    • hijacked_dns_<timestamp>.txt
    • raw_ip_dump_<timestamp>.txt

Notes

  • The scanner performs active network probing, so only use it on targets you are authorized to test.
  • Some build outputs are intentionally ignored by git, but the two packaged executables are kept trackable in the repository root. are we there yet ?

About

Run this before range scout

Resources

Stars

14 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages