Priority File Manager
📁 public_html
Base Directory:
/home/ecedu/public_html
/home/ecedu/public_html/wp-content/plugins
/home/ecedu/public_html/wp-content
/home/ecedu
/var/www
/var/www/cgi-bin
/var/www/html
public_html
/
wp-content
/
plugins
/
updraftplus
/
includes
/home/ecedu/public_html/wp-content/plugins/updraftplus/includes
Name
Type
Size
Actions
📁
..
Folder
-
Delete
Rename
📁
Dropbox2
Folder
-
Delete
Rename
📁
Google
Folder
-
Delete
Rename
📄
S3.php
File
78483
Delete
Rename
Edit
Download
📄
S3compat.php
File
31581
Delete
Rename
Edit
Download
📁
blockui
Folder
-
Delete
Rename
📄
cacert.pem
File
221470
Delete
Rename
Edit
Download
📁
checkout-embed
Folder
-
Delete
Rename
📄
class-backup-history.php
File
40508
Delete
Rename
Edit
Download
📄
class-commands.php
File
49966
Delete
Rename
Edit
Download
📄
class-database-utility.php
File
37569
Delete
Rename
Edit
Download
📄
class-filesystem-functions.php
File
41611
Delete
Rename
Edit
Download
📄
class-http-error-descriptions.php
File
11669
Delete
Rename
Edit
Download
📄
class-job-scheduler.php
File
10552
Delete
Rename
Edit
Download
📄
class-manipulation-functions.php
File
17139
Delete
Rename
Edit
Download
📄
class-partialfileservlet.php
File
7558
Delete
Rename
Edit
Download
📄
class-remote-send.php
File
32760
Delete
Rename
Edit
Download
📄
class-search-replace.php
File
20570
Delete
Rename
Edit
Download
📄
class-semaphore.php
File
6757
Delete
Rename
Edit
Download
📄
class-storage-methods-interface.php
File
18664
Delete
Rename
Edit
Download
📄
class-updraft-dashboard-news.php
File
8242
Delete
Rename
Edit
Download
📄
class-updraft-semaphore.php
File
7693
Delete
Rename
Edit
Download
📄
class-updraftcentral-updraftplus-commands.php
File
1857
Delete
Rename
Edit
Download
📄
class-updraftplus-encryption.php
File
14031
Delete
Rename
Edit
Download
📄
class-wpadmin-commands.php
File
39447
Delete
Rename
Edit
Download
📄
class-zip.php
File
18336
Delete
Rename
Edit
Download
📁
cloudfiles
Folder
-
Delete
Rename
📄
ftp.class.php
File
6769
Delete
Rename
Edit
Download
📄
get-cpanel-quota-usage.pl
File
408
Delete
Rename
Edit
Download
📄
google-extensions.php
File
9497
Delete
Rename
Edit
Download
📁
handlebars
Folder
-
Delete
Rename
📁
images
Folder
-
Delete
Rename
📄
jquery-ui.custom-v1.11.4-1-25-7.min.css
File
38751
Delete
Rename
Edit
Download
📄
jquery-ui.custom-v1.11.4-1-25-7.min.css.map
File
58374
Delete
Rename
Edit
Download
📄
jquery-ui.custom-v1.11.4.css
File
43193
Delete
Rename
Edit
Download
📄
jquery-ui.custom-v1.12.1-1-25-7.min.css
File
40497
Delete
Rename
Edit
Download
📄
jquery-ui.custom-v1.12.1-1-25-7.min.css.map
File
60839
Delete
Rename
Edit
Download
📄
jquery-ui.custom-v1.12.1.css
File
45090
Delete
Rename
Edit
Download
📁
jquery-ui.dialog.extended
Folder
-
Delete
Rename
📁
jquery.serializeJSON
Folder
-
Delete
Rename
📁
jstree
Folder
-
Delete
Rename
📁
labelauty
Folder
-
Delete
Rename
📄
migrator-lite.php
File
53735
Delete
Rename
Edit
Download
📁
pcloud
Folder
-
Delete
Rename
📁
select2
Folder
-
Delete
Rename
📁
tether
Folder
-
Delete
Rename
📁
tether-shepherd
Folder
-
Delete
Rename
📄
updraft-admin-common-1-25-7.min.js
File
158895
Delete
Rename
Edit
Download
📄
updraft-admin-common.js
File
263234
Delete
Rename
Edit
Download
📄
updraft-restorer-skin-compatibility.php
File
452
Delete
Rename
Edit
Download
📄
updraft-restorer-skin.php
File
1723
Delete
Rename
Edit
Download
📄
updraftcentral.php
File
3464
Delete
Rename
Edit
Download
📁
updraftclone
Folder
-
Delete
Rename
📄
updraftplus-clone.php
File
7237
Delete
Rename
Edit
Download
📄
updraftplus-login.php
File
4368
Delete
Rename
Edit
Download
📄
updraftplus-notices.php
File
18842
Delete
Rename
Edit
Download
📄
updraftplus-tour.php
File
13521
Delete
Rename
Edit
Download
📄
updraftvault.php
File
2040
Delete
Rename
Edit
Download
Upload
Create Folder
📝 Editing:
updraftplus-login.php
Size: 4,368 bytes
Lines: 115
Type: .php
💾 Save
Cancel
✕
<?php if (!defined('UPDRAFTPLUS_DIR')) die('No direct access allowed.'); abstract class 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 */ abstract protected function translate_message($code); /** * 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 */ abstract protected function login_or_register($data, $register = false); /** * Handles the actual sending of the request to the remote server (UpdraftCentral Cloud) and pre-checks the response * and wraps it up for the caller before sending it back * * @internal * @param array $data The submitted form data * @param string $action The name of the action or service that will be triggered in UpdraftCentral Cloud * @return array - The response from the server */ protected function send_remote_request($data, $action) { global $updraftplus; $result = wp_remote_post($updraftplus->get_url('mothership').'/?udm_action='.$action, array( 'timeout' => 20, 'headers' => apply_filters('updraftplus_auth_headers', ''), 'body' => $data ) ); // If we got an error then we return the WP_Error object itself // and let the caller handle it. if (is_wp_error($result)) return $result; $response = json_decode(wp_remote_retrieve_body($result), true); if (!is_array($response) || !isset($response['mothership']) || !isset($response['status'])) { if (preg_match('/has banned your IP address \(([\.:0-9a-f]+)\)/', $result['body'], $matches)) { return new WP_Error('banned_ip', sprintf(__("UpdraftPlus.com has responded with 'Access Denied'.", 'updraftplus').'<br>'.__("It appears that your web server's IP Address (%s) is blocked.", 'updraftplus').' '.__('This most likely means that you share a webserver with a hacked website that has been used in previous attacks.', 'updraftplus').'<br> <a href="'.apply_filters("updraftplus_com_link", "https://updraftplus.com/unblock-ip-address/").'" target="_blank">'.__('To remove the block, please go here.', 'updraftplus').'</a> ', $matches[1])); } else { return new WP_Error('unknown_response', sprintf(__('UpdraftPlus.Com returned a response which we could not understand (data: %s)', 'updraftplus'), wp_remote_retrieve_body($result))); } } return $response; } /** * The ajax based request point of entry for the login process * * @param array $data - The submitted form data * @param boolean $echo_results - Whether to echo/display the results directly to the user or assign it to a variable * @return array - Response of the process */ public function ajax_process_login($data = array(), $echo_results = true) { try { if (isset($data['form_data'])) { if (is_string($data['form_data'])) { parse_str($data['form_data'], $form_data); } elseif (is_array($data['form_data'])) { $form_data = $data['form_data']; } } $response = $this->login_or_register($form_data); } catch (Exception $e) { $response = array('error' => true, 'message' => $e->getMessage()); } if ($echo_results) { echo json_encode($response); } else { return $response; } } /** * The ajax based request point of entry for the registration process * * @param array $data - The submitted form data * @param boolean $echo_results - Whether to echo/display the results directly to the user or assign it to a variable * @return array - Response of the process */ public function ajax_process_registration($data = array(), $echo_results = true) { try { if (isset($data['form_data'])) parse_str($data['form_data'], $form_data); $response = $this->login_or_register($form_data, true); } catch (Exception $e) { $response = array('error' => true, 'message' => $e->getMessage()); } if ($echo_results) { echo json_encode($response); } else { return $response; } } }
✅ File saved successfully!