dnsReaper icon indicating copy to clipboard operation
dnsReaper copied to clipboard

Paginate Cloudflare results

Open TravisVeazey opened this issue 2 years ago • 1 comments

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.

TravisVeazey avatar Oct 11 '22 20:10 TravisVeazey

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar Oct 11 '22 20:10 sonarqubecloud[bot]