• home
  • about

North Shore Animal League America

I was hacked by a spammer

September 25, 2008 christine has spoken

Not on this blog, but over on Six Great States.  What a friggin’ PITA that was!

There had been some weird stuff going on a while ago, where the domain redirected to a video game site.  But I never saw that, Kat told me about it, and by the time I checked it out, everything was fine.  Then I all but forgot about it.

Then yesterday, I was rearranging some stuff on that blog’s templates.  I opened up the footer template in WordPress, and I was horrified to see that someone had put a zillion porn links in it!  They were not visible on the actual blog, but visible in the source code, so that the Googlebots could pick them up.  And since they were in the footer template, that meant that this crap was on Every Single Page of the blog.

This is what I get for NOT upgrading my WP when I should.  But I like the older version better.  But not better than getting hacked!   The newer versions have more built-in security.

I searched around for info on this and how to fix it, and came upon two articles that I bookmarked:

Did your WordPress site get hacked?

My WordPress blog got hacked by a spammer

They were a big help in finding out how this happened, and how to fix it so it’s less likely to happen again.

At the time, I was waiting for Mike to come home, so we could go out to dinner.  So I simply changed the password and cleaned up the spam.  When we got home, I set to work on upgrading and all.

First of all, I did find that back door in my index.php file.  This is what it was supposed to look like:

This is what it looked like after the hacker hit it:

What country is .in?  India?  Indonesia?  Doesn’t really matter, anyone who does this, no matter where they come from, is scum.

So I got rid of that right away.  Then I went into MySQL, and saw that the bastard had set up another user for the blog…which was NOT visible on  my WP dashboard!  I also had to go in there to change the password, so that it would work after I did the upgrade.

After I did all of the MySQL stuff, I went and did the upgrade.  I’ve done WP upgrades before with no problems, so I wasn’t that worried.

But then it asked me to log in again.  I put in the new password, it wouldn’t let me log in.  Reset the password, changed it in MySQL, still wouldn’t work.  Lather, rinse, repeat.  Still nothing.

So I hit the WordPress support forums for help.  Yep, others have this problem, too.  I tried everything suggested, nothing worked  What finally did work was to actually remove all of my plugins from the server.  I knew I was supposed to disable them, and I thought that was enough.  But I guess not.  Once I was finally able to login, let WP do the database upgrade, and complete the installation, then I uploaded them back and enabled them.

Meanwhile, I was getting comment spammed to death on some old post on that blog, one about Ted Kennedy and his brain cancer.  This is what happens without the Aksimet and Comment Timeout plugins.  The guys who created those deserve medals!

Fucking spammers/hackers.  I say we round them all up and stone them to death.  But how about using cans of Spam instead of stones.  See, I finally found a good use for that nasty crap! ;)

But now that I figured all of this out, upgrading all of my other blogs that need it, checking for back doors, etc., should go much faster.  At least I hope so!

2 Responses to “ I was hacked by a spammer ”

  1. # 1 Die, spammers, DIE! | Christine the Curmudgeon | Now Complete With Hot Flashes! says:
    September 25th, 2008 at 5:27 pm

    [...] What a PITA it was for me to deal with.  You can read all of the sordid details HERE. [...]

  2. # 2 the passionate ailurophile | Oh hai again… says:
    September 27th, 2008 at 7:38 pm

    [...] since being hacked, I’ve been busy working on all of my blogs to keep this from happening again.  That’s [...]

← Now I CAN’T go back to my doctor…
Oh hai again… →

    cool stuph

    blog advertising is good for you

    OnePlusYou Quizzes and Widgets
    Created by OnePlusYou

    www.benspark.com
    Photo-A-Day

    Acceptance Mark



    calendar of event stuph

  • June 26 - New Hampshire Fisher Cats vs. Portland Sea Dogs @ MerchantsAuto.com Stadium
  • June 28 - New Hampshire Fisher Cats vs. Portland Sea Dogs @ MerchantsAuto.com Stadium
  • July 5 - New Hampshire Fisher Cats vs. Portland Sea Dogs @ MerchantsAuto.com Stadium
  • July 10 - Portland Sea Dogs vs. NH Fisher Cats @ Hadlock Field
  • July 11 - Portland Sea Dogs vs. NH Fisher Cats @ Hadlock Field
  • July 12 - Portland Sea Dogs vs. NH Fisher Cats @ Hadlock Field
  • July 19 - New Hampshire Fisher Cats vs. Connecticut Defenders @ MerchantsAuto.com Stadium
  • August 9 - New Hampshire Fisher Cats vs. Altoona Curve @ MerchantsAuto.com Stadium
  • August 23 - Pawtucket Red Sox vs. Lehigh Valley IronPigs @ McCoy Stadium
  • August 30 - New Hampshire Fisher Cats vs. Portland Sea Dogs @ MerchantsAuto.com Stadium
  • September 4 - Portland Sea Dogs vs. NH Fisher Cats @ Hadlock Field
  • September 5 - Portland Sea Dogs vs. NH Fisher Cats @ Hadlock Field
  • September 6 - Portland Sea Dogs vs. NH Fisher Cats @ Hadlock Field - Field of Dreams Day
  • November 7 - Maine Brewers' Festival, Portland, ME

me stuph...blinkie style!


































terror alerts & stuph



Terror Alert Level

old stuph

  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • July 2007
  • June 2007
  • May 2007
  • April 2007
  • March 2007
  • February 2007
  • January 2007
  • me stuph


    My name is Christine, and this is my main blog. I have five other active blogs, check out "my vast blog empire" below. I'm married to Mike, and I live just north of Boston with him and six cats. I love baseball (GO RED SOX! GO FISHER CATS!), scrapbooking and papercrafting, cooking, and the state of Maine. Oh, and beer is good, too! But microbrews only, please!


    follow catmommy9 at http://twitter.com

    Christine Murphy's Facebook profile

    my vast blog empire...
    • christine-murphy dot net
    • tales from the ballpark
    • the purrfect website
    • six great states
    • christine the curmudgeon



    dusty :: allegra :: junior
    little mitty :: sabby :: pumpkin
    ...and our rainbow bridge kitties:
    mister bill :: lucky :: squeaker
    stripecat :: mitty the kitty

    Christine




  • stuph I support

    White Knot


    The Breast Cancer Site

    The Animal Rescue Site
    FreeKibbleKat.com

    FreeKibble.com

    I support my local PBS station

    Grey2K USA

    Old Sturbridge Village







  • blog stuph



    Open Web Directory
    Geeky Speaky: Submit Your Site!
    Link The Planet

    Add to Technorati Favorites



  • Buy me a beer!

    A pint of a decent micro goes for about four bucks. Click the beer mug if you so choose!

  • who likes to look at my stuph


  • meta stuph

    • Valid XHTML
    • XFN
    • WordPress



the passionate ailurophile © from now until the end of time. All Rights Reserved. Using WordPress 2.8 Engine
Entries and Comments.

Prosumer 1.4 made by Nurudin Jauhari