This commit is contained in:
2025-01-25 20:39:02 +01:00
parent 5e2cb8068f
commit 00aa586df5
3 changed files with 194 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
<?php
error_log ( '[' . date ( 'D M j h:i:s.v Y' ) . '] [' . $_SERVER ['HTTP_HOST'] . '] [myhoneypot] [' . $_SERVER ['REMOTE_ADDR'] . '] BAN ME PLZ' . "\n", 3, '/var/customers/tmp/banmeplz.log' );
error_log ( '[' . date ( 'D M j h:i:s.v Y' ) . '] [' . $_SERVER ['HTTP_HOST'] . '] [myhoneypot] [' . $_SERVER ['REMOTE_ADDR'] . '] BAN ME PLZ' . "\n", 3, '/var/www/banmeplz.log' );
sleep ( 5 );
if (isset ( $_GET ['h'] )) {
if ($_GET ['h'] == 'xmlrpc') {
@@ -142,8 +142,5 @@ if (isset ( $_GET ['h'] )) {
</body>
</html>';
}
if ($_GET ['h'] == 'wp-json') {
echo '{}';
}
}
?>