/home/suroeste/public_html/wp-content/plugins/akeebabackupwp/app/Solo/Cli
NameSizeModeActions
AbstractCliApplication.php78520644editdlrm
AltBackupCli.php128840644editdlrm
AltCheckFailedCli.php95030644editdlrm
BackupCli.php106680644editdlrm
CheckFailedCli.php20010644editdlrm
Edit: /home/suroeste/public_html/wp-content/plugins/akeebabackupwp/app/Solo/Cli/AltCheckFailedCli.php (9503B)
getContainer()->input->get('profile', 1, 'int'); $debugmessage = ''; if ($this->getContainer()->input->get('debug', -1, 'int') != -1) { if (!defined('AKEEBADEBUG')) { define('AKEEBADEBUG', 1); } $debugmessage = "*** DEBUG MODE ENABLED ***\n"; } $version = AKEEBABACKUP_VERSION; $date = AKEEBABACKUP_DATE; $start_backup = time(); $phpversion = PHP_VERSION; $phpenvironment = PHP_SAPI; if ($this->getContainer()->input->get('quiet', -1, 'int') == -1) { $softwareName = defined('ABSPATH') ? 'Akeeba Backup' : 'Akeeba Solo'; $year = gmdate('Y'); echo <<getContainer()->input->get('quiet', -1, 'int') == -1) { echo "Site paths determined by this script:\n"; echo "APATH_BASE : " . APATH_BASE . "\n"; } $startup_check = true; $url = Platform::getInstance()->get_platform_configuration_option('siteurl', ''); if (empty($url)) { echo <<get_platform_configuration_option('legacyapi_enabled', ''); $secret = Platform::getInstance()->get_platform_configuration_option('frontend_secret_word', ''); if (!$frontend_enabled) { echo <<getContainer()->input->get('method', '', 'cmd'); if (!empty($overridemethod)) { $method = $overridemethod; } if (empty($method)) { echo <<close(255); } // Perform the backup $url = rtrim($url, '/'); $secret = urlencode($secret); if (defined('ABSPATH')) { $tempURL = Platform::getInstance()->get_platform_configuration_option('ajaxurl', ''); $url = empty($tempURL) ? ($url . '/wp-admin/admin-ajax.php') : $tempURL; } else { $url .= '/index.php'; } $url .= defined('ABSPATH') ? '?action=akeebabackup_check' : '?view=check'; $url .= "&key={$secret}"; $timestamp = date('Y-m-d H:i:s'); $result = $this->fetchURL($url, $method); echo "[{$timestamp}] Got $result\n"; if (empty($result) || ($result === false)) { echo "[{$timestamp}] No message received\n"; echo <<fetchURL($headers['location'], $method); } else { return ($body); } break; case 'fopen': $opts = [ 'http' => [ 'method' => "GET", 'header' => "Accept-language: en\r\n", ], ]; $context = stream_context_create($opts); $result = @file_get_contents($url, false, $context); break; } return $result; } }