PDA

View Full Version : Script to get past proxies



Unregistered
05-09-2004, 06:10 PM
i saw the script on this page that detecs a proxy server and i was amazed. i have made other scripts but they didnt work out so well. can someone please tell me how to do that. I am sick of people coming back to my site using proxies (i get abour 6 million hits a month and all these spammers are ruining ***** from ads)

Unregistered
05-10-2004, 05:10 PM
no one can help? :(

Unregistered
05-11-2004, 11:34 AM
You are surfing via a proxy if $_SERVER['HTTP_CLIENT_IP'] or $_SERVER['HTTP_X_FORWARDED_FOR'] isn't equal to "" (the real ip address is in there).
$_SERVER['REMOTE_ADDR'] gives you the proxy or if $_SERVER['HTTP_CLIENT_IP'] and $_SERVER['HTTP_X_FORWARDED_FOR'] are empty the real ip address.
Use "Environment Variables Test" on this website. Tip: when http_connecion = "close", your visitor is surfing anonymous.

Attila.

Make
05-13-2004, 05:21 AM
You can easily spoof all proxy variables as proxy-connection (keep-alive or close), language, accept, user-agent etc...
They are some free tools available and some commercial as a4proxy.