Results 1 to 5 of 5

Thread: Wiki spam?

  1. #1
    Wow. Life is short. Erin's Avatar
    Join Date
    Mar 2006
    Posts
    173

    Question Wiki spam?

    Anybody here running a wiki? I'm running an experimental site using mediawiki, and I've found that a bot is inserting some code into every article. I didn't notice at first because for some reason, the changes don't show up on the changes page.

    Here's the code that's entered:
    Code:
    <div style="overflow: auto; height: 1px;">
    
    _pw8_
    
    http://nv2006.com/ nv
    
    </div>
    Yeah, it's some sort of spam thing, but I don't understand why mediawiki allows this type of code to be inserted but not display and why it doesn't show up in the results.

    Edit: I've searched a bunch, but results show only other spammed wikis. If anybody can figure out what it is, we might be the first site to do so.

    Edit again: Don't visit the site in question. It's just one of those directory-type pages with links to other sites.
    Last edited by Erin; 03-19-2006 at 07:09 PM.

  2. #2
    Registered
    Join Date
    Mar 2006
    Posts
    13
    The reason it is not showing up is that the bot entered some css code (overflow: auto; height: 1px;) that virtually hides the links. The reason for this is they want the PageRank benefit, but they hide it so that you won't notice it right away.

    I am not very familiar with how MediaWiki works, but it probably just allows the code because it does not know that it will appear hidden, as there is know easy way for any wiki software to detect this, because the methods for spamming will rapidly change.
    Last edited by SRTech; 03-19-2006 at 08:28 PM.
    -SRTech
    TechCheatSheets.com
    PM for $50 DreamHost Coupon

  3. #3
    Registered
    Join Date
    Mar 2004
    Location
    Philadelphia, PA
    Posts
    106
    Any page with a form on it is going to get spammed by bots. It's inevitable. I have dozens of forms across my network of sites and they all get hit, from blogs to contact forms to custom applications.

    1) Get mod_security running to avoid anyone finding a way into your server through the POST data. It's happened.
    2) Add image verification to any forms whose posting results are immediately publically viewable. SitePoint has a good tutorial on it, it doesn't take a whole lot of code and can be done pretty foolproof.
    3) Where the results don't go somewhere immediately public, you can always keep some type of moderation queue and filter out the spam yourself.
    I'm Dan. This is my blog. I give you... free web stats.

  4. #4
    Wow. Life is short. Erin's Avatar
    Join Date
    Mar 2006
    Posts
    173
    Great advice, Dan. Thanks.

    I've got another spammer on my hands now. Here's the code the bot's using. It's hilarious:
    Code:
    <div style="overflow:auto;height:1px;">
    Excuse for my post but I do not have money to buy meal to my children. Forgive me please.
    [http://x y z.r a p i d f o r u m.com pharmacy]
    <<the hundred other links removed>>
    </div>

  5. #5
    Registered
    Join Date
    Mar 2004
    Location
    Philadelphia, PA
    Posts
    106
    That's hilarious

    Image verification, after patching some holes I found in my implementation of it, has reduced the number of spam posts to the thousands of guestbooks I host from 800 a day to <10 a day. Unless the spammers stopped writing about prescription drugs and online gambling, but I doubt that.
    I'm Dan. This is my blog. I give you... free web stats.

Similar Threads

  1. Email Spam Protection
    By Blue Cat Buxton in forum Web Hosting & Servers
    Replies: 0
    Last Post: 06-24-2005, 03:47 AM
  2. How to remove SPAM in my website?
    By minutesloaded in forum General Management Issues
    Replies: 6
    Last Post: 02-09-2005, 03:14 PM
  3. Wiki & GNU Free Documentation License
    By Todd W in forum Business and Legal Issues
    Replies: 8
    Last Post: 02-05-2005, 04:20 AM
  4. Lots of Spam
    By Dan in forum General Chat
    Replies: 5
    Last Post: 10-19-2004, 10:00 AM
  5. Over 100 Arrested in U.S. Spam Crackdown
    By mobilebadboy in forum Internet Industry News
    Replies: 23
    Last Post: 10-09-2004, 12:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •