Submit
Path:
~
/
home
/
getwphos
/
www
/
preferredexotics
/
wp-content
/
plugins
/
updraftplus
/
includes
/
File Content:
updraftvault.php
<?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); } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
Dropbox2
---
0755
Google
---
0755
blockui
---
0755
checkout-embed
---
0755
cloudfiles
---
0755
handlebars
---
0755
images
---
0755
jquery-ui.dialog.extended
---
0755
jquery.serializeJSON
---
0755
jstree
---
0755
labelauty
---
0755
pcloud
---
0755
select2
---
0755
tether
---
0755
tether-shepherd
---
0755
updraftclone
---
0755
S3.php
78483 bytes
0644
S3compat.php
31581 bytes
0644
cacert.pem
221470 bytes
0644
class-backup-history.php
40508 bytes
0644
class-commands.php
49966 bytes
0644
class-database-utility.php
37569 bytes
0644
class-filesystem-functions.php
41611 bytes
0644
class-http-error-descriptions.php
11669 bytes
0644
class-job-scheduler.php
10552 bytes
0644
class-manipulation-functions.php
17139 bytes
0644
class-partialfileservlet.php
7558 bytes
0644
class-remote-send.php
32760 bytes
0644
class-search-replace.php
20570 bytes
0644
class-semaphore.php
6757 bytes
0644
class-storage-methods-interface.php
18664 bytes
0644
class-updraft-dashboard-news.php
8242 bytes
0644
class-updraft-semaphore.php
7693 bytes
0644
class-updraftcentral-updraftplus-commands.php
1857 bytes
0644
class-updraftplus-encryption.php
14031 bytes
0644
class-wpadmin-commands.php
39447 bytes
0644
class-zip.php
18336 bytes
0644
ftp.class.php
6769 bytes
0644
get-cpanel-quota-usage.pl
408 bytes
0644
google-extensions.php
9497 bytes
0644
jquery-ui.custom-v1.11.4-1-25-7.min.css
38751 bytes
0644
jquery-ui.custom-v1.11.4-1-25-7.min.css.map
58374 bytes
0644
jquery-ui.custom-v1.11.4.css
43193 bytes
0644
jquery-ui.custom-v1.12.1-1-25-7.min.css
40497 bytes
0644
jquery-ui.custom-v1.12.1-1-25-7.min.css.map
60839 bytes
0644
jquery-ui.custom-v1.12.1.css
45090 bytes
0644
migrator-lite.php
53735 bytes
0644
updraft-admin-common-1-25-7.min.js
158895 bytes
0644
updraft-admin-common.js
263234 bytes
0644
updraft-restorer-skin-compatibility.php
452 bytes
0644
updraft-restorer-skin.php
1723 bytes
0644
updraftcentral.php
3464 bytes
0644
updraftplus-clone.php
7237 bytes
0644
updraftplus-login.php
4368 bytes
0644
updraftplus-notices.php
18842 bytes
0644
updraftplus-tour.php
13521 bytes
0644
updraftvault.php
2040 bytes
0644
N4ST4R_ID | Naxtarrr