Answer the question
In order to leave comments, you need to log in
How to deal with hacks and spam?
Recently, more and more I encounter hacking of cms systems (joomla, wp and other common ones) with hacks (filling shells, spam scripts, etc.). As a result, sites start either wildly loading the server or sending spam through the php mail function.
Tips like "monitor sites" / "View rights" and so on, leave it to yourself. Perhaps there is some service or maybe someone knows how to disable the mail function for a specific site if the site is running through php as an apache module?
Answer the question
In order to leave comments, you need to log in
service sendmail stop?
service postfix stop?
php.ini disable_functions=...?
www.php.net/manual/ru/configuration.changes.php
php_value in htaccess.
or in /etc/httpd/conf.d specifically for your site
I wrote. I need a solution for one site so that the others work.
Your main problem is not sending spam, you are being hacked and disabling part of the site's functionality is not a way out.
As a result, sites start either wildly loading the server or sending spam
maybe someone knows how to disable the mail function for a specific site if the site is running through php as an apache module?
/etc/apache2/mods-enabled/
that point to the actual files (stored in /etc/apache2/mods-available/
) depending on the mailer you are using. But first make a backup. Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question