Header.php Hacked with redirect javascript code
-
Hi,
I don’t know when it happened (could have been months ago), but I recently found malicious code in my header.php.
It has affected about 3 of my sites with wordpress. I deleted a bunch of unused themes and plugins as well as a few sites that I haven’t paid attention to in a while yet the infection hasn’t gone away.
I pasted the code on paste bin here
I found some older posts on here about hardening wordpress and what to do if your site is hacked (and I am in the process of doing that), but nothing on how to spot the source code and what the main source code looks like today.
I saw something on the forums a while ago that said look at the wppass.php and topper.php file, but my wppass file had nothing and didn’t see a topper file.
Can anyone tell me what to look for? What directory(ies) or files might have the main code/malware?
Thanks
- The topic ‘Header.php Hacked with redirect javascript code’ is closed to new replies.