Skip to content

Releases: AghaFarokh/CF-Scan-TolidMelli

v2.1.2 - Bug Fix: Scan .0 and .255 Addresses

Choose a tag to compare

@AghaFarokh AghaFarokh released this 13 Mar 17:17

Bug Fix: Missing .0 and .255 Addresses in Subnet Scanning

Problem

When splitting large subnets (e.g. /20) into /24 ranges, the scanner used network.hosts() which silently skips the network address (.0) and broadcast address (.255) of each /24 block.

This caused valid CDN edge IPs like 188.114.98.0 (inside 188.114.96.0/20) to never be tested — reported as a GitHub issue.

Fix

Switched to list(network) which iterates all 256 addresses in a /24, including .0 and .255. CDN edge servers don't follow traditional network/broadcast address conventions, so these are perfectly valid targets.

Impact

Every /24 range was missing 2 IPs before this fix. For example, a /20 subnet (16 × /24 ranges) was missing 32 IPs total.

v2.1.1 - Config Update

Choose a tag to compare

@AghaFarokh AghaFarokh released this 12 Mar 15:06

What's New in v2.1.1

Config Adjustment

  • Increased random_ips_per_range from 20 to 255 for wider IP coverage per /24 range during randomized scans

v2.1 - Interactive CDN Selection Menu

Choose a tag to compare

@AghaFarokh AghaFarokh released this 11 Mar 13:16

What's New in v2.1

Interactive CDN Selection

  • Users are now prompted to choose which CDN to scan when running the script — no more manually editing config.json
  • Simple numbered menu at startup:
    • 1 → Cloudflare
    • 2 → Amazon CloudFront
    • 3 → Fastly
    • 4 → All (scans all three CDNs sequentially)

Other Improvements

  • Invalid input is gracefully re-prompted
  • Ctrl+C is handled cleanly at the selection menu

How to Use

python cf_scanner.py

Then simply enter 1, 2, 3, or 4 when prompted.

v2.0 - Multi-CDN Support (CloudFront + Fastly)

Choose a tag to compare

@AghaFarokh AghaFarokh released this 10 Mar 21:47

نسخه ۲.۰ - پشتیبانی از چند CDN

ویژگی‌های جدید

  • Amazon CloudFront: اسکن IP های CloudFront
  • Fastly: اسکن IP های Fastly
  • اسکن همزمان همه CDN ها: با تنظیم "cdn": "all"
  • فایل‌های سابنت جداگانه: subnets_cloudflare.txt، subnets_cloudfront.txt، subnets_fastly.txt
  • خروجی‌های جداگانه: نتایج هر CDN در فایل‌های مجزا ذخیره می‌شود

تغییرات

  • subnets.txt به subnets_cloudflare.txt تغییر نام یافت
  • کلاس CloudflareScanner به CDNScanner تغییر نام یافت (alias قدیمی هنوز کار می‌کند)