<?php
// monitor.php - File untuk diinclude di setiap halaman website
require_once 'monitor.php';

$monitor = new SecurityMonitor([
    'emailTo' => 'asstlab@gmail.com',
    'maxFailedAttempts' => 5,
    'blockDuration' => 3600, // 1 jam dalam detik
    'logFile' => 'security.log'
]);

// Jalankan pengecekan keamanan
$monitor->checkSecurity();
