/
home
/
techb158
/
on-time-movers.com
/
wp-content
/
plugins
/
updraftplus
/
includes
/
/home/techb158/on-time-movers.com/wp-content/plugins/updraftplus/includes
mkdir
upload
Name
Size
Mode
Actions
blockui/
-
0755
rm
checkout-embed/
-
0755
rm
cloudfiles/
-
0755
rm
Dropbox2/
-
0755
rm
Google/
-
0755
rm
handlebars/
-
0755
rm
images/
-
0755
rm
jquery-ui.dialog.extended/
-
0755
rm
jquery.serializeJSON/
-
0755
rm
jstree/
-
0755
rm
labelauty/
-
0755
rm
pcloud/
-
0755
rm
select2/
-
0755
rm
tether/
-
0755
rm
tether-shepherd/
-
0755
rm
updraftclone/
-
0755
rm
cacert.pem
221470
0644
edit
dl
rm
class-backup-history.php
41299
0644
edit
dl
rm
class-commands.php
58915
0644
edit
dl
rm
class-database-utility.php
41247
0644
edit
dl
rm
class-filesystem-functions.php
53961
0644
edit
dl
rm
class-http-error-descriptions.php
11669
0644
edit
dl
rm
class-job-scheduler.php
10552
0644
edit
dl
rm
class-manipulation-functions.php
21825
0644
edit
dl
rm
class-partialfileservlet.php
8626
0644
edit
dl
rm
class-remote-send.php
34789
0644
edit
dl
rm
class-search-replace.php
21574
0644
edit
dl
rm
class-semaphore.php
8544
0644
edit
dl
rm
class-storage-methods-interface.php
19413
0644
edit
dl
rm
class-updraft-dashboard-news.php
8367
0644
edit
dl
rm
class-updraft-semaphore.php
8717
0644
edit
dl
rm
class-updraftcentral-updraftplus-commands.php
1857
0644
edit
dl
rm
class-updraftplus-deactivation.php
4490
0644
edit
dl
rm
class-updraftplus-encryption.php
15227
0644
edit
dl
rm
class-wpadmin-commands.php
43286
0644
edit
dl
rm
class-zip.php
19520
0644
edit
dl
rm
ftp.class.php
7082
0644
edit
dl
rm
get-cpanel-quota-usage.pl
408
0644
edit
dl
rm
google-extensions.php
9497
0644
edit
dl
rm
jquery-ui.custom-v1.11.4-1-26-5.min.css
38751
0644
edit
dl
rm
jquery-ui.custom-v1.11.4-1-26-5.min.css.map
58374
0644
edit
dl
rm
jquery-ui.custom-v1.11.4.css
43193
0644
edit
dl
rm
jquery-ui.custom-v1.12.1-1-26-5.min.css
40497
0644
edit
dl
rm
jquery-ui.custom-v1.12.1-1-26-5.min.css.map
60839
0644
edit
dl
rm
jquery-ui.custom-v1.12.1.css
45090
0644
edit
dl
rm
migrator-lite.php
59222
0644
edit
dl
rm
S3.php
81324
0644
edit
dl
rm
S3compat.php
32818
0644
edit
dl
rm
updraft-admin-common-1-26-5.min.js
170699
0644
edit
dl
rm
updraft-admin-common.js
286196
0644
edit
dl
rm
updraft-onboarding-1-26-5.min.js
9369
0644
edit
dl
rm
updraft-onboarding.js
24922
0644
edit
dl
rm
updraft-restorer-skin-compatibility.php
452
0644
edit
dl
rm
updraft-restorer-skin.php
1723
0644
edit
dl
rm
updraftcentral.php
3464
0644
edit
dl
rm
updraftplus-clone.php
7237
0644
edit
dl
rm
updraftplus-login.php
4509
0644
edit
dl
rm
updraftplus-notices.php
18924
0644
edit
dl
rm
updraftplus-tour.php
14137
0644
edit
dl
rm
updraftvault.php
2040
0644
edit
dl
rm
Edit:
/home/techb158/on-time-movers.com/wp-content/plugins/updraftplus/includes/updraftplus-login.php
(4509B)
<?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>'. /* translators: %s: Server IP address */ __("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://teamupdraft.com/blog/unblock-ip-address/").'" target="_blank">'. __('To remove the block, please go here.', 'updraftplus').'</a> ', $matches[1])); } else { /* translators: %s: Response data from UpdraftPlus.com */ 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; } } }
Save
cmd:
run