![]() |
Cerb's Anti-Proxy Hack - 15 seconds install
This is my Anti-Proxy hack, works with any vBulletin version.
Just download the attachment. What this hack does This hack prevents anyone from accessing your site through a proxy. This is pretty useful if you have a large/semi-large community like mine (www.bnfreak.com) with a lots of young / immature members. If someone gets banned he will most likely try to come back through a proxy, this is what this hack prevents. You can also customize it (like I did on my forums) to simply prevent new registrations from proxies rather than the whole site. To do this, just edit register.php instead of global.php Don't forget to click Install ;) |
description please ???
|
Pretty self-explainable:
Prevents proxies from accessing your forums. |
hum... i see, the only thing that will be brought here is that 30% of the internet will not be able to visit your board... good for you, but not really useful. anyway, anybody can release a hack.. ;)
|
with all due respect to my vb duders but what the hell is the point of this hack?
|
Quote:
|
Quote:
|
Quote:
That's what this hack prevents. |
thank you. i didn't mean to sound in any way like a smart mouth...
ohh i see....yes this is very useful...lol... next time dude, explain for us that may not know. :nervous: |
Quote:
|
thank you sir
|
Nice work
Is there a way to exclude some proxies please :) Thanks |
Stupid question, but won't this block all AOL users and anyone else who's ISP automatically goes through a proxy (like Freeserve for me)?
|
This blocks all proxies that gives out HTTP_X_FORWARDED_FOR, HTTP_FORWARDED or the most common, HTTP_VIA.
High anonymity (sp?) proxies don't return any of those variables, so if you're on one of those you're fine. Couldn't really say if AOL has one of those variables since this connection is very uncommon where I'm from. And @ excluding proxies, yes there's a way, you can add safe proxies in an array and check if the remote address = this proxy. PHP Code:
|
Excellent Hack!
|
Thanks for sharing Cerb. Installed and happy.
|
1 question. Is there an easy way to test this?
|
Quote:
|
Great Hack,thanks!!
|
Very nice ... ;)
Click install! |
Hehe! Great hack after playing with it for a day, pissed off 1 or 2 people in the process but who cares. Security should always be the #1 priority.
|
this is exclude alot of users who browse inside companies or schools who must use proxies
|
That is true! This hack is not for everyone.
|
Yeah this hack is for people with forums like mine (www.bnfreak.com) with lots of kids that knows some things about computers and try to be funny by registering through a proxy and spamming. Anyways, doesn't work anymore with this ^_^
And if you wanna test it, just get a proxy (www.stayinvisible.com is a good site for them), Avant Browser is the most idiot-proof browser for proxy support :-D and well, try visiting your forum, you should see a "No Proxy" error message. |
I signed up for and am surfing your site via a proxy right now and it's not doing anything to me.
|
Read your PM.
Like I told you, this hack does not work on High Anonymousity proxies. it only works on proxies that return the HTTP_VIA variable, which contains every but High Anonymous proxies. |
I added this and a lot of my regulars complained that they couldn't get on so I removed it.
|
I need a hack like this, but is there really no way to detect a high anonymity proxy?
I guess, the most trolls will use high anonymity proxies :( |
Could anyone help me to modify this hack, so that high anonymity proxies are blocked too?
Isn't it possible to identify a high anonymity proxy on the basis of missing private header information? ( or just any proxy? ) |
Great Hack This Will Work Great For ME!
|
Quote:
*clicks install* great hack. i'm a bit of a noob at this, but i like the idea of preventing proxy users to register, but still letting them view the forum. following your instructions above, am i correct to put the hack above this line? PHP Code:
|
Erm...this sounds like a good idea and all, but do you think there is any way to keep those kids who just change their IP's and reregister away? I have more problem with those than people with proxies. Most people I catch on my board using a proxy are people who are at school or something and need to get around their schools web administration. I have a few people that use 'em to get around proxies at work as well.
|
I too couldnt find the "//identify where we are" in teh register.php and havent successfully installed it in the register.php, always get errors. Anyone know where this should do then if not on top?
Thanks |
Find this bit in register.php:
PHP Code:
PHP Code:
|
BTW: Does anyone know how to make this redirect to an html page instead of it saying No Proxies?
|
I upgraded to 3.0.5 which of course overwrote my register.php but when I put it back in the new register.php it no longer works correctly.... I am now getting this error
Warning: in_array(): Wrong datatype for second argument in /home/al7bar/public_html/forums/register.php on line 19 |
really excellent you may have saved my forums
|
great work! thanks
|
anyway to display something like my forums header and the message or ability to display a graphics box with text in rather than just plain text
|
Quote:
Code:
if ( isset($_SERVER['HTTP_FORWARDED']) || isset($_SERVER['HTTP_X_FORWARDED_FOR']) || isset($_SERVER['HTTP_VIA']) ) Code:
$Proxy_Detect = isset($_SERVER['HTTP_FORWARDED']) || isset($_SERVER['HTTP_X_FORWARDED_FOR']) || isset($_SERVER['HTTP_VIA']); It's a good modification, however in the process it will knock off a lot of users, perhaps research proxies and find out what information they do output, collect this information into an array and check if this is matched while browsing? That way it would only knock off those proxies instead of all, just a thought. - Zero Tolerance |
All times are GMT. The time now is 12:27 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|