![]() |
|
[Release] CloudFlare IP Resolver [PHP] - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45) +--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449) +---- Forum: Website Hacking (https://hackforums.net/forumdisplay.php?fid=43) +---- Thread: [Release] CloudFlare IP Resolver [PHP] (/showthread.php?tid=2660401) |
[Release] CloudFlare IP Resolver [PHP] - Phizo - Jul 8, 2012 I recently came across a thread where ๖ۣۜDan was speaking of his "Cloudflare > Real IP" program he created in Python. I had a look at it and thought of creating my own in PHP, with some minor improvements. ๖ۣۜDan's version can be found here if you're interested in checking it out: https://hackforums.net/showthread.php?tid=2564147 My version is also intended to be ran from the console, if you wish to modify it and use it for the web you may do so yourself. I can't be bothered making two versions of it even if it only requires a small amount of modifications. This also isn't a guaranteed way of resolving an IP address protected by CloudFlare, but it will attempt to do so. Requirements:
Screenshots: Spoiler (Click to View) Code: PHP Code * - Oats - Jul 8, 2012 Looks nice man! Congratulations, will definitly try it out later. -Oats * - Modify - Jul 8, 2012 Wouldn't surprise me at all if the next wave of booter sources included this as a feature on top of basic domain>IP resolving. Very helpful, thank you for the share. * - uBurn - Jul 8, 2012 Make it retard proof so people don't copy and paste it :3 * - n31ght0 - Jul 9, 2012 reserved for update. i will change it and host it on server so it can use public. can i do that bro ?? * - Phizo - Jul 9, 2012 (Jul 9, 2012 12:13 AM)n31ght0 Wrote: reserved for update. Sure, do what you like. Feel free to post it here if you like, I'll put it in the thread under your name. * - einbrettholz - Jul 9, 2012 lol, this scrpit found my real server ip in less than one second Oo wtf. phizo, what do you think about LeRes finder script? source: https://leresearcher.wordpress.com/2012/06/15/hello-mr-dns-do-you-know-where-website-x-hides/ Code #!/usr/bin/python* - Phizo - Jul 9, 2012 (Jul 9, 2012 12:37 AM)einbrettholz Wrote: lol, this scrpit found my real server ip in less than one second Oo wtf. That's good, it means it's working perfectly then. As for that script, I believe it wouldn't work on Windows as the "dig" command isn't valid in Windows. My script is somewhat the same except instead of asking the DNS I looked at DNS reports myself for the most popular websites out there and then I included the subdomains that seemed to be used a lot. Mine doesn't search for other websites on the server either since it was created to attempt to resolve IP's that are being masked by CloudFlare. It's a good idea though. * - Prominent - Jul 9, 2012 You never stop impressing me. Good job :3 <3 * - Prx3R0 - Jul 9, 2012 So that the cloudflare.php i saw LOL! Nice bro, keep up the good work! :D * - Hooded Robin - Jul 9, 2012 NIce work Phizo, thanks for the share * - Phizo - Jul 9, 2012 Thanks for the feedback :3 Every thanks is greatly appreciated. * - deiski - Jul 9, 2012 Thank's for the program. It will become useful. * - n31ght0 - Jul 9, 2012 sorry bro why it not working with url that not contain www ?? ex http://w3.tbd.my/ and i get this error Code URL is invalid.* - Phizo - Jul 9, 2012 (Jul 9, 2012 04:04 PM)n31ght0 Wrote: sorry bro why it not working with url that not contain www ?? URLs must be formatted that way for compatibility reasons. A lot of sites require www to be in the URL, generally governmental/educational sites. Code C:\Users\Phizo\Desktop>php cloudflare.php http://www.w3.tbd.my |