Login  |  Register
X
Username
Password
Forgot your password? 

NOTE (2009): This is not what you want. This stuff is very, very old.

I once decided to take a few minutes to doctor up my old ShoutBox to use a mini-blacklist.

I highly recommend taking these steps if you use ShoutBox:

1) Open the file "shoutbox_langpack_english.php" in a text editor. On or about line #31, paste in the following definition.

define("_SPAM_MAN","Your URL Is Not Valid");

Any phrase between the second set of quotes will do - perhaps, "Thank you for attempting to post, but we are declining such messages"


2) Open the file "shoutbox.php" in a text editor. Go to around line # 116, and find this:

if (isFlooding() >= 3) {
$error .= _PROCESS_FLOODING;
}

Add a few spaces after that "if" statement so you can paste in another one. Paste this "if" statement after (below) the one above:

if (preg_match ("/teenz|anti-trust|ayke-halder|reallydope|richirich|seex|sex|hentai|kissvibes|only-php|lots0cash
|insest|banned|passion|b-d-s-m|matur|snurl|ayke|01j|cpa-site|manga|ra-pe|xdrow|adult-chat|anime1|secureroot|taboo|
adultnonstop|xxx|fetish|porn|gotovoyeur|anal|adultpersonality|i-twinks|greatlatina|camsweb|ebonyz|boys4you|rape|
maturex|mt-forum|beastiality|webcams|seduces|insest|xbig|seex4u|naturals|
ayke|logos-sonnerie|pantyhose|xsonnerie|logos|cumfiesta|xanal|sex|boys-1-time |cock|teen|tits|member|incsx|
full-access|anti-trust|inc-diary|qooqle|milf|nigritude|romance|onzin|gay|
violent|penis|bestiality|satisfaction|anim|incest/i", $url)) {
$error = _SPAM_MAN;
}

Note: I will try, for awhile, to keep the above statement up to date with the phrases in urls that have been posted here by spammers. Feel free to make me aware of other offending urls.

The words between the pipes are found in the urls that the spammers are leaving. You can add as many more as necessary.

So, that's it. Easy, eh? I'd advise you to implement this today, because I still think the ShoutBox is kinda fun, and the spammers have been wrecking it!

Comments

38 Responses to ShoutBox Spam - Here’s A Partial Fix
  1. rachel Says:

    2 more for you

    boys-1-time
    xcumfiesta

    You should have a spot just for us to add new ones of these.

  2. Says:

    Alas, Oscar, that would suck if it were automated. However, perhaps said automated program has a bad case of rejection sensitivity…..
    And don’t forget HAL from 2001: “Dave, what are you doing, dave?”
    -Liz

  3. Oscar Says:

    Oh, and also, I have come to fear that this is an automated program they’re using. If so, a human will not be treated to the little statement that comes after a blocked post. Ah well, can’t have everything ...

  4. Oscar Says:

    Yeah, I got those god damned ones too. Thanks for reminding me!

  5. rachel Says:

    Here’s a new one for you..

    incsx .. Got 2 of these this morning. I’m having fun with this block. Thanks a ton!

  6. rachel Says:

    Hey thanks Oscar. I’ll go implement this as soon as I’m done with all the chores I’m procrastinating on right now. wink
    Thanks a ton.

  7. Maggie Says:

    Think I’ve now added 4 or 5 more to mine Oscar!!  Its still a great fix you thought up.  You are so right about the mentality of these people though.  IDIOTS to the tenth degree!!

  8. Oscar Says:

    Well, I got rid of my ShoutBox censor (I’d forgotten it was there). That’s much better! But the spam arms race has already started. The last batch was to this url:

    http://www.mt-forum.com

    Looks like you need a referrer to get there (that is, you can’t just type in the url - it must be a click). And then it redirects you to a fine bestiality site. Like that’s where anyone wants to go. Are people REALLY into that??? Who??? I mean, outside of a prison?

    Anyway, I have added “mt-forum” to my list. We’ll see how many domain names they have registered ...

  9. Oscar Says:

    Hi Maggie! Of course you are welcome to make use of my pre-fab charm (both senses of the word) (I’m flattered that you like it, btw, since so few really do). I offered alternatives because, as we know, offended spammers can target people and make their lives miserable. So I figure peaceable types might just want to block the spam nicely and be done with it. For those of us who are always up for a good fight, however, then I kinda like my original message myself!

  10. Maggie Says:

    Oscar…you’ve done it again!!  Seeing that not atangonizing people has never been high on my list of priorities, I’m hoping that leaving in the line you suggested changing, is o.k. with you.  I couldn’t have said it better myself .  Thank you so much Oscar!!  This seems to be working like a charm

  11. theaardvark Says:

    Nice one. Have added it to my Shoutbox code. With a bit of luck that’ll stop the b****rds.

  12. Oscar Says:

    It may not be necessary Tien. I worked on this for a few minutes tonight, and the fix is pretty easy, at least for now. We’ll see what happens. The number of spammers seems limited, as well they should be, considering how stupid a waste of time it is, cf., the time-wasting I espouse here ...

  13. tien Says:

    is there a way to tie shoutbox into mt-blacklist?  or even mt 3.0b?  if not, i think you should devote all your time, free or not to that.

  14. Page 2 of 2 pages  <  1 2


Trackbacks

  1. : dotFAF.com: ShoutBox Spam - Here’s A Partial Fix For the past few months i like many other Shoutbox users have been getting spam shouts on our boxes. The most annoying thing being links ot porn sites being used as the poster's URL. Oscar of ofhills.com came up with a solution to reject shouts that ha...
    Tracked at 2004 05 18 20:54:57
  2. CurtG's Blogathon: ShoutBox Spam - Here’s A Partial Fix My hats off to these guys - Oscar and Faf for helping put an end to obnoxious Shoutbox spam. It was becoming almost a daily routine to delete the crap the spammers were posting, and I considered taking my SB down for good. Just in time - Oscar created ...
    Tracked at 2004 06 13 10:20:34




Tell us your thoughts...
And (as you probably know) if you want a pic to show with your comment, go get a gravatar!

Smilies

Please be kind enough to submit the word you see below:




Next entry: Netflix Queue For Expression Engine

Previous entry: Jerry Reed's Drive In

ShoutBox Spam - Here’s A Partial Fix

Posted by Oscar on Sun, 5/9/04 at 11:43 PM
Filed under: •
Comments: 38 Comments/Trackbacks






OFH Solo Banjo/Guitar mp3's
pretty good if you like pickin'



Loading images
loading
Tranjo Demonstration Jerry Reeds Sassy Last Old Shovel - ROMP 2007 Dixie Breakdown - ROMP 2007 The Man In The Middle - ROMP 2007 Sittin On Top Of The World - ROMP 2007 Home Sweet Home Sound Check - ROMP 2007 Do I Ever Cross Your Mind - ROMP 2007 Ridin On That Midnight Train - ROMP 2007 Drive-In Uncle Johns Band Lumberyard Blues Helium Brothers Montage 2009 Hey Hey Hey - ROMP 2007 Wishful Thinking Midnight Moonlight I Aint Broke - ROMP 2007 Close By - ROMP 2007