Releases: AghaFarokh/CF-Scan-TolidMelli
Releases · AghaFarokh/CF-Scan-TolidMelli
Release list
v2.1.2 - Bug Fix: Scan .0 and .255 Addresses
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
What's New in v2.1.1
Config Adjustment
- Increased
random_ips_per_rangefrom20to255for wider IP coverage per /24 range during randomized scans
v2.1 - Interactive CDN Selection Menu
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→ Cloudflare2→ Amazon CloudFront3→ Fastly4→ 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.pyThen simply enter 1, 2, 3, or 4 when prompted.
v2.0 - Multi-CDN Support (CloudFront + Fastly)
نسخه ۲.۰ - پشتیبانی از چند 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 قدیمی هنوز کار میکند)