AnonSec Shell
Server IP : 104.21.37.246  /  Your IP : 104.23.243.33   [ 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/simded.com/mybackend/m-professor/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


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

Current File : /home2/cp648411/public_html/simded.com/mybackend/m-professor/edit_save.php
<?php require_once("../include/class.php");?>
<?php include("table_name.php");?>


<?php

/*echo '<pre>';
print_r($_POST);
echo '</pre>';

echo '<pre>';
print_r($_FILES);
echo '</pre>';

exit;*/


$date = date("Y-m-d H:i:s");
$name_img = $_POST['file_old'];
if($_FILES["fileidcard"]["error"] == 0)
{
	unlink($upload.$name_folderimg.$name_img);
	$name_img = $image_class->file_up($_FILES["fileidcard"],$name_folderimg,$upload);
}

if($_POST["folder"] <> $_POST["code"])
{
	if(file_exists('../../../'.$_POST['folder']))
	{
		$rendir = '../../../'.$_POST['folder'];
		$rento = '../../../'.$_POST['code'];
		rename($rendir,$rento);
	}
}


$list = array(	
			'table'=>$name_table,
			'id'=>$_POST["id"],
			'code'=>$_POST['code'],
			'idcard'=>$_POST['idcard'],
			'file_idcard'=>$name_img,
			'nameprophecy'=>$_POST["nameprophecy"],
			'science'=>$_POST["science"],
			'name'=>$_POST["name"],
			'lastname'=>$_POST["lastname"],
			'phone'=>$_POST["phone"],
			'email'=>$_POST["email"],
			'web'=>$_POST["web"],
			'facebook'=>$_POST["facebook"],
			'twitter'=>$_POST["twitter"],
			'ig'=>$_POST["ig"],
			'lineid'=>$_POST["lineid"],
			'title'=>$_POST["title"],
			'detail'=>$_POST["detail"],
			'experience'=>$_POST["experience"],
			'payment'=>$_POST["payment"],
			'service'=>$_POST["service"],
			'youtube_title'=>$_POST["youtube_title"],
			'youtube_url'=>$_POST["youtube_url"],
			'status'=>1,
			'up_date'=>$date
		);
			  
		$add = $actiondata_db->edit_db($list);
		  
/*echo '<pre>';	
print_r($add);
echo '</pre>';
exit;*/

	$_SESSION['er'] = 'true';
	if( $add['suc'] <> 1)
	{
		$_SESSION['er'] = 'false';
	}

?>
<meta http-equiv="refresh" content="0;URL=list.php">
<?php
exit;
?>

Anon7 - 2022
AnonSec Team