r/HowToHack • u/districttry • Jul 10 '26
Question
How do i find the real ip adress of a site behind cloudflare? Tryed many tools no good..
0
Upvotes
r/HowToHack • u/districttry • Jul 10 '26
How do i find the real ip adress of a site behind cloudflare? Tryed many tools no good..
View all comments
1
u/Dapper-Depth2940 Jul 11 '26
First off, that is really the whole point behind Cloudflare.
Their servers will remove all data regarding your real IP address, and instead load their own secure servers, which routes the traffic to the real location. Thus, a DNS query for your site will return Cloudflare's server addresses instead.
But I have found some quirks that may leak it:
The site was using a different un-secured DNS provider before Cloudflare
Given that you are able to find the full range of the target's provider server IP addrs (eg. AWS, Google cloud, etc.), you can iterate through each with the
Host:site-name.comin the HTTP request headers.But a caveat is that a certain "tunnel" feature must be disabled, and a lack of origin allow list in the target's Cloudflare config.