Sinisterly
Bypass Cloudflare And Get IP addresses of Forums/Websites And Members - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Hacking (https://sinister.ly/Forum-Hacking)
+--- Forum: Tutorials (https://sinister.ly/Forum-Tutorials)
+--- Thread: Bypass Cloudflare And Get IP addresses of Forums/Websites And Members (/Thread-Bypass-Cloudflare-And-Get-IP-addresses-of-Forums-Websites-And-Members)

Pages: 1 2


RE: Bypass Cloudflare And Get IP addresses of Forums/Websites And Members - pratham - 04-29-2013

for bypassing the CloudFlare IP DNS information is everything.. But some paid servers of CloudFlare are not easy to bypass.. Sad


RE: Bypass Cloudflare And Get IP addresses of Forums/Websites And Members - The Real Slim Shady - 04-29-2013

(03-19-2013, 12:54 PM)zomgwtfbbq Wrote:
(03-19-2013, 07:57 AM)The Alchemist Wrote: I'm a complete noob when it comes to PHP GD(not PHP). Would you mind sharing some snippets of your technique? You'd stated that the process I shared is quicker, but I'd wanna have a look at your snippet too. Its never a waste to learn something new. Smile
Had to rewrite one from scratch as it's on one of my laptops, but since it's not too much effort..here's what you need.

You will need four files, all in the same folder:
- .htaccess (image.php > image.jpg)
- log.txt (logs the ip address and other stuff you want to log)
- someimage.jpg (the real image)
- image.php (creates the image based on someimage.jpg)

.htaccess
Code:
RewriteEngine On RewriteRule ^image\.jpg$ image.php

image.php
PHP Code:
<?php // locations $sSourceImage = "someimage.jpg"; $sLogFile = "log.txt"; // data string you want to log $sLogEntry = $_SERVER['REMOTE_ADDR']."|".date('d-m-Y H:i:s',time())."\n"; // log the request $rConnect = @fopen($sLogFile,"a"); @fwrite($rConnect,$sLogEntry); @fclose($rConnect); // create the image stream and send the header $rImage = @imagecreatefromjpeg($sSourceImage); header('Content-type: image/jpeg'); @imagejpeg($rImage); @imagedestroy($rImage); ?>

rest of the files:
- someimage.jpg (any image you like)
- log.txt(just name a file like that)

Make sure you have url_rewriting enabled and that the GD extension is loaded. Also name the htaccess file .htaccess, not htaccess.txt for example.

Just to point out... this is a method i can recall using as long back as a decade ago. While useful, it is nothing new. As for the OP... this site is just doing this, but offering it to the masses lol.


RE: Bypass Cloudflare And Get IP addresses of Forums/Websites And Members - 3r3bus - 04-30-2013

Quite a interesting method, thanks for the share.


RE: Bypass Cloudflare And Get IP addresses of Forums/Websites And Members - The Alchemist - 04-30-2013

(04-29-2013, 08:27 PM)Geoff Wrote:
Spoiler:
(03-19-2013, 12:54 PM)zomgwtfbbq Wrote:
(03-19-2013, 07:57 AM)The Alchemist Wrote: I'm a complete noob when it comes to PHP GD(not PHP). Would you mind sharing some snippets of your technique? You'd stated that the process I shared is quicker, but I'd wanna have a look at your snippet too. Its never a waste to learn something new. Smile
Had to rewrite one from scratch as it's on one of my laptops, but since it's not too much effort..here's what you need.

You will need four files, all in the same folder:
- .htaccess (image.php > image.jpg)
- log.txt (logs the ip address and other stuff you want to log)
- someimage.jpg (the real image)
- image.php (creates the image based on someimage.jpg)

.htaccess
Code:
RewriteEngine On RewriteRule ^image\.jpg$ image.php

image.php
PHP Code:
<?php // locations $sSourceImage = "someimage.jpg"; $sLogFile = "log.txt"; // data string you want to log $sLogEntry = $_SERVER['REMOTE_ADDR']."|".date('d-m-Y H:i:s',time())."\n"; // log the request $rConnect = @fopen($sLogFile,"a"); @fwrite($rConnect,$sLogEntry); @fclose($rConnect); // create the image stream and send the header $rImage = @imagecreatefromjpeg($sSourceImage); header('Content-type: image/jpeg'); @imagejpeg($rImage); @imagedestroy($rImage); ?>

rest of the files:
- someimage.jpg (any image you like)
- log.txt(just name a file like that)

Make sure you have url_rewriting enabled and that the GD extension is loaded. Also name the htaccess file .htaccess, not htaccess.txt for example.

Just to point out... this is a method i can recall using as long back as a decade ago. While useful, it is nothing new. As for the OP... this site is just doing this, but offering it to the masses lol.
I didn't see anything like this in Hack Community. So I shared it here.

(04-30-2013, 01:32 AM)3r3bu$ Wrote: Quite a interesting method, thanks for the share.
Your'e welcome. Smile


RE: Bypass Cloudflare And Get IP addresses of Forums/Websites And Members - RaccoonCity_mybb_import13707 - 09-24-2013

This is called Cloudflare resolving, pretty cool! Wink