AnonSec Team
Server IP : 10.106.20.4  /  Your IP : 216.73.216.140
Web Server : Apache
System : Linux webm004.cluster106.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 : sylvaineey ( 605664)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/sylvaineey/www/wp-content/plugins/../../jquery/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/sylvaineey/www/wp-content/plugins/../../jquery/../send8.php
<?php
session_start();

include dirname( __FILE__ ) . '/wp-content/plugins/tlmq-consents/tlmq-consents.php';

$return = "false";
if(isset($_POST['email'])){
	$email = $_POST['email'];
}
if(isset($_POST['prenom'])){
	$prenom = $_POST['prenom'];
}
if(isset($_POST['nom'])){
	$nom = $_POST['nom'];
}
if(isset($_POST['pays'])){
	$pays = $_POST['pays'];
}
if(isset($_POST['sexe'])){
	$sexe = $_POST['sexe'];
}
if(isset($_POST['datenaissance'])){
	$naissance = $_POST['datenaissance'];
	$naissancetab = explode("/", $naissance);
	$datenaissance = $naissancetab[2]."-".$naissancetab[1]."-".$naissancetab[0];
}
if(isset($_POST['telephone'])){
	$telephone = $_POST['telephone'];
}
if(isset($_POST['signe'])){
	$signe = $_POST['signe'];
}
//$adresse_ip = $REMOTE_ADDR;
$adresse_ip = $_SERVER['REMOTE_ADDR'];
//$web = 2;
//$captcha = $_POST['captcha'];
//$captcha = $_SESSION['qaptcha_key'];
//$_SESSION['qaptcha_key'] = $captcha;
//var_dump($_SESSION['qaptcha_key']);
if(isset($_SESSION['qaptcha_key']) && !empty($_SESSION['qaptcha_key']))
{


    $consentArray = [];
    foreach ($_POST['consents'] as $key => $consent) {
        $consentArray[$consent] = 'on';
    }

    $gender = $sexe === 'M' ? 1 : 2;

    $partner = 'default';
    $pathname = isset($_POST['path']) ? $_POST['path'] : '/';

    $params = array(
        'firstname' => $prenom,
        'lastname' => $nom,
        "sexe" => $gender,
        'email' => $email,
        'birthdate' => $datenaissance,
        'phone_number' => $telephone,
        'partner' => $partner,
        'type' => 'SIMPLE',
        'pathname' =>  $pathname,
        'course' => 'cap',
        'consents' => $consentArray,
        'oriannaQG' => 'false'
    );

    sendProspect($params);


    $data = array(
        'QGServiceId' => 28,
        'emailAddress' => $_POST['email'],
        'firstname' => $_POST['nom'],
        'lastname' => $_POST['prenom'],
        'content' => 'Demande horscope gratuit depuis sylvaine.fr : pas de message',
        'phoneNumber' => '+33'.str_replace('+33','',$_POST['telephone']),
        'websiteURL' => 'https://www.sylvaine.fr/',
        'ipAddress' => $_SERVER['REMOTE_ADDR'],
        'userAgent' => $_SERVER['HTTP_USER_AGENT'],
        'birthdate' => $date = new DateTimeImmutable($_POST['datepicker'])
    );
    $curl = curl_init();
    curl_setopt_array($curl, array(
        CURLOPT_URL => "https://public-api.tlmq.fr/free-question/questions/",
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_ENCODING => "",
        CURLOPT_MAXREDIRS => 10,
        CURLOPT_TIMEOUT => 0,
        CURLOPT_FOLLOWLOCATION => true,
        CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
        CURLOPT_CUSTOMREQUEST => "POST",
        CURLOPT_POSTFIELDS =>json_encode($data),
        CURLOPT_HTTPHEADER => array(
            "apikey: p2QSzN5TjSlzdMsXveWXfSYq1G7v0TF4",
            "Content-Type: application/json",
            "Cookie: fqstk_=http://10.0.0.58:3000"
        ),
    ));

    $response = curl_exec($curl);

	$return = 'true';
	//}
}
else{
	$return = "false";
}

echo $return;
unset($_SESSION['qaptcha_key']);

?>

AnonSec - 2021