403Webshell
Server IP : 103.119.228.120  /  Your IP : 3.142.201.93
Web Server : Apache
System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64
User : nobody ( 99)
PHP Version : 5.6.40
Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime
MySQL : ON |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : ON |  Pkexec : ON
Directory :  /var/softaculous/xms/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /var/softaculous/xms/defaults.php
<?php
/*
 * XMS - Online Web Development
 *
 * Copyright (c) 2010 Cezar Lucan cezar.lucan@aws-dms.com
 * Licensed under GPL license.
 * http://www.aws-dms.com
 *
 * Date: 2010-10-24
 */

require 'includes/autoload.php';

//TESTING XSL PROCESSOR LOADED
if (!extension_loaded("xsl"))
    die("XSL Extension not loaded.<br/>Please install php xslt extension");

ini_set("display_errors", "Off");

ini_set("error_reporting", "E_ALL");

ini_set("magic_quotes_gpc", "Off");

ini_set('include_path', ini_get('include_path') . ':' . dirname($_SERVER['SCRIPT_FILENAME']) . PATH_SEPARATOR . "includes");

ini_set('default_charset', 'utf-8');

//thanks to Christian Roy
//http://christian.roy.name/blog/detecting-modrewrite-using-php
if (function_exists('apache_get_modules')) {
    $MOD_REWRITE = in_array('mod_rewrite', apache_get_modules());
} else {
    $MOD_REWRITE = getenv('HTTP_MOD_REWRITE') == 'On' ? TRUE : FALSE;
    $MOD_REWRITE = $_SERVER['HTTP_MOD_REWRITE'] == 'On' ? TRUE : FALSE;
}

define('MOD_REWRITE_ENABLED', $MOD_REWRITE);

//// 3.0
define('XMS_RESOURCE_ACCESS', 'access.xml');
define('XMS_RESOURCE_CONFIG', 'config.xml');
define('XMS_RESOURCE_ROUTER', 'router.xml');
define('XMS_RESOURCE_PARSERS', 'parsers.xml');
define('XMS_RESOURCE_LANG', 'lang.xml');

////
//APPLICATION
define('XMS_APPS_LOCKED_IN_CWD', FALSE);

define('AWS_HOME', "templates/index.xml");

define('AWS_DEFAULTS_LOADED', TRUE);

//DESIGNER's USER NAME AND PASSWORD
define('AWS_DESIGNER_ADMIN', "[[admin_username]]");

define('AWS_DESIGNER_PASSWORD', "[[admin_pass]]");

//USER ACCESS
define('XMS_USER_ACCESS_VAR', $_SESSION['XMS_CURRENT_USER'] ? $_SESSION['XMS_CURRENT_USER'] : "guest");
define("AWS_USER_ACCESS_DISABLED", FALSE);

//DESIGNER THEME - FULL LIST IN CSS FOLDER
define('AWS_DESIGNER_THEME', "redmond");

define('AWS_HTML_XSL_NAMESPACE_FIX', TRUE);

//FOR MATCH AND MATCHITERATOR DIRECTIVES
define("AWS_ITERATOR_MATCH_PREFIX", '/\{-\{');

define("AWS_ITERATOR_MATCH_SUFFIX", '\}-\}/');

//CACHE FOLDER
//define('AWS_CACHE_LOCATION',	 		"cache".DIRECTORY_SEPARATOR.session_id());
define('AWS_CACHE_LOCATION', "cache");

//if apache_mod_rewrite, this holds the file where to record the streamed resources by urlhandler.php
define('AWS_STREAM_FILE', FALSE);

//////////////////
//ERROR HANDLING//
//////////////////
//403 FORBIDDEN APPLICATION
define('AWS_ERROR_403', "templates/403.xml");
//404 NOT FOUND ERROR APPLICATION
define('AWS_ERROR_404', "templates/404.xml");

//LOG LAMDA FUNCTIONS TO BE RECORDED - FOR TESTING ONLY, SLOWS DOWN THE APPLICATION
//IF ENABLED SEE THE FILES IN log FOLDER
define('AWS_DEBUG', FALSE);

define('AWS_DEBUG_USE_XMS_ERROR_HANDLERS', TRUE);

define('AWS_LOG_ROTATE_MAX_FILESIZE', 50000);

define('AWS_DEBUG_ERROR_HANDLERS_DROP_NOTICES', TRUE);

define('AWS_DEBUG_ERROR_HANDLERS_DROP_WARNINGS', FALSE);

if (AWS_DEBUG_USE_XMS_ERROR_HANDLERS) {
    set_error_handler('Utils::xmsCaptureErrors');
    set_exception_handler('Utils::xmsCaptureExceptions');
    register_shutdown_function('Utils::xmsCaptureShutdown');
}

//set to FALSE if you want Xms::appConfig to use
//Xms::TEMPLATE_FILE_SOURCE instead of Xms::name
define("AWS_APP_CONFIG_USE_APP_NAME", FALSE);

//SEO TOOLS
define("AWS_SEO_PARSERS_ENABLED", TRUE);

//THE STREAMS TO USE FOR LOGS
define('XMS_WORKING_FOLDER', __DIR__);
define('XMS_SERVER_CONSOLE', __DIR__ . DIRECTORY_SEPARATOR . "log" . DIRECTORY_SEPARATOR . ".XMS_SERVER_CONSOLE");
define('AWS_DEBUG_GLOBAL_FILENAME', __DIR__ . DIRECTORY_SEPARATOR . "log" . DIRECTORY_SEPARATOR . ".GLOBAL.log");
define('AWS_DEBUG_FILENAME', __DIR__ . DIRECTORY_SEPARATOR . "log" . DIRECTORY_SEPARATOR . "." . session_id() . ".log");
define('AWS_DEBUGGING_ERRORS_HANDLER', __DIR__ . DIRECTORY_SEPARATOR . "log" . DIRECTORY_SEPARATOR . ".xmsErrors.log");
define('AWS_DEBUGGING_EXCEPTIONS_HANDLER', __DIR__ . DIRECTORY_SEPARATOR . "log" . DIRECTORY_SEPARATOR . ".xmsExceptions.log");
define('AWS_DEBUGGING_SHUTDOWN_HANDLER', __DIR__ . DIRECTORY_SEPARATOR . "log" . DIRECTORY_SEPARATOR . ".xmsShutdown.log");

Youez - 2016 - github.com/yon3zu
LinuXploit