WS_OK_7.4.33 HEX
HEX
Server: nginx/1.21.4
System: Linux v12674 6.8.0-85-generic #85-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 18 15:26:59 UTC 2025 x86_64
User: endtheignorance (1014)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
Upload Files
File: /storage/v12674/lcalosangeles/public_html/wp-content/plugins/autoupdater/lib/Task/DebugLogs.php
<?php
defined('AUTOUPDATER_LIB') or die;

class AutoUpdater_Task_DebugLogs extends AutoUpdater_Task_Base
{
    protected $encrypt = false;

    /**
     * @return array
     */
    public function doTask()
    {
        $date = preg_replace('/[^0-9-]/', '', $this->input('date', date('Y-m-d')));
        $path = AutoUpdater_Log::getInstance()->getLogsFilePath($date);

        $filemanager = AutoUpdater_Filemanager::getInstance();
        if (!$filemanager->is_file($path)) {
            throw new AutoUpdater_Exception_Response('Logs file with date: ' . $date . ' was not found', 404);
        }

        return array(
            'success' => true,
            'logs' => $filemanager->get_contents($path),
        );
    }
}