[SHARE] A very simple script for testing your current proxy anonymity

Gogol

Elite Member
Executive VIP
Jr. VIP
Joined
Sep 10, 2010
Messages
11,366
Reaction score
24,130
Hi everyone!

Here I made a simple script for BHW members for checking the anonymity on-line. Please note that this script may not work properly on your localhost. To use this script save it as a .php file, upload the file to a server ( preferably Linux). To check anonymity simply point your browser to the file. All the Feedbacks / Improvements are appreciated :)

Thanks for the suggestion @jazzc. The script is updated :)
Code:
<?php
/* By G0g0l @ BHW*/
/* This script  is completely opensource. You can use it
 * ( and abuse it) freely, but please don't blame
 * me for any consequences :P */
echo "<b>Your IP : </b>{$_SERVER['REMOTE_ADDR']}<br><b>Proxy Type :</b> ";


if (isset($_SERVER['HTTP_X_FORWARDED_FOR']) || isset($_SERVER['X-REAL-IP'])) {
    die('<font style="color:grey">Transparent Proxy</font>');
} elseif (isset($_SERVER['HTTP_VIA'])) {
    die('<font style="color:blue">Anonymous Proxy</font>');
} else if (!isset($_SERVER['HTTP_VIA']) && !isset($_SERVER['HTTP_X_FORWARDED_FOR']) && !isset($_SERVER['HTTP_X_PROXY_ID'])) {
    die('<font style="color:green">Elite Proxy / No Proxy</font>');
} else {
    die('<font style="color:blue">High Anonymous Proxy</font>');
}
?>
 
Last edited by a moderator:
Is there such thing ? :O
Sorry forgot that I will update the script tonight when I get some time :-)
EDIT: SCRIPT IS UPDATED!
Don't forget:
 
Last edited:
Thank you g0g0l, tried your SCRIPT and it works pretty well. However I can bet there are plenty of other Variables the Webserver can ask to find out if you are using a proxy!

BTW Can someone suggest cheap High Anonymous Proxies?
 
I have often tried using proxies, but when I check my IP using google (by searching 'My IP address'), it displays my real IP, whereas the websites such as cmyip shows the proxy address. Hiding real IP to google is tough these days I guess.
 
Well guys this script is pretty basic. You are welcome to modify it for anything you like. My original intention was to share knowledge rather than anything. It is upto you to build something upon it. Hope you get the point :)
 
Last edited:
Wow. I only spent a few minutes in this thread and now I have another reference to a skill. Thanks. I'll try to implement these into some of my personal projects.
 
Back
Top