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.147.67.237
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 /
orms-gug /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
phpmailer
[ DIR ]
drwxr-xr-x
cManualMailer.php
3.68
KB
-rwxr-xr-x
cManualMailermohan.php
3.68
KB
-rwxr-xr-x
caccesscontext.php
1.24
KB
-rwxr-xr-x
caccesscontextold.php
1.24
KB
-rwxr-xr-x
cappcontext.php
2.68
KB
-rwxr-xr-x
cappcontext_02032018.php
2.69
KB
-rwxr-xr-x
cconfig.php
1.08
KB
-rwxr-xr-x
cmailer.php
6.83
KB
-rwxr-xr-x
coutput.php
1.76
KB
-rwxr-xr-x
crequestbroker.php
2.49
KB
-rwxr-xr-x
csessions.php
518
B
-rwxr-xr-x
csessionsold.php
514
B
-rwxr-xr-x
curricular.php
4.41
KB
-rwxr-xr-x
cuser.php
3.41
KB
-rwxr-xr-x
customappcontext.php
2.34
KB
-rwxr-xr-x
customappcontext_old.php
2.35
KB
-rwxr-xr-x
educationdet.php
19.85
KB
-rwxr-xr-x
eperience_det.php
23.08
KB
-rwxr-xr-x
eperience_det_old.php
23.69
KB
-rwxr-xr-x
foreigndetails.php
1.66
KB
-rwxr-xr-x
format.php
6.75
KB
-rwxr-xr-x
getdata.php
6.97
KB
-rwxr-xr-x
json.php
33.22
KB
-rwxr-xr-x
login.php
1.9
KB
-rwxr-xr-x
login_11102017.php
1.62
KB
-rwxr-xr-x
mregistry.php
9.76
KB
-rwxr-xr-x
orientiondet.php
1.82
KB
-rwxr-xr-x
other_det.php
2.93
KB
-rwxr-xr-x
otherexpdetails.php
821
B
-rwxr-xr-x
payment_det.php
11.42
KB
-rwxr-xr-x
payment_det1.php
11.27
KB
-rwxr-xr-x
personaldet.php
8.11
KB
-rwxr-xr-x
post.php
8.39
KB
-rwxr-xr-x
post_22.php
7.12
KB
-rwxr-xr-x
postdetails.php
1.57
KB
-rwxr-xr-x
preview_det.php
75.63
KB
-rwxr-xr-x
preview_det_22.php
55.56
KB
-rwxr-xr-x
preview_det_old.php
55.89
KB
-rwxr-xr-x
preview_det_raghu.php
60.1
KB
-rwxr-xr-x
printapp_det.php
69.18
KB
-rwxr-xr-x
printapp_det.php1
69.09
KB
-rwxr-xr-x
publicationdet.php
2.09
KB
-rwxr-xr-x
referencesdet.php
1.82
KB
-rwxr-xr-x
registration.php
5.37
KB
-rwxr-xr-x
registration_11102017.php
3.3
KB
-rwxr-xr-x
research_det.php
53.96
KB
-rwxr-xr-x
research_det2.php
112.53
KB
-rwxr-xr-x
researchdetails.php
1.77
KB
-rwxr-xr-x
sendGridMail.php
1.17
KB
-rwxr-xr-x
stringspliter.php
693
B
-rwxr-xr-x
upload_det.php
1.91
KB
-rwxr-xr-x
upload_file.php
585
B
-rwxr-xr-x
uploaddocuments.php
3.98
KB
-rwxr-xr-x
workexpdetails.php
1.53
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : uploaddocuments.php
<?php function replaceChars($name) { $spl_char = array("*","/","~","!","@","#","$","%","^","&",":",";","?","/","\\","_","-","'"," ",""); $link_name = strtolower(str_replace($spl_char,"_",$name)); return str_ireplace("__","_",$link_name); } function uploadUserDoc($aobj_context) { $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); session_start(); $userid = $_SESSION['userid']; $dir_path=$aobj_context->main_src."student_photos/{$userid}"; mkdir($dir_path); //chmod($dir_path,7777); $doc_id=trim($aobj_context->mobj_data["doc_id"]); $file_id=$doc_id; $file_name=replaceChars(basename($_FILES[$file_id]['name'])); //$file_ext=$path_arr['extension']; $arr['file_name']=$file_name; if(isset($file_name) && $file_name != '') { $path_arr=pathinfo($_FILES[$file_id]['name']); $file_ext=$path_arr['extension']; $root_file_name=$dir_path."/{$doc_id}.".$file_ext; $attachement_path="student_photos/{$userid}/{$doc_id}.".$file_ext; if(move_uploaded_file($_FILES[$file_id]['tmp_name'],$root_file_name)) { $arr['path']=$attachement_path; $arr['id']=$doc_id; $arr['file_name']=$file_name; $query="delete from studdoc where FFILENAME = '{$doc_id}' and fuserid = '{$userid}'"; $lobj_delete= $aobj_context->mobj_db->Execute($query); $insert = "INSERT IGNORE INTO studdoc(fuserid, FFILENAME, fdocpath, fdate) values('{$userid}','{$doc_id}','{$attachement_path}',now())"; $lobj_insert = $aobj_context->mobj_db->Execute($insert); echo $aobj_context->mobj_output->ToJSONEnvelope($arr,0,"success"); return; } else { $data="Moving {$file_name} failed"; echo $aobj_context->mobj_output->ToJSONEnvelope($data,-1,"failure"); return; } } else { $data="File is empty, not moved"; echo $aobj_context->mobj_output->ToJSONEnvelope($data,-1,"failure"); return; } } function recurseRmdir($dir) { $files = array_diff(scandir($dir), array('.','..')); foreach ($files as $file) { (is_dir("$dir/$file")) ? recurseRmdir("$dir/$file") : unlink("$dir/$file"); } return rmdir($dir); } function getDocumentsTable($aobj_context) { $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); session_start(); $userid = $_SESSION['userid']; $dir_path=$aobj_context->main_src."/student_photos/{$userid}/"; if($login_cnt>0) { recurseRmdir($dir_path); rmdir($dir_path); } $query5 = "SELECT md.FFILENAME AS int_code,md.fcertdesc AS filedesc,sd.fdocpath FROM masdoc md LEFT OUTER JOIN studdoc sd ON md.FFILENAME = sd.FFILENAME WHERE sd.FUSERID ='{$userid}' UNION SELECT md.FFILENAME AS int_code,md.fcertdesc AS filedesc,'' AS fdocpath FROM masdoc md LEFT OUTER JOIN studdoc sd ON md.FFILENAME = sd.FFILENAME WHERE md.FFILENAME NOT IN (SELECT md.FFILENAME FROM masdoc md LEFT OUTER JOIN studdoc sd ON md.FFILENAME = sd.FFILENAME WHERE sd.FUSERID ='{$userid}' ) "; $lobj_get_document_data= $aobj_context->mobj_db->GetAll($query5); $html = ""; $sl = 1; $html.='<tbody> '; foreach($lobj_get_document_data as $mk=>$mv) { $int_code = $mv['int_code']; $doc_type = $mv['int_code']; $attachment_path = $mv['fdocpath']; $FFILENAME = $mv['filedesc']; $file_name = $FFILENAME; $file_type_id = "{$int_code}"; $att_id = "{$int_code}"; $doc_file_path = $attachment_path; $html.='<tr><td>'.$sl.'</td><td>'.$file_name.'</td><td><input type="file" style="width:80px;" id = "'.$att_id.'" name = "'.$att_id.'" onchange=uploadUserDoc("'.$att_id.'") /></td>'; if(!empty($attachment_path)) { $html.='<td id="attach_td_'.$int_code.'"><input type="hidden" id='.'"'.$att_id.'"'.' value="A" /><a style="color:#AB45F9; padding-right:5px;" href="'.$doc_file_path.'" target="_blank"><img src="images/file-attachment.jpg"/></a></td>'; } else { $html.='<td id="attach_td_'.$int_code.'"><input type="hidden" id='.'"'.$att_id.'"'.' value="" /> </td>'; } $html.='</tr>'; $sl++; } $html.='</tbody>'; echo $aobj_context->mobj_output->ToJSONEnvelope($html,0,"success"); return; } ?>
Close