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.222.91.173
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 /
kusdde /
adm2018 /
admin /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
phpmailer
[ DIR ]
drwxr-xr-x
.htaccess
602
B
-rwxr-xr-x
appForm.php
20.98
KB
-rwxr-xr-x
appForm_22022018.php
20.63
KB
-rwxr-xr-x
applicationFormReportPOSTOFFIC...
19.27
KB
-rwxr-xr-x
applicationFormReportSBM.php
31.97
KB
-rwxr-xr-x
applicationFormReportSBM_21022...
31.63
KB
-rwxr-xr-x
applicationFormReportSBM_29102...
31.93
KB
-rwxr-xr-x
applicationStatus.php
2.94
KB
-rwxr-xr-x
cManualMailer.php
1.52
KB
-rwxr-xr-x
caccesscontext.php
1.24
KB
-rwxr-xr-x
candidate_list.php
54.71
KB
-rwxr-xr-x
cappcontext.php
2.67
KB
-rwxr-xr-x
changeExmCntr.php
4.62
KB
-rwxr-xr-x
changeExmCntrReport.php
10.03
KB
-rwxr-xr-x
cmailer.php
6.83
KB
-rwxr-xr-x
code39.php
6.38
KB
-rwxr-xr-x
coutput.php
1.76
KB
-rwxr-xr-x
createUser.php
2.05
KB
-rwxr-xr-x
crequestbroker.php
2.49
KB
-rwxr-xr-x
csessions.php
514
B
-rwxr-xr-x
cuser.php
3.41
KB
-rwxr-xr-x
customappcontext.php
2.35
KB
-rwxr-xr-x
dropdown.php
844
B
-rwxr-xr-x
editApplication.php
12.13
KB
-rwxr-xr-x
feehead.php
1.51
KB
-rwxr-xr-x
format.php
7.43
KB
-rwxr-xr-x
fpdf_protection.php
5.61
KB
-rwxr-xr-x
getdata.php
1.06
KB
-rwxr-xr-x
getnumword.php
7.15
KB
-rwxr-xr-x
home.html
14.48
KB
-rwxr-xr-x
json.php
33.72
KB
-rwxr-xr-x
login.php
1.76
KB
-rwxr-xr-x
mregistry.php
5.45
KB
-rwxr-xr-x
re_rigistration.php
7.83
KB
-rwxr-xr-x
re_rigistration_10042018_BEFOR...
6.98
KB
-rwxr-xr-x
re_rigistration_24042018.php
7.14
KB
-rwxr-xr-x
re_rigistration_27042018.php
7.18
KB
-rwxr-xr-x
re_rigistration_old_15042019.p...
7.59
KB
-rwxr-xr-x
reportApproveList.php
8.09
KB
-rwxr-xr-x
reportApproveList_18072018.php
8.04
KB
-rwxr-xr-x
report_appstatus.php
5.91
KB
-rwxr-xr-x
report_hall_ticket.php
11.31
KB
-rwxr-xr-x
reportapplicationform - Copy.p...
19.59
KB
-rwxr-xr-x
reportapplicationform.php
23.92
KB
-rwxr-xr-x
rotation.php
596
B
-rwxr-xr-x
saveApplication.php
16.4
KB
-rwxr-xr-x
saveApplication_21022018.php
8.99
KB
-rwxr-xr-x
saveApplication_mohan.php
9.04
KB
-rwxr-xr-x
saveRerigistration.php
11.72
KB
-rwxr-xr-x
saveRerigistration_03052018.ph...
10.87
KB
-rwxr-xr-x
saveRerigistration_10052018.ph...
11.12
KB
-rwxr-xr-x
servfee.php
1.38
KB
-rwxr-xr-x
servicedet.php
1.6
KB
-rwxr-xr-x
stringspliter.php
693
B
-rwxr-xr-x
student.php
24.46
KB
-rwxr-xr-x
updateFeeDet.php
1.66
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : editApplication.php
<?php function getApplication($aobj_context){ $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); $url = $aobj_context->main_src; $main_url = str_replace('kusdde/adm2018','kusdde',$url); $fappno = $aobj_context->mobj_data["appno"]; $query = "select fdeggrp,ffaculty,fslno,fname,ffatname,fcaste,s.fexamno,ffat_occ,FRELIGION,FSEX, FHANDICAP,FNATIONAL, date_format(FDOB,'%d/%m/%Y') as FDOB, FAADHARNO, FCURRADD1, FCURRADD2,FCURRADD3, FCURDISTRICT, FCURSTATE, FCURPINCODE, FPERMADD1, FPERMADD2,FPERMADD3, FPERDISTRICT, FPERSTATE, FPERPINCODE, FCONTACT_NO, FLANDLINE, FEMAIL, FINCOME, s.FDEGREE, FENGLISH, FCOMBCODE, FBASICQAL, FCENSTATE, FCENDISTRICT, FCOLLCODE, FPREVREGNO, FPREVCOMB, FPREVELECTIVE, FPASSMTHYEAR, FPREVCOLLEGE, FPAYMENTTYPE, FAPPNO,FTOTFEE, FLATERAL_ENTRY,FPASSUNIV,s.FADMFINE,FPHOTOPATH,FSIGNPATH from studadm s inner join degree d on d.fdegree= s.fdegree and d.fexamno=s.fexamno where fappno='{$fappno}' and s.fexamno='A'"; $result= $aobj_context->mobj_db->getRow($query); if(!file_exists ($main_url.$result['FPHOTOPATH']) && !file_exists ($main_url.$result['FSIGNPATH'])) { // $result['FPHOTOPATH'] = ''; $photopath = substr($result['FPHOTOPATH'],0,-3); $ext = substr($result['FPHOTOPATH'],-3); $photopath = $photopath.strtoupper($ext); $signpath = substr($result['FSIGNPATH'],0,-3); $extn = substr($result['FSIGNPATH'],-3); $signpath = $signpath.strtoupper($extn); if(file_exists($main_url.$photopath) && file_exists($main_url.$signpath)) { $result['FPHOTOPATH'] = "http://oasis.logisys.org/kusdde/".$photopath; $result['FSIGNPATH'] = "http://oasis.logisys.org/kusdde/".$signpath; }else { $result['FPHOTOPATH'] = "http://oasis.logisys.org/kusdde/".$result['FPHOTOPATH']; $result['FSIGNPATH'] = "http://oasis.logisys.org/kusdde/".$result['FSIGNPATH']; } } else { $result['FPHOTOPATH'] = "http://oasis.logisys.org/kusdde/".$result['FPHOTOPATH']; $result['FSIGNPATH'] = "http://oasis.logisys.org/kusdde/".$result['FSIGNPATH']; } // $result['FPHOTOPATH'] = "http://logisys.net.in/kusdde/".$result['FPHOTOPATH']; // var_dump($result); if($result){ echo $aobj_context->mobj_output->ToJSONEnvelope($result,0,"success"); }else{ echo $aobj_context->mobj_output->ToJSONEnvelope($result,1,"failure"); } } //get degree ->course page function getdegree($aobj_context){ $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); $fappno = $aobj_context->mobj_data["appno"]; $fdeggrp = $aobj_context->mobj_data["fdeggrp"]; $fexamno = $aobj_context->mobj_data["fexamno"]; $fdegree = $aobj_context->mobj_data["fdegree"]; $fcombcode = $aobj_context->mobj_data["fcombcode"]; $query = "select distinct ifnull(fdegree,'') as fdegree,fdescpn from degree where ffaculty='{$fdeggrp}' and fexamno='{$fexamno}' group by fdegree"; $result = $aobj_context->mobj_db->getAll($query); if($result){ $arr['deg']=$result; $qry ="select s.fsubcode,concat(fsubshort,'-',fsubname) as fsubname from options o inner join subject s on s.fsubcode = o.fsubcode and s.fdegree = o.fdegree and s.fexamno = o.fexamno where o.fappno = '{$fappno}' and fssubcode = '0'"; $res=$aobj_context->mobj_db->getAll($qry); $arr['sub']=$res; $q = "select fcombcode,fcombdesc from mascomb where fdegree ='{$fdegree}' group by fdegree"; $r =$aobj_context->mobj_db->getAll($q); $arr['combcode']=$r; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,0,"success"); } else echo $aobj_context->mobj_output->ToJSONEnvelope($result,1,"failure"); } function loadPaydet($aobj_context){ $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); $fappno = $aobj_context->mobj_data["appno"]; $fdeggrp = $aobj_context->mobj_data["fdeggrp"]; $fexamno = $aobj_context->mobj_data["fexamno"]; $fdegree = $aobj_context->mobj_data["fdegree"]; $fcombcode = $aobj_context->mobj_data["fcombcode"]; $query = "select payment_type as int_code, bank_name as val from acc_mas where payment_type in('DEBIT/CREDIT/NET BANKING','SBM')"; $result = $aobj_context->mobj_db->getAll($query); if($result){ $arr['paytype']=$result; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,0,"success"); } else echo $aobj_context->mobj_output->ToJSONEnvelope($result,1,"failure"); } function updateDetails($aobj_context){ $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); session_start(); $fslno = trim($aobj_context->mobj_data['fslno']); $fappno = trim($aobj_context->mobj_data['appno']); $studname = trim($aobj_context->mobj_data["studname"]); $fatname = trim($aobj_context->mobj_data["fatname"]); $category = trim($aobj_context->mobj_data["category"]); $religion = trim($aobj_context->mobj_data["religion"]); $gender = trim($aobj_context->mobj_data["gender"]); $handicap = trim($aobj_context->mobj_data["handicap"]); $nationality = trim($aobj_context->mobj_data["nationality"]); $dob = trim($aobj_context->mobj_data["dob"]); $adhar = trim($aobj_context->mobj_data["adhar"]); $padd1 = trim($aobj_context->mobj_data["padd1"]); $padd2 = trim($aobj_context->mobj_data["padd2"]); $padd3 = trim($aobj_context->mobj_data["padd3"]); $pdistrict = trim($aobj_context->mobj_data["pdistrict"]); $ppincode = trim($aobj_context->mobj_data["ppincode"]); $pstate = trim($aobj_context->mobj_data["pstate"]); $cadd1 = trim($aobj_context->mobj_data["cadd1"]); $cadd2 = trim($aobj_context->mobj_data["cadd2"]); $cadd3 = trim($aobj_context->mobj_data["cadd3"]); $cadistrict = trim($aobj_context->mobj_data["cadistrict"]); $cpincode = trim($aobj_context->mobj_data["cpincode"]); $castate = trim($aobj_context->mobj_data["castate"]); $mobile = trim($aobj_context->mobj_data["mobile"]); $landline = trim($aobj_context->mobj_data["landline"]); $email = trim($aobj_context->mobj_data["email"]); $ocupation = trim($aobj_context->mobj_data["ocupation"]); $income = trim($aobj_context->mobj_data["income"]); $graduation = trim($aobj_context->mobj_data["graduation"]); $fdegree = trim($aobj_context->mobj_data["degree"]); $subject = trim($aobj_context->mobj_data["subject"]); $moi = trim($aobj_context->mobj_data["moi"]); $suboption = trim($aobj_context->mobj_data["suboption"]); $cstate = trim($aobj_context->mobj_data["cstate"]); $cdistrict = trim($aobj_context->mobj_data["cdistrict"]); $centercode = trim($aobj_context->mobj_data["centercode"]); $qaldeg = trim($aobj_context->mobj_data["qaldeg"]); $qalreg = trim($aobj_context->mobj_data["qalreg"]); $qalsub = trim($aobj_context->mobj_data["qalsub"]); $qalpassyear = trim($aobj_context->mobj_data["qalpassyear"]); $qalinstitut = trim($aobj_context->mobj_data["qalinstitut"]); $paymenttype = trim($aobj_context->mobj_data["paymenttype"]); $qaloption = trim($aobj_context->mobj_data["qaloption"]); $newfee = trim($aobj_context->mobj_data["newfee"]); $totfee = trim($aobj_context->mobj_data["oldfee"]); $sign_filename = trim($aobj_context->mobj_data["sign_filename"]); $photo_filename = trim($aobj_context->mobj_data["photo_filename"]); $lateral = trim($aobj_context->mobj_data["lateral"]); $fpassuniv = trim($aobj_context->mobj_data["fpassuniv"]); $year = trim($aobj_context->mobj_data["year"]); $examno = "A"; if($year != '') $examno = $year; $f_year = '2018'; // var_dump($_SESSION['USER'],$_SESSION['USERTYPE'] ); //---increment fslno val to avoid duplicate key entry---// $slnoQry = "select right(concat('0000',ifnull(max(FSLNO),0)+01),4) as fslno from studadm where fdegree='{$fdegree}' and fcollcode='{$centercode}' and fexamno='{$examno}'"; $slnoRes = $aobj_context->mobj_db->getRow($slnoQry); $slnoCunt = $slnoRes['fslno']; $query = "update studadm set fslno='{$slnoCunt}', FDEGREE='{$fdegree}',FEXAMNO='{$examno}',FNAME='{$studname}',FFATNAME='{$fatname}', FFAT_OCC='{$ocupation}',FEMAIL='{$email}',FDOB=date_format(str_to_date('{$dob}','%d/%m/%Y'),'%Y-%m-%d'),FSEX='{$gender}',FCASTE='{$category}',FCONTACT_NO='{$mobile}',FNATIONAL='{$nationality}', FCURRADD1='{$cadd1}',FCURRADD2='{$cadd2}',FCURRADD3='{$cadd3}',FPERMADD1='{$padd1}',FPERMADD2='{$padd2}',FPERMADD3='{$padd3}', FRELIGION='{$religion}',FTOTFEE='{$newfee}',FOLDTOTFEE='{$totfee}',FINCOME='{$income}',FAADHAAR='{$adhar}', FMODIFYDATE1=now(),FMODIFYUSER1='{$_SESSION['USER'] }',FLANDLINE='{$landline}',FHANDICAP='{$handicap}',FCENSTATE='{$cstate}',FCENDISTRICT='{$cdistrict}',FPAYMENTTYPE='{$paymenttype}', FPASSMTHYEAR='{$year}' where FAPPNO='{$fappno}'"; $result = $aobj_context->mobj_db->Execute($query); if(!$result){ $data='Your Application was not successfully updated'; $arr['message']= $data; $arr['app_no'] = $fappno; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,1,"failure"); return; } //get photo and sign path if($photo_filename == 'undefined'){ var_dump($photo_filename); }else{ $photo_dir = realpath(__DIR__ . '/../..'); $college_path=$photo_dir."/student_photos/{$centercode}"; $degree_path=$photo_dir."/student_photos/{$centercode}/".$fdegree; $folder_path=$photo_dir."/student_photos/{$centercode}/".$fdegree; $sign_folder_path = $photo_dir."/student_photos/{$centercode}/".$fdegree."/sign"; $image_path = $aobj_context->main_src."upload/{$photo_filename}"; //echo "folder_path= ".$folder_path; $filename = explode(".", $photo_filename); $ext = strtolower($filename[1]); $photo_filename = $centercode."_".$fdegree."_".$fappno; $photo_filename = $photo_filename.".".$ext; $full_file_path = $folder_path.'/'.$photo_filename; if(!file_exists($college_path)) { mkdir($college_path); } if(!file_exists($degree_path)) { mkdir($degree_path); } if(!file_exists($sign_folder_path)) { mkdir($sign_folder_path); } $photo = "student_photos/{$centercode}/".$fdegree.'/'.$photo_filename; if(copy($image_path,$full_file_path)) { $update="update studadm set FPHOTOPATH='{$photo}' where FAPPNO= '{$fappno}' "; // var_dump($update); $up_obj=$aobj_context->mobj_db->Execute($update); unlink($image_path); } //update signature path $sign_path = $aobj_context->main_src."upload/{$sign_filename}";//initially uploaded file path -> in admin/upload folder $filename = explode(".", $sign_filename); $ext = strtolower($filename[1]); $sign_filename = $centercode."_".$fdegree."_".$fappno."_sign"; $sign_filename = $sign_filename.".".$ext; $full_file_path_sign = $sign_folder_path."/".$sign_filename; $sign = "student_photos/{$centercode}/".$fdegree."/sign/".$sign_filename;//path to store in db if(copy($sign_path,$full_file_path_sign)) { $update="update studadm set FSIGNPATH='{$sign}' where FAPPNO= '{$fappno}' "; $up_obj=$aobj_context->mobj_db->Execute($update); unlink($sign_path); } } //delete data if exits and insert into 'options' table $del_options = "DELETE FROM `options` WHERE FAPPNO='{$fappno}'"; $del_res = $aobj_context->mobj_db->Execute($del_options); if($del_res){ $options_insert = "insert into options select '{$fdegree}','{$examno}','{$centercode}', '{$slnoCunt}', fsubcode, 'F', '{$f_year}', '{$fappno}','' from mascomb where fdegree = '{$fdegree}' and fcombcode = '{$subject}'"; // var_dump($options_insert); $up_obj=$aobj_context->mobj_db->Execute($options_insert); $options_insert = "insert into options(FDEGREE, FEXAMNO, FCOLLCODE, FSLNO, FSUBCODE, FDELETED, FYEAR, FAPPNO) values('{$degree}','{$examno}','{$centercode}', '{$slnocnt}', '{$suboption}', 'F', '{$f_year}', '{$app_no}')"; $up_obj=$aobj_context->mobj_db->Execute($options_insert); } if($result){ $data='Your Application updated successfully'; $arr['message']= $data; $arr['app_no'] = $fappno; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,0,"success"); }else{ $data='Your Application updation was not successfully'; $arr['message']= $data; $arr['app_no'] = $fappno; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,1,"failure"); } return; } ?>
Close