Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.1.1 & Your IP : 18.217.95.146
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
ipflix /
wp-admin /
includes /
Delete
Unzip
Name
Size
Permission
Date
Action
admin-filters.php
7.85
KB
-rw-r--r--
2025-04-15 16:45
admin.php
3.54
KB
-rw-r-----
2023-07-11 05:03
ajax-actions.php
148.08
KB
-rw-r--r--
2025-04-15 16:45
bookmark.php
11.45
KB
-rw-r--r--
2025-04-15 16:45
class-automatic-upgrader-skin.php
3.58
KB
-rw-r-----
2023-06-22 14:36
class-bulk-plugin-upgrader-skin.php
2.53
KB
-rw-r--r--
2024-07-16 18:37
class-bulk-theme-upgrader-skin.php
2.6
KB
-rw-r--r--
2024-07-16 18:37
class-bulk-upgrader-skin.php
6.59
KB
-rw-r--r--
2024-07-16 18:37
class-core-upgrader.php
14.83
KB
-rw-r--r--
2024-11-13 02:55
class-custom-background.php
21.14
KB
-rw-r--r--
2025-04-15 16:45
class-custom-image-header.php
48.14
KB
-rw-r--r--
2025-04-15 16:45
class-file-upload-upgrader.php
4.07
KB
-rw-r--r--
2024-07-16 18:37
class-ftp-pure.php
5.3
KB
-rw-r-----
2019-11-01 14:57
class-ftp-sockets.php
8.28
KB
-rw-r-----
2022-03-22 16:25
class-ftp.php
26.73
KB
-rw-r--r--
2025-04-15 16:45
class-language-pack-upgrader-skin.php
2.8
KB
-rw-r--r--
2024-07-16 18:37
class-language-pack-upgrader.php
15.2
KB
-rw-r--r--
2024-07-16 18:37
class-pclzip.php
192.08
KB
-rw-r--r--
2025-04-15 16:45
class-plugin-installer-skin.php
11.77
KB
-rw-r--r--
2024-11-13 02:55
class-plugin-upgrader-skin.php
3.2
KB
-rw-r-----
2023-06-14 06:34
class-plugin-upgrader.php
22.7
KB
-rw-r--r--
2024-11-13 02:55
class-theme-installer-skin.php
12.44
KB
-rw-r--r--
2025-04-15 16:45
class-theme-upgrader-skin.php
4.08
KB
-rw-r--r--
2024-04-03 05:04
class-theme-upgrader.php
26.08
KB
-rw-r--r--
2024-11-13 02:55
class-walker-category-checklist.php
4.97
KB
-rw-r--r--
2024-11-13 02:55
class-walker-nav-menu-checklist.php
5.5
KB
-rw-r-----
2023-09-08 09:32
class-walker-nav-menu-edit.php
13.85
KB
-rw-r--r--
2024-11-13 02:55
class-wp-ajax-upgrader-skin.php
4.09
KB
-rw-r-----
2023-06-22 14:36
class-wp-application-passwords-list-table.php
6.79
KB
-rw-r--r--
2024-04-03 05:04
class-wp-automatic-updater.php
60.45
KB
-rw-r--r--
2025-04-15 16:45
class-wp-comments-list-table.php
32.28
KB
-rw-r--r--
2025-04-15 16:45
class-wp-community-events.php
18.33
KB
-rw-r-----
2023-09-12 15:23
class-wp-debug-data.php
65.06
KB
-rw-r--r--
2025-04-15 16:45
class-wp-filesystem-base.php
23.84
KB
-rw-r--r--
2024-04-03 05:04
class-wp-filesystem-direct.php
17.72
KB
-rw-r--r--
2024-04-03 05:04
class-wp-filesystem-ftpext.php
22.56
KB
-rw-r--r--
2024-04-03 05:04
class-wp-filesystem-ftpsockets.php
18.05
KB
-rw-r--r--
2024-04-03 05:04
class-wp-filesystem-ssh2.php
22.76
KB
-rw-r--r--
2024-04-03 05:04
class-wp-importer.php
7.32
KB
-rw-r--r--
2025-04-15 16:45
class-wp-internal-pointers.php
4.47
KB
-rw-r-----
2023-06-14 12:57
class-wp-links-list-table.php
9.02
KB
-rw-r--r--
2024-11-13 02:55
class-wp-list-table-compat.php
1.46
KB
-rw-r-----
2020-11-14 16:54
class-wp-list-table.php
51.67
KB
-rw-r--r--
2025-04-15 16:45
class-wp-media-list-table.php
25.29
KB
-rw-r--r--
2025-04-15 16:45
class-wp-ms-sites-list-table.php
21.5
KB
-rw-r--r--
2025-04-15 16:45
class-wp-ms-themes-list-table.php
27.77
KB
-rw-r--r--
2025-04-15 16:45
class-wp-ms-users-list-table.php
15.35
KB
-rw-r--r--
2025-04-15 16:45
class-wp-plugin-install-list-table.php
24.21
KB
-rw-r--r--
2024-11-13 02:55
class-wp-plugins-list-table.php
56.43
KB
-rw-r--r--
2024-11-13 02:55
class-wp-post-comments-list-table.php
1.42
KB
-rw-r-----
2022-10-04 03:47
class-wp-posts-list-table.php
62.71
KB
-rw-r--r--
2025-04-15 16:45
class-wp-privacy-data-export-requests-list-table.php
5.43
KB
-rw-r-----
2022-03-10 19:22
class-wp-privacy-data-removal-requests-list-table.php
5.58
KB
-rw-r-----
2023-09-08 09:32
class-wp-privacy-policy-content.php
31.86
KB
-rw-r--r--
2025-04-15 16:45
class-wp-privacy-requests-table.php
14.06
KB
-rw-r--r--
2025-04-15 16:45
class-wp-screen.php
36.45
KB
-rw-r--r--
2024-07-16 18:37
class-wp-site-health-auto-updates.php
14
KB
-rw-r--r--
2025-04-15 16:45
class-wp-site-health.php
119.49
KB
-rw-r--r--
2025-04-15 16:45
class-wp-site-icon.php
6.26
KB
-rw-r--r--
2024-04-03 05:04
class-wp-terms-list-table.php
20.69
KB
-rw-r--r--
2024-07-16 18:37
class-wp-theme-install-list-table.php
15.23
KB
-rw-r--r--
2025-04-15 16:45
class-wp-themes-list-table.php
10.11
KB
-rw-r--r--
2025-04-15 16:45
class-wp-upgrader-skin.php
6.94
KB
-rw-r--r--
2024-07-16 18:37
class-wp-upgrader-skins.php
1.44
KB
-rw-r-----
2019-10-08 17:19
class-wp-upgrader.php
46.88
KB
-rw-r--r--
2025-05-01 03:36
class-wp-users-list-table.php
18.61
KB
-rw-r--r--
2024-04-03 05:04
comment.php
5.98
KB
-rw-r-----
2022-07-20 22:15
continents-cities.php
20.06
KB
-rw-r-----
2022-09-19 23:24
credits.php
5.73
KB
-rw-r--r--
2025-04-15 16:45
dashboard.php
68.08
KB
-rw-r--r--
2024-11-13 02:55
deprecated.php
40.8
KB
-rw-r--r--
2024-04-03 05:04
edit-tag-messages.php
1.44
KB
-rw-r-----
2021-12-07 12:20
export.php
24.97
KB
-rw-r--r--
2024-07-16 18:37
file.php
95.87
KB
-rw-r--r--
2025-04-15 16:45
image-edit.php
42.85
KB
-rw-r--r--
2025-04-15 16:45
image.php
41.66
KB
-rw-r--r--
2025-04-15 16:45
import.php
6.46
KB
-rw-r--r--
2024-11-13 02:55
list-table.php
3.71
KB
-rw-r-----
2022-10-04 03:47
media.php
116.32
KB
-rw-r--r--
2025-04-15 16:45
menu.php
9.39
KB
-rw-r--r--
2024-04-03 05:04
meta-boxes.php
64.53
KB
-rw-r--r--
2025-04-15 16:45
misc.php
44.71
KB
-rw-r--r--
2025-04-15 16:45
ms-admin-filters.php
1.27
KB
-rw-r-----
2022-09-20 02:51
ms-deprecated.php
3.68
KB
-rw-r-----
2022-09-20 02:51
ms.php
33.51
KB
-rw-r--r--
2025-04-15 16:45
nav-menu.php
47.89
KB
-rw-r--r--
2025-04-15 16:45
network.php
26.36
KB
-rw-r--r--
2025-04-15 16:45
noop.php
1.12
KB
-rw-r-----
2023-09-21 01:27
options.php
4.15
KB
-rw-r--r--
2024-04-03 05:04
plugin-install.php
38.55
KB
-rw-r--r--
2024-11-13 02:55
plugin.php
90.75
KB
-rw-r--r--
2024-11-13 02:55
post.php
80.28
KB
-rw-r--r--
2025-04-15 16:45
privacy-tools.php
32.68
KB
-rw-r-----
2023-06-22 14:36
revision.php
16.12
KB
-rw-r--r--
2025-04-15 16:45
schema.php
41.86
KB
-rw-r--r--
2025-04-15 16:45
screen.php
6.23
KB
-rw-r--r--
2024-07-16 18:37
taxonomy.php
8.23
KB
-rw-r-----
2023-03-10 07:04
template.php
96.22
KB
-rw-r--r--
2025-04-15 16:45
theme-install.php
6.83
KB
-rw-r--r--
2024-04-03 05:04
theme.php
46.62
KB
-rw-r--r--
2024-11-13 02:55
translation-install.php
10.82
KB
-rw-r--r--
2024-11-13 02:55
update-core.php
68.5
KB
-rw-r--r--
2025-05-01 03:36
update.php
33.63
KB
-rw-r--r--
2025-04-15 16:45
upgrade.php
111.08
KB
-rw-r--r--
2025-04-15 16:45
user.php
22.98
KB
-rw-r--r--
2025-04-15 16:45
widgets.php
10.66
KB
-rw-r-----
2023-09-09 09:28
Save
Rename
<?php /** * Class for testing automatic updates in the WordPress code. * * @package WordPress * @subpackage Site_Health * @since 5.2.0 */ #[AllowDynamicProperties] class WP_Site_Health_Auto_Updates { /** * WP_Site_Health_Auto_Updates constructor. * * @since 5.2.0 */ public function __construct() { require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; } /** * Runs tests to determine if auto-updates can run. * * @since 5.2.0 * * @return array The test results. */ public function run_tests() { $tests = array( $this->test_constants( 'WP_AUTO_UPDATE_CORE', array( true, 'beta', 'rc', 'development', 'branch-development', 'minor' ) ), $this->test_wp_version_check_attached(), $this->test_filters_automatic_updater_disabled(), $this->test_wp_automatic_updates_disabled(), $this->test_if_failed_update(), $this->test_vcs_abspath(), $this->test_check_wp_filesystem_method(), $this->test_all_files_writable(), $this->test_accepts_dev_updates(), $this->test_accepts_minor_updates(), ); $tests = array_filter( $tests ); $tests = array_map( static function ( $test ) { $test = (object) $test; if ( empty( $test->severity ) ) { $test->severity = 'warning'; } return $test; }, $tests ); return $tests; } /** * Tests if auto-updates related constants are set correctly. * * @since 5.2.0 * @since 5.5.1 The `$value` parameter can accept an array. * * @param string $constant The name of the constant to check. * @param bool|string|array $value The value that the constant should be, if set, * or an array of acceptable values. * @return array|null The test results if there are any constants set incorrectly, * or null if the test passed. */ public function test_constants( $constant, $value ) { $acceptable_values = (array) $value; if ( defined( $constant ) && ! in_array( constant( $constant ), $acceptable_values, true ) ) { return array( 'description' => sprintf( /* translators: 1: Name of the constant used. 2: Value of the constant used. */ __( 'The %1$s constant is defined as %2$s' ), "<code>$constant</code>", '<code>' . esc_html( var_export( constant( $constant ), true ) ) . '</code>' ), 'severity' => 'fail', ); } return null; } /** * Checks if updates are intercepted by a filter. * * @since 5.2.0 * * @return array|null The test results if wp_version_check() is disabled, * or null if the test passed. */ public function test_wp_version_check_attached() { if ( ( ! is_multisite() || is_main_site() && is_network_admin() ) && ! has_filter( 'wp_version_check', 'wp_version_check' ) ) { return array( 'description' => sprintf( /* translators: %s: Name of the filter used. */ __( 'A plugin has prevented updates by disabling %s.' ), '<code>wp_version_check()</code>' ), 'severity' => 'fail', ); } return null; } /** * Checks if automatic updates are disabled by a filter. * * @since 5.2.0 * * @return array|null The test results if the {@see 'automatic_updater_disabled'} filter is set, * or null if the test passed. */ public function test_filters_automatic_updater_disabled() { /** This filter is documented in wp-admin/includes/class-wp-automatic-updater.php */ if ( apply_filters( 'automatic_updater_disabled', false ) ) { return array( 'description' => sprintf( /* translators: %s: Name of the filter used. */ __( 'The %s filter is enabled.' ), '<code>automatic_updater_disabled</code>' ), 'severity' => 'fail', ); } return null; } /** * Checks if automatic updates are disabled. * * @since 5.3.0 * * @return array|false The test results if auto-updates are disabled, false otherwise. */ public function test_wp_automatic_updates_disabled() { if ( ! class_exists( 'WP_Automatic_Updater' ) ) { require_once ABSPATH . 'wp-admin/includes/class-wp-automatic-updater.php'; } $auto_updates = new WP_Automatic_Updater(); if ( ! $auto_updates->is_disabled() ) { return false; } return array( 'description' => __( 'All automatic updates are disabled.' ), 'severity' => 'fail', ); } /** * Checks if automatic updates have tried to run, but failed, previously. * * @since 5.2.0 * * @return array|false The test results if auto-updates previously failed, false otherwise. */ public function test_if_failed_update() { $failed = get_site_option( 'auto_core_update_failed' ); if ( ! $failed ) { return false; } if ( ! empty( $failed['critical'] ) ) { $description = __( 'A previous automatic background update ended with a critical failure, so updates are now disabled.' ); $description .= ' ' . __( 'You would have received an email because of this.' ); $description .= ' ' . __( "When you've been able to update using the \"Update now\" button on Dashboard > Updates, this error will be cleared for future update attempts." ); $description .= ' ' . sprintf( /* translators: %s: Code of error shown. */ __( 'The error code was %s.' ), '<code>' . $failed['error_code'] . '</code>' ); return array( 'description' => $description, 'severity' => 'warning', ); } $description = __( 'A previous automatic background update could not occur.' ); if ( empty( $failed['retry'] ) ) { $description .= ' ' . __( 'You would have received an email because of this.' ); } $description .= ' ' . __( 'Another attempt will be made with the next release.' ); $description .= ' ' . sprintf( /* translators: %s: Code of error shown. */ __( 'The error code was %s.' ), '<code>' . $failed['error_code'] . '</code>' ); return array( 'description' => $description, 'severity' => 'warning', ); } /** * Checks if WordPress is controlled by a VCS (Git, Subversion etc). * * @since 5.2.0 * * @return array The test results. */ public function test_vcs_abspath() { $context_dirs = array( ABSPATH ); $vcs_dirs = array( '.svn', '.git', '.hg', '.bzr' ); $check_dirs = array(); foreach ( $context_dirs as $context_dir ) { // Walk up from $context_dir to the root. do { $check_dirs[] = $context_dir; // Once we've hit '/' or 'C:\', we need to stop. dirname will keep returning the input here. if ( dirname( $context_dir ) === $context_dir ) { break; } // Continue one level at a time. } while ( $context_dir = dirname( $context_dir ) ); } $check_dirs = array_unique( $check_dirs ); $updater = new WP_Automatic_Updater(); $checkout = false; // Search all directories we've found for evidence of version control. foreach ( $vcs_dirs as $vcs_dir ) { foreach ( $check_dirs as $check_dir ) { if ( ! $updater->is_allowed_dir( $check_dir ) ) { continue; } $checkout = is_dir( rtrim( $check_dir, '\\/' ) . "/$vcs_dir" ); if ( $checkout ) { break 2; } } } /** This filter is documented in wp-admin/includes/class-wp-automatic-updater.php */ if ( $checkout && ! apply_filters( 'automatic_updates_is_vcs_checkout', true, ABSPATH ) ) { return array( 'description' => sprintf( /* translators: 1: Folder name. 2: Version control directory. 3: Filter name. */ __( 'The folder %1$s was detected as being under version control (%2$s), but the %3$s filter is allowing updates.' ), '<code>' . $check_dir . '</code>', "<code>$vcs_dir</code>", '<code>automatic_updates_is_vcs_checkout</code>' ), 'severity' => 'info', ); } if ( $checkout ) { return array( 'description' => sprintf( /* translators: 1: Folder name. 2: Version control directory. */ __( 'The folder %1$s was detected as being under version control (%2$s).' ), '<code>' . $check_dir . '</code>', "<code>$vcs_dir</code>" ), 'severity' => 'warning', ); } return array( 'description' => __( 'No version control systems were detected.' ), 'severity' => 'pass', ); } /** * Checks if we can access files without providing credentials. * * @since 5.2.0 * * @return array The test results. */ public function test_check_wp_filesystem_method() { // Make sure the `request_filesystem_credentials()` function is available during our REST API call. if ( ! function_exists( 'request_filesystem_credentials' ) ) { require_once ABSPATH . 'wp-admin/includes/file.php'; } $skin = new Automatic_Upgrader_Skin(); $success = $skin->request_filesystem_credentials( false, ABSPATH ); if ( ! $success ) { $description = __( 'Your installation of WordPress prompts for FTP credentials to perform updates.' ); $description .= ' ' . __( '(Your site is performing updates over FTP due to file ownership. Talk to your hosting company.)' ); return array( 'description' => $description, 'severity' => 'fail', ); } return array( 'description' => __( 'Your installation of WordPress does not require FTP credentials to perform updates.' ), 'severity' => 'pass', ); } /** * Checks if core files are writable by the web user/group. * * @since 5.2.0 * * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass. * * @return array|false The test results if at least some of WordPress core files are writeable, * or if a list of the checksums could not be retrieved from WordPress.org. * False if the core files are not writeable. */ public function test_all_files_writable() { global $wp_filesystem; require ABSPATH . WPINC . '/version.php'; // $wp_version; // x.y.z $skin = new Automatic_Upgrader_Skin(); $success = $skin->request_filesystem_credentials( false, ABSPATH ); if ( ! $success ) { return false; } WP_Filesystem(); if ( 'direct' !== $wp_filesystem->method ) { return false; } // Make sure the `get_core_checksums()` function is available during our REST API call. if ( ! function_exists( 'get_core_checksums' ) ) { require_once ABSPATH . 'wp-admin/includes/update.php'; } $checksums = get_core_checksums( $wp_version, 'en_US' ); $dev = ( str_contains( $wp_version, '-' ) ); // Get the last stable version's files and test against that. if ( ! $checksums && $dev ) { $checksums = get_core_checksums( (float) $wp_version - 0.1, 'en_US' ); } // There aren't always checksums for development releases, so just skip the test if we still can't find any. if ( ! $checksums && $dev ) { return false; } if ( ! $checksums ) { $description = sprintf( /* translators: %s: WordPress version. */ __( "Couldn't retrieve a list of the checksums for WordPress %s." ), $wp_version ); $description .= ' ' . __( 'This could mean that connections are failing to WordPress.org.' ); return array( 'description' => $description, 'severity' => 'warning', ); } $unwritable_files = array(); foreach ( array_keys( $checksums ) as $file ) { if ( str_starts_with( $file, 'wp-content' ) ) { continue; } if ( ! file_exists( ABSPATH . $file ) ) { continue; } if ( ! is_writable( ABSPATH . $file ) ) { $unwritable_files[] = $file; } } if ( $unwritable_files ) { if ( count( $unwritable_files ) > 20 ) { $unwritable_files = array_slice( $unwritable_files, 0, 20 ); $unwritable_files[] = '...'; } return array( 'description' => __( 'Some files are not writable by WordPress:' ) . ' <ul><li>' . implode( '</li><li>', $unwritable_files ) . '</li></ul>', 'severity' => 'fail', ); } else { return array( 'description' => __( 'All of your WordPress files are writable.' ), 'severity' => 'pass', ); } } /** * Checks if the install is using a development branch and can use nightly packages. * * @since 5.2.0 * * @return array|false|null The test results if development updates are blocked. * False if it isn't a development version. Null if the test passed. */ public function test_accepts_dev_updates() { require ABSPATH . WPINC . '/version.php'; // $wp_version; // x.y.z // Only for dev versions. if ( ! str_contains( $wp_version, '-' ) ) { return false; } if ( defined( 'WP_AUTO_UPDATE_CORE' ) && ( 'minor' === WP_AUTO_UPDATE_CORE || false === WP_AUTO_UPDATE_CORE ) ) { return array( 'description' => sprintf( /* translators: %s: Name of the constant used. */ __( 'WordPress development updates are blocked by the %s constant.' ), '<code>WP_AUTO_UPDATE_CORE</code>' ), 'severity' => 'fail', ); } /** This filter is documented in wp-admin/includes/class-core-upgrader.php */ if ( ! apply_filters( 'allow_dev_auto_core_updates', $wp_version ) ) { return array( 'description' => sprintf( /* translators: %s: Name of the filter used. */ __( 'WordPress development updates are blocked by the %s filter.' ), '<code>allow_dev_auto_core_updates</code>' ), 'severity' => 'fail', ); } return null; } /** * Checks if the site supports automatic minor updates. * * @since 5.2.0 * * @return array|null The test results if minor updates are blocked, * or null if the test passed. */ public function test_accepts_minor_updates() { if ( defined( 'WP_AUTO_UPDATE_CORE' ) && false === WP_AUTO_UPDATE_CORE ) { return array( 'description' => sprintf( /* translators: %s: Name of the constant used. */ __( 'WordPress security and maintenance releases are blocked by %s.' ), "<code>define( 'WP_AUTO_UPDATE_CORE', false );</code>" ), 'severity' => 'fail', ); } /** This filter is documented in wp-admin/includes/class-core-upgrader.php */ if ( ! apply_filters( 'allow_minor_auto_core_updates', true ) ) { return array( 'description' => sprintf( /* translators: %s: Name of the filter used. */ __( 'WordPress security and maintenance releases are blocked by the %s filter.' ), '<code>allow_minor_auto_core_updates</code>' ), 'severity' => 'fail', ); } return null; } }