Linux premium219.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
LiteSpeed
Server IP : 66.29.141.197 & Your IP : 216.73.216.254
Domains :
Cant Read [ /etc/named.conf ]
User : removmno
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
removmno /
zonacarellc.com /
wp-includes /
Delete
Unzip
Name
Size
Permission
Date
Action
blocks
[ DIR ]
drwxr-xr-x
2026-06-11 02:03
html-api
[ DIR ]
drwxr-xr-x
2026-06-11 15:16
interactivity-api
[ DIR ]
drwxr-xr-x
2026-06-10 20:03
js
[ DIR ]
drwxr-xr-x
2026-06-11 02:04
theme-compat
[ DIR ]
drwxr-xr-x
2026-06-11 02:03
wk
[ DIR ]
drwxr-xr-x
2026-06-11 00:48
.htaccess
516
B
-r-xr-xr-x
2026-06-10 08:55
category-template.php
55.65
KB
-rw-r--r--
2026-03-19 17:41
class-walker-category-dropdown.php
2.41
KB
-rw-r--r--
2023-09-14 16:46
class-walker-category.php
8.28
KB
-rw-r--r--
2023-09-08 13:32
class-walker-nav-menu.php
11.76
KB
-rw-r--r--
2025-01-22 02:26
class-walker-page-dropdown.php
2.65
KB
-rw-r--r--
2023-09-14 16:46
class-wp-admin-bar.php
17.58
KB
-rw-r--r--
2026-03-13 03:26
class-wp-ajax-response.php
5.14
KB
-rw-r--r--
2022-09-12 19:47
class-wp-application-passwords.php
16.7
KB
-rw-r--r--
2025-04-03 17:53
class-wp-block-bindings-registry.php
8.07
KB
-rw-r--r--
2026-02-14 05:37
class-wp-block-bindings-source.php
2.92
KB
-rw-r--r--
2025-09-29 01:56
class-wp-block-editor-context.php
1.32
KB
-rw-r--r--
2022-09-12 19:47
class-wp-block-list.php
4.6
KB
-rw-r--r--
2025-08-07 18:47
class-wp-block-metadata-registry.php
11.57
KB
-rw-r--r--
2026-01-05 10:24
class-wp-block-parser-block.php
2.5
KB
-rw-r--r--
2025-10-21 11:14
class-wp-block-parser-frame.php
1.95
KB
-rw-r--r--
2026-03-10 15:29
class-wp-block-parser.php
11.25
KB
-rw-r--r--
2026-03-13 03:25
class-wp-block-pattern-categories-registry.php
4.28
KB
-rw-r--r--
2025-12-04 00:47
class-wp-block-patterns-registry.php
10.07
KB
-rw-r--r--
2026-03-11 01:11
class-wp-block-processor.php
68.32
KB
-rw-r--r--
2026-01-22 06:12
class-wp-block-styles-registry.php
6.27
KB
-rw-r--r--
2026-01-11 11:50
class-wp-block-supports.php
6.4
KB
-rw-r--r--
2026-03-19 18:40
class-wp-block-template.php
1.99
KB
-rw-r--r--
2024-09-20 06:07
class-wp-block-templates-registry.php
6.91
KB
-rw-r--r--
2026-01-05 10:24
class-wp-block-type-registry.php
4.91
KB
-rw-r--r--
2025-09-29 20:29
class-wp-block-type.php
16.83
KB
-rw-r--r--
2026-01-05 10:24
class-wp-classic-to-block-menu-converter.php
3.93
KB
-rw-r--r--
2026-01-05 10:24
class-wp-comment-query.php
47.49
KB
-rw-r--r--
2025-12-23 04:14
class-wp-connector-registry.php
14.07
KB
-rw-r--r--
2026-05-08 18:24
class-wp-customize-control.php
25.51
KB
-rw-r--r--
2025-09-07 06:47
class-wp-customize-manager.php
198.13
KB
-rw-r--r--
2026-05-13 11:20
class-wp-customize-nav-menus.php
56.61
KB
-rw-r--r--
2026-01-05 10:41
class-wp-customize-panel.php
10.46
KB
-rw-r--r--
2025-01-23 00:48
class-wp-customize-section.php
10.95
KB
-rw-r--r--
2024-10-13 23:09
class-wp-customize-setting.php
29.26
KB
-rw-r--r--
2026-02-28 04:18
class-wp-customize-widgets.php
70.89
KB
-rw-r--r--
2026-03-12 01:01
class-wp-date-query.php
35.13
KB
-rw-r--r--
2026-02-24 11:33
class-wp-fatal-error-handler.php
7.96
KB
-rw-r--r--
2024-10-22 14:16
class-wp-feed-cache-transient.php
3.23
KB
-rw-r--r--
2025-07-31 03:03
class-wp-feed-cache.php
969
B
-rw-r--r--
2024-10-01 02:50
class-wp-http-cookie.php
7.1
KB
-rw-r--r--
2026-01-05 10:58
class-wp-http-curl.php
12.95
KB
-rw-r--r--
2025-09-03 16:18
class-wp-http-encoding.php
6.53
KB
-rw-r--r--
2023-06-22 18:57
class-wp-http-ixr-client.php
3.43
KB
-rw-r--r--
2026-03-10 16:24
class-wp-http-proxy.php
5.84
KB
-rw-r--r--
2023-06-22 18:36
class-wp-http-requests-hooks.php
1.97
KB
-rw-r--r--
2022-12-16 02:32
class-wp-http-requests-response.php
4.14
KB
-rw-r--r--
2026-01-30 17:52
class-wp-http-response.php
2.91
KB
-rw-r--r--
2022-09-12 19:47
class-wp-http-streams.php
16.37
KB
-rw-r--r--
2026-01-10 10:03
class-wp-icons-registry.php
7.67
KB
-rw-r--r--
2026-03-20 19:41
class-wp-image-editor-gd.php
20.22
KB
-rw-r--r--
2025-09-03 16:18
class-wp-image-editor-imagick.php
36.11
KB
-rw-r--r--
2025-08-27 01:05
class-wp-image-editor.php
17.01
KB
-rw-r--r--
2025-12-17 01:21
class-wp-list-util.php
7.27
KB
-rw-r--r--
2024-02-28 03:38
class-wp-locale-switcher.php
6.62
KB
-rw-r--r--
2025-05-11 21:16
class-wp-meta-query.php
29.79
KB
-rw-r--r--
2026-01-06 11:08
class-wp-metadata-lazyloader.php
6.67
KB
-rw-r--r--
2025-10-21 19:59
class-wp-navigation-fallback.php
8.98
KB
-rw-r--r--
2025-06-19 00:39
class-wp-network-query.php
19.25
KB
-rw-r--r--
2025-12-23 04:14
class-wp-object-cache.php
17.11
KB
-rw-r--r--
2025-04-05 02:00
class-wp-oembed-controller.php
6.74
KB
-rw-r--r--
2024-03-06 10:05
class-wp-paused-extensions-storage.php
4.95
KB
-rw-r--r--
2026-01-06 10:36
class-wp-plugin-dependencies.php
24.59
KB
-rw-r--r--
2026-01-11 11:50
class-wp-post-type.php
29.95
KB
-rw-r--r--
2026-01-29 01:55
class-wp-recovery-mode-cookie-service.php
6.72
KB
-rw-r--r--
2022-10-04 07:59
class-wp-recovery-mode-email-service.php
10.9
KB
-rw-r--r--
2026-01-07 21:48
class-wp-recovery-mode-key-service.php
4.8
KB
-rw-r--r--
2026-03-02 04:04
class-wp-recovery-mode-link-service.php
3.44
KB
-rw-r--r--
2026-03-02 04:04
class-wp-recovery-mode.php
11.18
KB
-rw-r--r--
2025-02-23 16:11
class-wp-script-modules.php
39.65
KB
-rw-r--r--
2026-04-30 08:59
class-wp-session-tokens.php
7.15
KB
-rw-r--r--
2025-02-11 16:14
class-wp-simplepie-file.php
3.47
KB
-rw-r--r--
2025-09-17 02:47
class-wp-simplepie-sanitize-kses.php
1.87
KB
-rw-r--r--
2025-01-23 00:48
class-wp-site-query.php
30.74
KB
-rw-r--r--
2025-12-23 04:14
class-wp-speculation-rules.php
7.38
KB
-rw-r--r--
2025-11-23 10:08
class-wp-tax-query.php
19.12
KB
-rw-r--r--
2025-06-16 21:08
class-wp-term-query.php
39.8
KB
-rw-r--r--
2025-12-23 04:14
class-wp-text-diff-renderer-inline.php
979
B
-rw-r--r--
2024-02-15 00:27
class-wp-text-diff-renderer-table.php
18.49
KB
-rw-r--r--
2026-03-10 15:43
class-wp-textdomain-registry.php
10.24
KB
-rw-r--r--
2024-11-20 07:50
class-wp-theme-json-data.php
1.77
KB
-rw-r--r--
2024-06-04 15:55
class-wp-theme-json-resolver.php
34.86
KB
-rw-r--r--
2026-02-13 22:52
class-wp-theme-json-schema.php
7.19
KB
-rw-r--r--
2024-06-06 12:02
class-wp-theme-json.php
169.57
KB
-rw-r--r--
2026-02-20 07:25
class-wp-token-map.php
27.95
KB
-rw-r--r--
2024-07-20 03:44
class-wp-url-pattern-prefixer.php
4.69
KB
-rw-r--r--
2025-02-19 03:32
class-wp-user-meta-session-tokens.php
2.88
KB
-rw-r--r--
2026-01-11 11:50
class-wp-user-query.php
43.07
KB
-rw-r--r--
2026-01-11 11:50
class-wp-user-request.php
2.25
KB
-rw-r--r--
2025-02-17 16:24
class-wp-widget-factory.php
3.27
KB
-rw-r--r--
2022-09-12 19:47
class-wp-xmlrpc-server.php
209.98
KB
-rw-r--r--
2026-01-10 10:29
default-filters.php
36.54
KB
-rw-r--r--
2026-05-13 07:29
global-styles-and-settings.php
20.29
KB
-rw-r--r--
2026-02-10 20:20
ms-default-filters.php
6.48
KB
-rw-r--r--
2023-02-24 06:23
Save
Rename
<?php /** * WP_Application_Passwords class * * @package WordPress * @since 5.6.0 */ /** * Class for displaying, modifying, and sanitizing application passwords. * * @package WordPress */ #[AllowDynamicProperties] class WP_Application_Passwords { /** * The application passwords user meta key. * * @since 5.6.0 * * @var string */ const USERMETA_KEY_APPLICATION_PASSWORDS = '_application_passwords'; /** * The option name used to store whether application passwords are in use. * * @since 5.6.0 * * @var string */ const OPTION_KEY_IN_USE = 'using_application_passwords'; /** * The generated application password length. * * @since 5.6.0 * * @var int */ const PW_LENGTH = 24; /** * Checks if application passwords are being used by the site. * * This returns true if at least one application password has ever been created. * * @since 5.6.0 * * @return bool */ public static function is_in_use() { $network_id = get_main_network_id(); return (bool) get_network_option( $network_id, self::OPTION_KEY_IN_USE ); } /** * Creates a new application password. * * @since 5.6.0 * @since 5.7.0 Returns WP_Error if application name already exists. * @since 6.8.0 The hashed password value now uses wp_fast_hash() instead of phpass. * * @param int $user_id User ID. * @param array $args { * Arguments used to create the application password. * * @type string $name The name of the application password. * @type string $app_id A UUID provided by the application to uniquely identify it. * } * @return array|WP_Error { * Application password details, or a WP_Error instance if an error occurs. * * @type string $0 The generated application password in plain text. * @type array $1 { * The details about the created password. * * @type string $uuid The unique identifier for the application password. * @type string $app_id A UUID provided by the application to uniquely identify it. * @type string $name The name of the application password. * @type string $password A one-way hash of the password. * @type int $created Unix timestamp of when the password was created. * @type null $last_used Null. * @type null $last_ip Null. * } * } */ public static function create_new_application_password( $user_id, $args = array() ) { if ( ! empty( $args['name'] ) ) { $args['name'] = sanitize_text_field( $args['name'] ); } if ( empty( $args['name'] ) ) { return new WP_Error( 'application_password_empty_name', __( 'An application name is required to create an application password.' ), array( 'status' => 400 ) ); } $new_password = wp_generate_password( static::PW_LENGTH, false ); $hashed_password = self::hash_password( $new_password ); $new_item = array( 'uuid' => wp_generate_uuid4(), 'app_id' => empty( $args['app_id'] ) ? '' : $args['app_id'], 'name' => $args['name'], 'password' => $hashed_password, 'created' => time(), 'last_used' => null, 'last_ip' => null, ); $passwords = static::get_user_application_passwords( $user_id ); $passwords[] = $new_item; $saved = static::set_user_application_passwords( $user_id, $passwords ); if ( ! $saved ) { return new WP_Error( 'db_error', __( 'Could not save application password.' ) ); } $network_id = get_main_network_id(); if ( ! get_network_option( $network_id, self::OPTION_KEY_IN_USE ) ) { update_network_option( $network_id, self::OPTION_KEY_IN_USE, true ); } /** * Fires when an application password is created. * * @since 5.6.0 * @since 6.8.0 The hashed password value now uses wp_fast_hash() instead of phpass. * * @param int $user_id The user ID. * @param array $new_item { * The details about the created password. * * @type string $uuid The unique identifier for the application password. * @type string $app_id A UUID provided by the application to uniquely identify it. * @type string $name The name of the application password. * @type string $password A one-way hash of the password. * @type int $created Unix timestamp of when the password was created. * @type null $last_used Null. * @type null $last_ip Null. * } * @param string $new_password The generated application password in plain text. * @param array $args { * Arguments used to create the application password. * * @type string $name The name of the application password. * @type string $app_id A UUID provided by the application to uniquely identify it. * } */ do_action( 'wp_create_application_password', $user_id, $new_item, $new_password, $args ); return array( $new_password, $new_item ); } /** * Gets a user's application passwords. * * @since 5.6.0 * * @param int $user_id User ID. * @return array { * The list of application passwords. * * @type array ...$0 { * @type string $uuid The unique identifier for the application password. * @type string $app_id A UUID provided by the application to uniquely identify it. * @type string $name The name of the application password. * @type string $password A one-way hash of the password. * @type int $created Unix timestamp of when the password was created. * @type int|null $last_used The Unix timestamp of the GMT date the application password was last used. * @type string|null $last_ip The IP address the application password was last used by. * } * } */ public static function get_user_application_passwords( $user_id ) { $passwords = get_user_meta( $user_id, static::USERMETA_KEY_APPLICATION_PASSWORDS, true ); if ( ! is_array( $passwords ) ) { return array(); } $save = false; foreach ( $passwords as $i => $password ) { if ( ! isset( $password['uuid'] ) ) { $passwords[ $i ]['uuid'] = wp_generate_uuid4(); $save = true; } } if ( $save ) { static::set_user_application_passwords( $user_id, $passwords ); } return $passwords; } /** * Gets a user's application password with the given UUID. * * @since 5.6.0 * * @param int $user_id User ID. * @param string $uuid The password's UUID. * @return array|null { * The application password if found, null otherwise. * * @type string $uuid The unique identifier for the application password. * @type string $app_id A UUID provided by the application to uniquely identify it. * @type string $name The name of the application password. * @type string $password A one-way hash of the password. * @type int $created Unix timestamp of when the password was created. * @type int|null $last_used The Unix timestamp of the GMT date the application password was last used. * @type string|null $last_ip The IP address the application password was last used by. * } */ public static function get_user_application_password( $user_id, $uuid ) { $passwords = static::get_user_application_passwords( $user_id ); foreach ( $passwords as $password ) { if ( $password['uuid'] === $uuid ) { return $password; } } return null; } /** * Checks if an application password with the given name exists for this user. * * @since 5.7.0 * * @param int $user_id User ID. * @param string $name Application name. * @return bool Whether the provided application name exists. */ public static function application_name_exists_for_user( $user_id, $name ) { $passwords = static::get_user_application_passwords( $user_id ); foreach ( $passwords as $password ) { if ( strtolower( $password['name'] ) === strtolower( $name ) ) { return true; } } return false; } /** * Updates an application password. * * @since 5.6.0 * @since 6.8.0 The actual password should now be hashed using wp_fast_hash(). * * @param int $user_id User ID. * @param string $uuid The password's UUID. * @param array $update { * Information about the application password to update. * * @type string $uuid The unique identifier for the application password. * @type string $app_id A UUID provided by the application to uniquely identify it. * @type string $name The name of the application password. * @type string $password A one-way hash of the password. * @type int $created Unix timestamp of when the password was created. * @type int|null $last_used The Unix timestamp of the GMT date the application password was last used. * @type string|null $last_ip The IP address the application password was last used by. * } * @return true|WP_Error True if successful, otherwise a WP_Error instance is returned on error. */ public static function update_application_password( $user_id, $uuid, $update = array() ) { $passwords = static::get_user_application_passwords( $user_id ); foreach ( $passwords as &$item ) { if ( $item['uuid'] !== $uuid ) { continue; } if ( ! empty( $update['name'] ) ) { $update['name'] = sanitize_text_field( $update['name'] ); } $save = false; if ( ! empty( $update['name'] ) && $item['name'] !== $update['name'] ) { $item['name'] = $update['name']; $save = true; } if ( $save ) { $saved = static::set_user_application_passwords( $user_id, $passwords ); if ( ! $saved ) { return new WP_Error( 'db_error', __( 'Could not save application password.' ) ); } } /** * Fires when an application password is updated. * * @since 5.6.0 * @since 6.8.0 The password is now hashed using wp_fast_hash() instead of phpass. * Existing passwords may still be hashed using phpass. * * @param int $user_id The user ID. * @param array $item { * The updated application password details. * * @type string $uuid The unique identifier for the application password. * @type string $app_id A UUID provided by the application to uniquely identify it. * @type string $name The name of the application password. * @type string $password A one-way hash of the password. * @type int $created Unix timestamp of when the password was created. * @type int|null $last_used The Unix timestamp of the GMT date the application password was last used. * @type string|null $last_ip The IP address the application password was last used by. * } * @param array $update The information to update. */ do_action( 'wp_update_application_password', $user_id, $item, $update ); return true; } return new WP_Error( 'application_password_not_found', __( 'Could not find an application password with that id.' ) ); } /** * Records that an application password has been used. * * @since 5.6.0 * * @param int $user_id User ID. * @param string $uuid The password's UUID. * @return true|WP_Error True if the usage was recorded, a WP_Error if an error occurs. */ public static function record_application_password_usage( $user_id, $uuid ) { $passwords = static::get_user_application_passwords( $user_id ); foreach ( $passwords as &$password ) { if ( $password['uuid'] !== $uuid ) { continue; } // Only record activity once a day. if ( $password['last_used'] + DAY_IN_SECONDS > time() ) { return true; } $password['last_used'] = time(); $password['last_ip'] = $_SERVER['REMOTE_ADDR']; $saved = static::set_user_application_passwords( $user_id, $passwords ); if ( ! $saved ) { return new WP_Error( 'db_error', __( 'Could not save application password.' ) ); } return true; } // Specified application password not found! return new WP_Error( 'application_password_not_found', __( 'Could not find an application password with that id.' ) ); } /** * Deletes an application password. * * @since 5.6.0 * * @param int $user_id User ID. * @param string $uuid The password's UUID. * @return true|WP_Error Whether the password was successfully found and deleted, a WP_Error otherwise. */ public static function delete_application_password( $user_id, $uuid ) { $passwords = static::get_user_application_passwords( $user_id ); foreach ( $passwords as $key => $item ) { if ( $item['uuid'] === $uuid ) { unset( $passwords[ $key ] ); $saved = static::set_user_application_passwords( $user_id, $passwords ); if ( ! $saved ) { return new WP_Error( 'db_error', __( 'Could not delete application password.' ) ); } /** * Fires when an application password is deleted. * * @since 5.6.0 * * @param int $user_id The user ID. * @param array $item The data about the application password. */ do_action( 'wp_delete_application_password', $user_id, $item ); return true; } } return new WP_Error( 'application_password_not_found', __( 'Could not find an application password with that id.' ) ); } /** * Deletes all application passwords for the given user. * * @since 5.6.0 * * @param int $user_id User ID. * @return int|WP_Error The number of passwords that were deleted or a WP_Error on failure. */ public static function delete_all_application_passwords( $user_id ) { $passwords = static::get_user_application_passwords( $user_id ); if ( $passwords ) { $saved = static::set_user_application_passwords( $user_id, array() ); if ( ! $saved ) { return new WP_Error( 'db_error', __( 'Could not delete application passwords.' ) ); } foreach ( $passwords as $item ) { /** This action is documented in wp-includes/class-wp-application-passwords.php */ do_action( 'wp_delete_application_password', $user_id, $item ); } return count( $passwords ); } return 0; } /** * Sets a user's application passwords. * * @since 5.6.0 * * @param int $user_id User ID. * @param array $passwords { * The list of application passwords. * * @type array ...$0 { * @type string $uuid The unique identifier for the application password. * @type string $app_id A UUID provided by the application to uniquely identify it. * @type string $name The name of the application password. * @type string $password A one-way hash of the password. * @type int $created Unix timestamp of when the password was created. * @type int|null $last_used The Unix timestamp of the GMT date the application password was last used. * @type string|null $last_ip The IP address the application password was last used by. * } * } * @return int|bool User meta ID if the key didn't exist (ie. this is the first time that an application password * has been saved for the user), true on successful update, false on failure or if the value passed * is the same as the one that is already in the database. */ protected static function set_user_application_passwords( $user_id, $passwords ) { return update_user_meta( $user_id, static::USERMETA_KEY_APPLICATION_PASSWORDS, $passwords ); } /** * Sanitizes and then splits a password into smaller chunks. * * @since 5.6.0 * * @param string $raw_password The raw application password. * @return string The chunked password. */ public static function chunk_password( #[\SensitiveParameter] $raw_password ) { $raw_password = preg_replace( '/[^a-z\d]/i', '', $raw_password ); return trim( chunk_split( $raw_password, 4, ' ' ) ); } /** * Hashes a plaintext application password. * * @since 6.8.0 * * @param string $password Plaintext password. * @return string Hashed password. */ public static function hash_password( #[\SensitiveParameter] string $password ): string { return wp_fast_hash( $password ); } /** * Checks a plaintext application password against a hashed password. * * @since 6.8.0 * * @param string $password Plaintext password. * @param string $hash Hash of the password to check against. * @return bool Whether the password matches the hashed password. */ public static function check_password( #[\SensitiveParameter] string $password, string $hash ): bool { if ( ! str_starts_with( $hash, '$generic$' ) ) { /* * If the hash doesn't start with `$generic$`, it is a hash created with `wp_hash_password()`. * This is the case for application passwords created before 6.8.0. */ return wp_check_password( $password, $hash ); } return wp_verify_fast_hash( $password, $hash ); } }