dnsReaper
dnsReaper copied to clipboard
Paginate Cloudflare results
By default, Cloudflare's API only returns the first 50(?) zones and the first 100 records in a zone. To support arbitrary numbers of zones and records, it's necessary to use "raw" requests and paginate through the results.
These changes allowed me to run this tool against our domain, testing all 212 names in our zone; prior to implementing these changes, only 100 names were tested, notably missing a takeover risk that was "hiding" in the remaining 112 names.
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication