From 6d91832dd4234e28e9786ab958e8dec2ac19b97c Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sat, 6 Jul 2024 11:42:43 +0200 Subject: Process XML-RPC requests separately. If the XML-RPC method is wp.getUsersBlogs, we just save submitted credentials and otherwise ignore the request. We get a lot of these, and they're not really that interesting, so we don't need to save the full payload. But let's keep the credentials, so that we can build a list of passwords and user names. Other requests will be saved in full as before. --- index.php | 1 + 1 file changed, 1 insertion(+) (limited to 'index.php') diff --git a/index.php b/index.php index cbe3802..37ce8a3 100644 --- a/index.php +++ b/index.php @@ -4,4 +4,5 @@ // // SPDX-License-Identifier: AGPL-3.0-or-later +require __DIR__ . '/vendor/autoload.php'; require __DIR__ . '/src/process-request.php'; -- cgit v1.2.3