Member Avatar

begueradj

Hello

What methods can I use to detect malicious PHP/Javascript within the pages of my websites in the case they are infected ?

Member Avatar

diafol

Infected? You mean somebody uploads a script to your site? Don't let them is the answer. Your host should have security and you could lock down any access other than stuff like time-limited ftp access.

Does your code allow file uploads or direct addition of data to a DB or file?

Member Avatar

begueradj

I mean I found obfuscated php/javascript code within some of my files.
What are the methods to use to detect if a hosted file.php file is sane or not ?