Version: 1.00, by Zzed
Developer Last Online: Feb 2012
Version: 2.2.x
Rating:
Released: 04-16-2003
Last Update: Never
Installs: 12
No support by the author.
This is yet another way to ban a user from your board.
This hack is a little fun project I thought of given some of the recent events in my forums. We have had a few "trouble makers" on our board who got slammed pretty hard by the board moderators quite rightfully. And they got their fragile feelings hurt and posted threads stating that they never wanted to post on the board and so on so forth...
So I came up with the idea of the Farewell Hack, or as I call it the AutoBahn Hack. As the name suggests, the hack allows a person to automatically ban himself from the board. The unsuspecting victim will post a new thread and type some angry messages in there, and all of a sudden, he is not able to access the board. He has been banned. The hack posts a reply to the thread stating that the person is banend. The thread gets locked, and the person receives an Email notice informing him that he has been banned.
This is the reply given to the post:
Quote:
Your post indicates that you no longer wish to be a member of this site.
Your ID has been banned.
Contact the site administrators about reinstating your account.
Good bye.
The hack tries to identify certain phrases in the post by performing a series of regex matches and if it finds a match it deems that thread as a farewell thread.
The hack is quite simple. It adds a new .php file to your forums directory and requires a small change to newthread.php.
And yes, mods and admins are immune to this hack.
farewell.php can be slightly tweaked to work according to your board configuration.
The variable $bot_ip is set to 127.0.0.1. You can change it to the IP address of your board.
The variable $admin_uid is set to 1. You can set it to the user ID of anyone on your board.
In the $patterns array, replace "myboard.com" with the name of your board.
Feel free to add patterns of your own to the list. Be suer to follow the rules for regular expression mathces.
And pardon the little profanity in the list.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
What about "suicide autobahners?" I could see this being a potential problem: Sign up with an account, make a comment in a popular thread about wanting to leave the site, and instantly closing the otherwise useful thread? Does this only check for the first post in a thread?
Today at 07:34 PM LoveShack said this in Post #32 What about "suicide autobahners?" I could see this being a potential problem: Sign up with an account, make a comment in a popular thread about wanting to leave the site, and instantly closing the otherwise useful thread? Does this only check for the first post in a thread?
Interesting concept, to say the least.
This hack works for new threads only. Any replies made to an existing thread will not trigger this hack.
I see this is an old thread, but just wanted to know if anyone has seen a hack like this for vb 3.5? We have a few trolls that come on and post smut (usually certain phrases) that it would be nice to auto ban and remove their post