banmeplz in custom log file

This commit is contained in:
Sebastian Titz
2021-08-27 07:43:09 +02:00
parent d36c7780ab
commit 12efda4053

View File

@@ -1,5 +1,5 @@
<?php
error_log ( '[myhoneypot] [' . $_SERVER ['REMOTE_ADDR'] . '] BAN ME PLZ' );
error_log ( '[myhoneypot] [' . $_SERVER ['REMOTE_ADDR'] . '] BAN ME PLZ', 3, '/var/customers/tmp/banmeplz.log' );
sleep ( 5 );
if (isset ( $_GET ['h'] )) {
if ($_GET ['h'] == 'xmlrpc') {