My organization mail has been blocked by a malicious PHP script for several days. I learned that spam messages are sent via the mail() function.
How can I find and delete this script on my server? I have tried searching for functions in PHP files through FileZilla and Total Commander, but this is ineffective.
~ Apache, PHP 7.2 (hosted from my service provider)
mail.log,mail.infoetc in/var/log. Alsosyslogshould show mailing events. The files are quite massive, so search them withgrep KEYWORD <file>for e.g. a target address to get info quicker. – FelixJN Dec 22 '20 at 12:04