View Single Post
Old 02-10-2008, 10:31 AM   #1 (permalink)
autehonker
The Wanderer
 
autehonker's Avatar
 
Join Date: Feb 2008
Posts: 8
Thanks: 9
autehonker is on a distinguished road
Default ProxyGuard [Simple]

Hi this is simple ProxyGuard only blocked normal connecting,this not support web proxy if some one knowe advanced guard please share this (Shock4-5,Tor,etc..)

PHP Code:
<?php
// ProxyGuard
include ('./ProxyGurad.php');

?>
(ProxyGurad.php)
PHP Code:
<?

$basliklar = array(
'HTTP_VIA',
'HTTP_X_FORWARDED_FOR',
'HTTP_FORWARDED_FOR',
'HTTP_X_FORWARDED',
'HTTP_FORWARDED',
'HTTP_CLIENT_IP',
'HTTP_FORWARDED_FOR_IP',
'VIA',
'X_FORWARDED_FOR',
'FORWARDED_FOR',
'X_FORWARDED',
'FORWARDED',
'CLIENT_IP',
'FORWARDED_FOR_IP',
'HTTP_PROXY_CONNECTION'
);

foreach($basliklar as $baslik)
{
if( isset($_SERVER[$baslik]) ) die("Proxy Detected!");
}
?>
Regarts;
autehonker is offline  
Reply With Quote
The Following 2 Users Say Thank You to autehonker For This Useful Post:
wiifanatic (08-22-2008), Y.P.Y (01-22-2009)