02-10-2008, 10:31 AM
|
#1 (permalink)
|
|
The Wanderer
Join Date: Feb 2008
Posts: 8
Thanks: 9
|
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; 
|
|
|
|