[ Avaa Bypassed ]




Upload:

Command:

www-data@18.116.14.133: ~ $
<?php

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

/**
 * Handles UpdraftVault Commands to pull Amazon S3 Bucket credentials
 * from user's UpdraftVault and some default filters for per page display
 *
 * @method array get_credentials()
 */
class UpdraftCentral_UpdraftVault_Commands extends UpdraftCentral_Commands {
	
   /**
	* Gets the Amazon S3 Credentials
	*
	* Extract the needed credentials to connect to the user's Amazon S3 Bucket
	* by pulling this info from the UpdraftVault server.
	*
	* @return array $result - An array containing the Amazon S3 settings/config if successful,
	*						  otherwise, it will contain the error details/info of the generated error.
	*/
	public function get_credentials() {
		$storage_objects_and_ids = UpdraftPlus_Storage_Methods_Interface::get_storage_objects_and_ids(array('updraftvault'));

		// UpdraftVault isn't expected to have multiple options currently, so we just grab the first instance_id in the settings and use the options from that. If in future we do decide we want to make UpdraftVault multiple options then we will need to update this part of the code e.g a instance_id needs to be passed in and used by the following lines of code.
		if (isset($storage_objects_and_ids['updraftvault']['instance_settings'])) {
			$instance_id = key($storage_objects_and_ids['updraftvault']['instance_settings']);
			$opts = $storage_objects_and_ids['updraftvault']['instance_settings'][$instance_id];
			$vault = $storage_objects_and_ids['updraftvault']['object'];
			$vault->set_options($opts, false, $instance_id);
		} else {
			if (!class_exists('UpdraftPlus_BackupModule_updraftvault')) updraft_try_include_file('methods/updraftvault.php', 'include_once');
			$vault = new UpdraftPlus_BackupModule_updraftvault();
		}

		$result = $vault->get_config();
		
		if (isset($result['error']) && !empty($result['error'])) {
			$result = array('error' => true, 'message' => $result['error']['message'], 'values' => $result['error']['values']);
		}
		
		return $this->_response($result);
	}
}

Filemanager

Name Type Size Permission Actions
Dropbox2 Folder 0777
Google Folder 0777
blockui Folder 0777
checkout-embed Folder 0777
cloudfiles Folder 0777
handlebars Folder 0777
images Folder 0777
jquery-ui.dialog.extended Folder 0777
jquery.serializeJSON Folder 0777
jstree Folder 0777
labelauty Folder 0777
pcloud Folder 0777
tether Folder 0777
tether-shepherd Folder 0777
updraftclone Folder 0777
S3.php File 75.81 KB 0644
S3compat.php File 31.22 KB 0644
cacert.pem File 216.28 KB 0644
class-backup-history.php File 39.41 KB 0644
class-commands.php File 48.46 KB 0644
class-database-utility.php File 36 KB 0644
class-filesystem-functions.php File 35.41 KB 0644
class-http-error-descriptions.php File 11.4 KB 0644
class-job-scheduler.php File 10.3 KB 0644
class-manipulation-functions.php File 16.74 KB 0644
class-partialfileservlet.php File 6.92 KB 0644
class-remote-send.php File 30.04 KB 0644
class-search-replace.php File 20.2 KB 0644
class-semaphore.php File 6.27 KB 0644
class-storage-methods-interface.php File 18.23 KB 0644
class-updraft-dashboard-news-offer.php File 6.29 KB 0644
class-updraft-dashboard-news.php File 7.96 KB 0644
class-updraft-semaphore.php File 7.51 KB 0644
class-updraftcentral-updraftplus-commands.php File 1.81 KB 0644
class-updraftplus-encryption.php File 13.62 KB 0644
class-wpadmin-commands.php File 36.31 KB 0644
class-zip.php File 17.88 KB 0644
ftp.class.php File 6.5 KB 0644
get-cpanel-quota-usage.pl File 408 B 0644
google-extensions.php File 9.15 KB 0644
jquery-ui.custom-v1.11.4-1-23-13.min.css File 37.84 KB 0644
jquery-ui.custom-v1.11.4-1-23-13.min.css.map File 57.01 KB 0644
jquery-ui.custom-v1.11.4.css File 42.18 KB 0644
jquery-ui.custom-v1.12.1-1-23-13.min.css File 39.55 KB 0644
jquery-ui.custom-v1.12.1-1-23-13.min.css.map File 59.41 KB 0644
jquery-ui.custom-v1.12.1.css File 44.03 KB 0644
migrator-lite.php File 48.51 KB 0644
phpseclib-migration.php File 2.13 KB 0644
updraft-admin-common-1-23-13.min.js File 152.62 KB 0644
updraft-admin-common.js File 252.28 KB 0644
updraft-restorer-skin-compatibility.php File 452 B 0644
updraft-restorer-skin.php File 1.68 KB 0644
updraftcentral.php File 2.74 KB 0644
updraftplus-clone.php File 7.02 KB 0644
updraftplus-login.php File 4.27 KB 0644
updraftplus-notices.php File 21.43 KB 0644
updraftplus-tour.php File 13.06 KB 0644
updraftvault.php File 1.99 KB 0644