| Matthias Andreas Benkard | 97f1202 | 2026-10-23 08:46:40 +0200 | [diff] [blame^] | 1 | <?php |
| 2 | |||||
| 3 | require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/prerequisites.inc.php'; | ||||
| 4 | |||||
| 5 | if (isset($_GET['id'])) { | ||||
| 6 | header('Content-Type: text/plain'); | ||||
| 7 | echo fail2ban('banlist', 'get', $_GET['id']); | ||||
| 8 | } else { | ||||
| 9 | header('HTTP/1.1 404 Not Found'); | ||||
| 10 | exit; | ||||
| 11 | } | ||||