. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AnonSec Shell
AnonSec Shell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.146   [ Reverse IP ]
Web Server : Apache
System : Linux webm002.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : dealkatnwc ( 662330)
PHP Version : 7.0.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/dealkatnwc/www/GDEAL/pages/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


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

Current File : /home/dealkatnwc/www/GDEAL/pages/prolongedeal24.php
<?php
include 'class/coupon.class.php';
include 'config.php';
setlocale (LC_TIME, 'fr_FR.utf8','fra'); 

$jour = array("Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"); 
$mois = array("","Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"); 
$datefr = $jour[date("w")]." ".date("d")." ".$mois[date("n")]." ".date("Y"); 

$managerCou = new CouponManager($db);
$listeDeal = $managerCou->getListDeal(); 		   
$titdeal ="";
foreach ($listeDeal as $deal) 
	if (($deal['df'] <=  strtotime('+1 day', time())) && ($deal['df'] > time()))
	{
			$maj= array();
			$maj['id']=(int) $deal['id'];
			$maj['pp']=(int) $deal['prix_promo'];
			$maj['pr']=(int) $deal['prix_reel'];
			$nba_added = 0;
			switch (true){ 
						  case ($maj['pp'] < 100): $nba_added = 1 + rand(0,1); break; 
						  case (($maj['pp'] >= 100)&&($maj['pp'] < 500)): $nba_added = rand(0,2); break; 
						  case ($maj['pp'] >= 500): $nba_added = rand(0,1); break; 				
						 } 
			// $nba_added = 1 + rand(0,2);
			$maj['nba']=(int) $deal['nba']+ $nba_added;
			$jour_added = 1 + rand(0,3);
			$maj['df'] =  strtotime(date('Y-m-d',time()).' 23:59:59')+86400 * $jour_added;
			
		// var_dump($maj);
		// echo "* ".$deal['id']."<br>";
		
		$titdeal .= "<b>".$deal['id'].")</b> <a href='".$home."/?p=".$deal['id']."' target='_blanc' title='".$deal['titre']."'>".substr($deal['titre'],0,75)."</a> (".$nba_added." acheteurs / ".$jour_added." Jours</i>)<br>";
		$managerCou->fastedit($maj);
	}

	
	
$info['dealer_prenom'] = "ayari";
$info['dealer_nom'] = "karim";
$info["dealer_email"]= "dealka.tn@gmail.com";
    ini_set("SMTP","smtp.dealka.tn" ); 
			ini_set('sendmail_from', 'postmaster@dealka.tn'); 

			$repondre_a = 'postmaster@dealka.tn';
			$de = 'postmaster@dealka.tn';
			$sujet = "Prolongation Automatique des Deal - Dealka.tn";
			
			//=====Création de la boundary
			$boundary = "-----=".md5(rand());
			//==========
			//=====Déclaration des messages au format texte et au format HTML.
			
			$message_html = "<html><head></head><body>";
			$message_html .="
			<center><img  src='www.gdeal.dealka.tn/pages/images/dealka-logo.png' style='width: 20%;'></center><hr>
			Bonjour ". ucfirst($info['dealer_prenom'])." ". ucfirst($info['dealer_nom']).",<br><br>
			Nous sommes le ".$datefr.".<br><br>
			Gdeal Vous informe qu'il a prolongé automatiquement les deals suivants  :<br><br>".$titdeal."
			<br><br>";
			$message_html .= "Merci.<br><br>";						 		
			$message_html .= "<hr>";						 		
			$message_html .= "<i><b>Equipe de Dealka.tn </b></i>.</body></html>";
			
			//===== définir le passage enligne selon le serveur de l'adresse mail 
			if (!preg_match("#^[a-z0-9._-]+@(hotmail|live|msn).[a-z]{2,4}$#", $info["dealer_email"])) // On filtre les serveurs qui rencontrent des bogues.
			{$passage_ligne = "\r\n";}
			else
			{$passage_ligne = "\n";}

			
			//=====Création du header de l'e-mail.
			$header = "From: \"Dealka.tn\"<".$de.">".$passage_ligne;
			$header.= "Reply-to: \" ".utf8_decode($info['dealer_prenom'])." ".utf8_decode($info['dealer_nom'])." \" <".$repondre_a.">".$passage_ligne;
			$header.= "MIME-Version: 1.0".$passage_ligne;
			$header.= "Content-Type: multipart/mixed;".$passage_ligne." boundary=\"$boundary\"".$passage_ligne;
			//==========
			 
			//=====Création du message.
			$message = $passage_ligne."--".$boundary.$passage_ligne;
			
			//=====Ajout du message au format HTML
			$message.= "Content-Type: text/html; charset=\"UTF-8\"".$passage_ligne;
			$message.= "Content-Transfer-Encoding: 8bit".$passage_ligne;
			$message.= $passage_ligne.$message_html.$passage_ligne;
			
			$message.= $passage_ligne."--".$boundary."--".$passage_ligne;			

			
			mail($info["dealer_email"],$sujet,$message,$header);

?>

Anon7 - 2022
AnonSec Team