Login Register
The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.


Bypass Cloudflare And Get IP addresses of Forums/Websites And Members filter_list
Author
Message
RE: Bypass Cloudflare And Get IP addresses of Forums/Websites And Members #11
for bypassing the CloudFlare IP DNS information is everything.. But some paid servers of CloudFlare are not easy to bypass.. Sad
whoami;id

root
uid=0(root) gid=0(root) groups=0(root)

Reply

RE: Bypass Cloudflare And Get IP addresses of Forums/Websites And Members #12
(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.

Reply

RE: Bypass Cloudflare And Get IP addresses of Forums/Websites And Members #13
Quite a interesting method, thanks for the share.



Reply

RE: Bypass Cloudflare And Get IP addresses of Forums/Websites And Members #14
(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
[Image: 2YpkRjy.png]
PM me if you need help.
My pastebin HERE. My URL Shortener HERE.

Reply

RE: Bypass Cloudflare And Get IP addresses of Forums/Websites And Members #15
This is called Cloudflare resolving, pretty cool! Wink

Reply







Users browsing this thread: 1 Guest(s)