Discover more from Learn Pentesting like a Pro!
How to fix Wordpress XML-RPC Cyberattacks
To be protected against this cyber attack, do not forget to restrict access to /xmlrpc.php resource only from your IP address (188.8.131.52 in the example below).
For Apache, edit /.htaccess file to add:
<Files "xmlrpc.php"> order deny,allow deny from all allow from 184.108.40.206 </Files>
Save the changes, restart apache and ready!