Skip to content

Instantly share code, notes, and snippets.

@jaydansand
jaydansand / xmlrpc-slowdown.php
Last active August 18, 2020 21:06
Quick and dirty WordPress plugin to rate-limit XMLRPC calls (especially on login failure)
<?php
/*
Plugin Name: XMLRPC Slowdown
Plugin URI:
Description: Deliberately introduce some delay into XMLRPC calls to rate limit brute-force and DoS attacks.
Version: 1.0
Author: Jay Dansand, Technology Services, Lawrence University
Author URI: https://gist.github.com/jaydansand
*/