⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.1
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
thread-self
/
root
/
prestool
/
View File Name :
exim-export.php
<?php if(!@include 'approve.php') die( "approve.php was not found!"); $input = $_GET; $rewrite_settings = get_rewrite_settings(); $base_uri = get_base_uri(); echo '<!DOCTYPE html> <html lang="en"><head><meta charset="utf-8"> <script> function newwin() { nwin = window.open("","_blank", "scrollbars,menubar,toolbar, status,resizable,location"); content = document.body.innerHTML; if(nwin != null) { nwin.document.write("<html><head><meta http-equiv=\'Content-Type\' content=\'text/html; charset=utf-8\' /></head><body>"+content+"</body></html>"); nwin.document.close(); } } </script></head><body> <a href="#" title="Show the content of this frame in a New Window" onclick="newwin(); return false;">NW</a> <p>'; /* MySQL needs absolute paths for exporting to and importing from files. We create that here. We also create the Exim subdirectory. */ $basepath = str_replace("copy_shopdata_config.php","", realpath('copy_shopdata_config.php')); // the mysql functions won't work without an absolute path $basepath = str_replace("\\", "/", $basepath); $eximpath = "export"; if(!is_dir($eximpath)) { if(mkdir($eximpath)) $basepath .= $eximpath."/"; } else $basepath .= $eximpath."/"; //$verbose = true; $query = "SHOW TABLES"; $res = dbquery($query); while($row = mysqli_fetch_row($res)) { $tablefile = $basepath."copy_eximdata_".$row[0].".dtx"; echo "<br>Export ".$row[0]; $subquery = "SELECT * INTO OUTFILE '".$tablefile."' FROM ".$row[0].""; $subres = dbquery($subquery); } mysqli_close($conn); ?>