SILENT KILLERPanel

Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > updraftplus > > > includes


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//ameliagraphics.com/wp-content/plugins/updraftplus///includes

NameTypeSizeLast ModifiedActions
Dropbox2 Directory - -
Google Directory - -
blockui Directory - -
checkout-embed Directory - -
cloudfiles Directory - -
handlebars Directory - -
images Directory - -
jquery-ui.dialog.extended Directory - -
jquery.serializeJSON Directory - -
jstree Directory - -
labelauty Directory - -
pcloud Directory - -
select2 Directory - -
tether Directory - -
tether-shepherd Directory - -
updraftclone Directory - -
S3.php File 78483 bytes March 21 2025 22:25:22.
S3compat.php File 31581 bytes December 23 2024 23:47:28.
cacert.pem File 221470 bytes November 23 2023 19:21:20.
class-backup-history.php File 40508 bytes April 17 2025 13:45:08.
class-commands.php File 49966 bytes April 17 2025 13:45:08.
class-database-utility.php File 37569 bytes April 17 2025 13:45:08.
class-filesystem-functions.php File 41259 bytes December 23 2024 23:47:28.
class-http-error-descriptions.php File 11669 bytes August 09 2023 18:48:00.
class-job-scheduler.php File 10552 bytes May 16 2023 19:44:38.
class-manipulation-functions.php File 17139 bytes July 06 2023 16:16:56.
class-partialfileservlet.php File 7558 bytes December 23 2024 23:47:28.
class-remote-send.php File 32760 bytes March 21 2025 22:25:22.
class-search-replace.php File 20570 bytes December 23 2024 23:47:28.
class-semaphore.php File 6424 bytes August 22 2022 22:55:02.
class-storage-methods-interface.php File 18664 bytes August 09 2023 18:48:00.
class-updraft-dashboard-news.php File 8242 bytes December 23 2024 23:47:28.
class-updraft-semaphore.php File 7693 bytes August 19 2021 15:58:16.
class-updraftcentral-updraftplus-commands.php File 1857 bytes December 15 2022 01:35:40.
class-updraftplus-encryption.php File 14031 bytes April 17 2025 13:45:08.
class-wpadmin-commands.php File 39447 bytes February 26 2025 16:29:18.
class-zip.php File 18336 bytes March 21 2025 22:25:22.
ftp.class.php File 6769 bytes April 17 2025 13:45:08.
get-cpanel-quota-usage.pl File 408 bytes October 18 2013 00:20:56.
google-extensions.php File 9497 bytes December 23 2024 23:47:28.
jquery-ui.custom-v1.11.4-1-25-6.min.css File 38751 bytes May 28 2025 00:56:22.
jquery-ui.custom-v1.11.4-1-25-6.min.css.map File 58374 bytes May 28 2025 00:56:22.
jquery-ui.custom-v1.11.4.css File 43193 bytes September 16 2022 16:41:44.
jquery-ui.custom-v1.12.1-1-25-6.min.css File 40497 bytes May 28 2025 00:56:22.
jquery-ui.custom-v1.12.1-1-25-6.min.css.map File 60839 bytes May 28 2025 00:56:22.
jquery-ui.custom-v1.12.1.css File 45090 bytes September 16 2022 16:41:44.
migrator-lite.php File 53735 bytes January 11 2025 21:36:56.
updraft-admin-common-1-25-6.min.js File 158895 bytes May 28 2025 00:56:22.
updraft-admin-common.js File 263234 bytes May 28 2025 00:56:22.
updraft-restorer-skin-compatibility.php File 452 bytes February 21 2020 14:44:26.
updraft-restorer-skin.php File 1723 bytes December 15 2022 01:35:40.
updraftcentral.php File 3464 bytes April 17 2025 13:45:08.
updraftplus-clone.php File 7237 bytes March 21 2025 22:25:22.
updraftplus-login.php File 4368 bytes March 11 2019 20:05:38.
updraftplus-notices.php File 22065 bytes March 21 2025 22:25:22.
updraftplus-tour.php File 13366 bytes April 17 2025 13:45:08.
updraftvault.php File 2040 bytes December 15 2022 01:35:40.

Reading File: /home/codekrsu//ameliagraphics.com/wp-content/plugins/updraftplus///includes/updraftcentral.php

<?php

if (!defined('UPDRAFTPLUS_DIR')) die('No direct access allowed.');

if (!class_exists('UpdraftPlus_Login')) require_once('updraftplus-login.php');

class UpdraftPlus_UpdraftCentral_Cloud extends UpdraftPlus_Login {

	/**
	 * Pulls the appropriate message for the given code and translate it before
	 * returning it to the caller
	 *
	 * @internal
	 * @param string $code The code of the message to pull
	 * @return string - The translated message
	 */
	protected function translate_message($code) {
		switch ($code) {
			case 'generic':
			default:
				return __('An error has occurred while processing your request.', 'updraftplus').' '.__('The server might be busy or you have lost your connection to the internet at the time of the request.', 'updraftplus').' '.__('Please try again later.', 'updraftplus');
				break;
		}
	}

	/**
	 * Executes login or registration process. Connects and sends request to the UpdraftCentral Cloud
	 * and returns the response coming from the server
	 *
	 * @internal
	 * @param array   $data     The submitted form data
	 * @param boolean $register Indicates whether the current call is for a registration process or not. Defaults to false.
	 * @return array - The response from the request
	 */
	protected function login_or_register($data, $register = false) {
		global $updraftplus, $updraftcentral_main;

		$action = ($register) ? 'updraftcentral_cloud_register' : 'updraftcentral_cloud_login';
		if (empty($data['site_url'])) $data['site_url'] = trailingslashit(network_site_url());

		$response = $this->send_remote_request($data, $action);
		if (is_wp_error($response)) {
			$response = array('error' => true, 'code' => $response->get_error_code(), 'message' => $response->get_error_message());
		} else {
			if (isset($response['status'])) {
				if (in_array($response['status'], array('authenticated', 'registered'))) {
					$response['redirect_url'] = $updraftplus->get_url('mothership').'/?udm_action=updraftcentral_cloud_redirect';

					if (is_a($updraftcentral_main, 'UpdraftCentral_Main')) {
						$response['keys_table'] = $updraftcentral_main->get_keys_table();
					}

					if (!empty($data['addons_options_connect']) && class_exists('UpdraftPlus_Options')) {
						UpdraftPlus_Options::update_updraft_option('updraftplus_com_and_udc_connection_success', 1, false);
					}

				} else {
					if ('error' === $response['status']) {
						$message = isset($response['message']) ? $response['message'] : $this->translate_message('generic');

						if (isset($response['code']) && 'incorrect_password' === $response['code']) {
							$message = __("Your email is valid, but your password wasn't recognised.", 'updraftplus').'<br>';
							if (time() < strtotime('2026-01-01 00:00:00')) $message .= __('Some users were asked to reset their passwords as part of a recent website migration.', 'updraftplus').'<br>';
							// translators: %s: The reset password link
							$message .= sprintf(__('Try again, or %s before connecting again.', 'updraftplus'), '<a href="'.$updraftplus->get_url('lost-password').'">'.__('reset your password', 'updraftplus').'</a>');
						}

						$response = array(
							'error' => true,
							'code' => isset($response['code']) ? $response['code'] : -1,
							'message' => $message,
							'response' => $response
						);
					}
				}
			} else {
				$response = array('error' => true, 'message' => $this->translate_message('generic'));
			}
		}

		return $response;
	}
}

SILENT KILLER Tool