Tn Jones Shell Bypass
:
3.141.45.137
:
160.187.54.56 / upgov.net
:
Linux 160-187-54-56.cprapid.com 4.18.0-553.22.1.lve.1.el7h.x86_64 #1 SMP Tue Oct 8 14:36:03 UTC 2024 x86_64
:
/
home
/
upgov
/
www
/
gnvs
/
Upload File:
files >> /home/upgov/www/gnvs/table_pdf1.php
<?php include('database.php'); $database = new Database(); $result = $database->runQuery("SELECT regid,Mandal,Ward_no,Name,mobile_no FROM registration"); $header = $database->runQuery("SELECT UCASE(COLUMN_NAME) FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA='vidhansabha' AND TABLE_NAME='registration'and COLUMN_NAME in ('regid','Mandal','Ward_no','Name','mobile_no')"); mysql_query('SET character_set_results=utf8'); mysql_query('SET names=utf8'); mysql_query('SET character_set_client=utf8'); mysql_query('SET character_set_connection=utf8'); mysql_query('SET character_set_results=utf8'); mysql_query('SET collation_connection=utf8_general_ci'); require('fpdf/fpdf.php'); $pdf = new FPDF(); $pdf->AddPage(); $pdf->SetFont('Arial','B',8); foreach($header as $heading) { foreach($heading as $column_heading) $pdf->Cell(40,8,$column_heading,1); } foreach($result as $row) { $pdf->Ln(); foreach($row as $column) $pdf->Cell(40,8,$column,1); } $pdf->Output(); ?>