Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
local /
wp /
php /
WP_CLI /
Fetchers /
[ HOME SHELL ]
Name
Size
Permission
Action
Base.php
1.15
KB
-rw-r--r--
Comment.php
636
B
-rw-r--r--
Post.php
568
B
-rw-r--r--
Signup.php
1.36
KB
-rw-r--r--
Site.php
986
B
-rw-r--r--
User.php
1.26
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : User.php
<?php namespace WP_CLI\Fetchers; use WP_CLI; use WP_User; /** * Fetch a WordPress user based on one of its attributes. */ class User extends Base { /** * The message to display when an item is not found. * * @var string */ protected $msg = "Invalid user ID, email or login: '%s'"; /** * Get a user object by one of its identifying attributes. * * @param string $arg The raw CLI argument. * @return WP_User|false The item if found; false otherwise. */ public function get( $arg ) { if ( getenv( 'WP_CLI_FORCE_USER_LOGIN' ) ) { $this->msg = "Invalid user login: '%s'"; return get_user_by( 'login', $arg ); } if ( is_numeric( $arg ) ) { $check = get_user_by( 'login', $arg ); $user = get_user_by( 'id', $arg ); if ( $check && $user ) { WP_CLI::warning( sprintf( 'Ambiguous user match detected (both ID and user_login exist for identifier \'%d\'). WP-CLI will default to the ID, but you can force user_login instead with WP_CLI_FORCE_USER_LOGIN=1.', $arg ) ); } } elseif ( is_email( $arg ) ) { $user = get_user_by( 'email', $arg ); // Logins can be emails. if ( ! $user ) { $user = get_user_by( 'login', $arg ); } } else { $user = get_user_by( 'login', $arg ); } return $user; } }
Close