• Hi guys, I was informed I’ve got some tracking malware on my site. I’ve found 1 javascript instance and removed it, but online scans are still showing that I have the javascript coded in:

    http://my_domain.com/?page_id=36

    http://my_domain.com/?page_id=12

    Do you know how I locate the files for “page_id=36” and 12? There’s a tons of files in my wordpress install and I’m really just not sure where to look. I’ve been randomly opening and checking various .php files but haven’t been able to find these last 2 javascript mentions. It would be great to figure out how to find the exact file to look in.

    Thanks!

Viewing 1 replies (of 1 total)
  • Hello, the content of your pages (and posts) is stored in a database, not in the PHP files that make up WordPress itself.

    You can either go through each page (and post) in your WordPress Admin, switch to HTML view, and look for the javascript there, or you could use phpMyAdmin and do it that way. If you’re not confident with delving into databases though, I’d recommend option 1.

    If you’re able to identify which hack has been done on your site, you may be able to Google for assistance on cleaning up that specific hack too.

    Also, don’t forget to update to the latest version of WordPress to help reduce the chance of these sort of hacks happening (be careful to ensure your theme and plugins work with the new version before you do though!).

Viewing 1 replies (of 1 total)
  • The topic ‘Trouble locating files’ is closed to new replies.