PDA

View Full Version : Moderator and IP 404 Ban


VeoMorphine
03-01-2003, 10:00 PM
IP, And Mod BanGroup 404 error Ban

Hacker: VeoMorphine
Support Thread:
Install Complex: Easy
Install Time: 5 minutes

Discription: This hack will display a 404 error to any user who is banned from the forums by there IP or by a moderator. It sends a 404 header to the browser so that it will show that browsers 404 error page. Meaning that there is no need to make a copy of a 404 page. And the cool thing is, its a REAL 404 error, not just a knock off one riped from the web!

I got the idea off of Anime-loo's Hack on vbulletintemplates.com that uses the phpinclude template to show a 404 for users banned by mods. Thats kinda included here but i made it go nto global.php insted of phpinclude.

Another trick with this.
If you put:


<?
chdir('forums/');
require('global.php');
chdir ($DOCUMENT_ROOT);
?>


At the top of your NON Vb php pages this will make the 404 ban work that page and alot of other stuff as well, like evaling templates(i think) and what not. This will also show the forums offline message ont he page if your forums are off.


Im having problems finding where the error_banemail template is evaluated. If somone can tell me what file it is evaluated in, i can make it so it 404bans via e-mail as well

John
03-05-2003, 01:25 PM
I don't see the difference between this and Anime-loo's hack.

https://vborg.vbsupport.ru/showthread.php?s=&threadid=48710

Their hack also works through global.php.

VeoMorphine
03-05-2003, 02:24 PM
That only works for usergroup. If somone clears there cookies and go's back to the forum, they'll see there is no 404 error.

My hack will also work for IP bans, so even if they clear there cookies, they will still get a 404.

TexasOutdoors
03-05-2003, 03:36 PM
Do you think this will work on the PORN SPAM bot going around? After banning the bot, it continues to try and reply to messages, even after removing the account. I wonder if this will legitimately show them the 404 page, or can it get around that as well.

Brad
03-05-2003, 03:43 PM
If you are worried about the porn spam bot you sould upgrade to the lastest 2.3.0 RC or install the image verfication hack here.

I don't see the difference between this and Anime-loo's hack.

https://vborg.vbsupport.ru/show...&threadid=48710

Their hack also works through global.php.

Its differnt because it works with ip ban to, i dont use ip bans unless i ban them from the whole server. IP bans via a the forums are just to much tourble and i end up having to ban many potinal users cause 99% of the people out there do not use a static ip. :)

FFMania
03-09-2003, 12:17 PM
Installed it....but when I test it...I got a blank page and not a 404 error page instead =/

Oh, I am using IE6.0 btw....