First of all, I might be on the total wrong place to post this, but my researches lead to here and I've found "similar" questions being asked here. But still since I lack knowledge in this subject, I could be wrong. Just let me know if it doesn't belong here and I'll delete it !
Here's my story :
I've been working for a client on his website (wordpress website), and on the 30th of june, during the night, the website got hacked and started being labelled as "dangerous" by google. I installed wordfence and started scanning the website to find out more than 100 files were compromised or malicious. I deleted / edited all of them using wordfence tools, but in the end 2 remained.
- the index.php which now has a suspicious header with suspicious coding. (Wordfence cannot edit it because he lacks authorizations)
- Another index.php located in another directory who I cannot delete (permission denied 550 on filezilla). Weirdly enough, wordfence detected it as a malware for a few scans (backdoor file), and now doesn't detect it at all when scanning, but the file is still here.
I've read a lot, tried a lot of things, such as downloading the first one and removing the suspicious code but everytime I did, the file edited itself to bring back said code.
Concerning the second file, I tried editing the permissions of the file, but I am not allowed to do it as well.
Ask any questions you need and I'll provide you with informations, keeping in mind that I'm a total newbie when it comes to this, so I might struggle figuring out what you're asking for :(
Once again, I might be totally offtopic and sorry for that, but if I'm in the right place and you guys could think of anything to help me get throught this, that would be awesome.