mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-23 02:04:46 +02:00
12 lines
254 B
PHP
12 lines
254 B
PHP
|
<?php
|
||
|
|
||
|
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/prerequisites.inc.php';
|
||
|
|
||
|
if (isset($_GET['id'])) {
|
||
|
header('Content-Type: text/plain');
|
||
|
echo fail2ban('banlist', 'get', $_GET['id']);
|
||
|
} else {
|
||
|
header('HTTP/1.1 404 Not Found');
|
||
|
exit;
|
||
|
}
|