Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.35
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html /
webedi.bdcloud.fr /
api /
ryimg /
Delete
Unzip
Name
Size
Permission
Date
Action
.git
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
images
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
download.php
2.42
KB
-rw-r--r--
2022-09-29 07:50
index.php
128
B
-rw-r--r--
2022-09-29 07:50
pr.php
1.19
KB
-rw-r--r--
2022-09-29 07:50
product.php
2.09
KB
-rw-r--r--
2022-09-29 07:50
product_OLD.php
2.4
KB
-rw-r--r--
2022-09-29 07:50
product_customer_price.php
1
KB
-rw-r--r--
2022-09-29 07:50
product_virtual.php
3.72
KB
-rw-r--r--
2022-09-29 07:50
product_visibility.php
3.07
KB
-rw-r--r--
2022-09-29 07:50
Save
Rename
<?php if(isset($_GET)) { $ref = null; $dolapikey = null; if(isset($_GET['ref'])) { $ref = $_GET['ref']; } if(isset($_GET['DOLAPIKEY'])) { $dolapikey = $_GET['DOLAPIKEY']; } // no credential if($dolapikey == null) { echo 'no_credentials'; return; } // no module_part if($ref == null) { echo 'no_ref'; return; } $filePath = "produit/".$ref; //afra //$db = new PDO("mysql:host=localhost; dbname=bdc_doli286", "bdc_doli286", "7pl2]8b[SF"); $db = new PDO("mysql:host=localhost; dbname=bdc_doli286", "lamp", "Vo4nMSdkSAah"); $query = "SELECT * FROM llx_ecm_files WHERE filepath = '".$filePath."' "; $stmt = $db->query($query); // $stmt->execute(['filpath' => $filePath]); $ecmFiles = $stmt->fetchAll(PDO::FETCH_ASSOC); // var_dump($ecmFiles); $picFile = $ecmFiles[0]; // var_dump($picFile); $original_file = $ref."/".$picFile['filename']; // echo $original_file; // url de telechargement de l'image $url="https://food.bdcloud.fr/api/index.php/documents/download?modulepart=product&original_file=".$original_file."&DOLAPIKEY=".$dolapikey; // Initiate curl $ch = curl_init(); // Will return the response, if false it print the response curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // Set the url curl_setopt($ch, CURLOPT_URL, $url); // Execute $result=curl_exec($ch); // Closing curl_close($ch); // Will dump a beauty json $resultArr = json_decode($result, true); // var_dump($resultArr); return; if (isset($resultArr['error'])) { echo $resultArr['error']['message']; return; } // Si le dossier du module_part n'existe pas, alors on le crée if (!file_exists("images/".$modulepart)) { mkdir("images/".$modulepart, 0777, true); } // $targetPath="D:/timekeeping/logs/94-20160908.dat"; $file_name = "images/".$modulepart."/".$resultArr['filename']; // $data = file_get_contents($targetPath); $content= base64_decode($resultArr['content']); $file = fopen($file_name, 'w'); fwrite($file, $content); fclose($file); header('content-type: image/jpg'); readfile($file_name); ob_clean(); flush(); return; echo 'modulepart = '.$modulepart.'\n original_file = '.$original_file.'\n dolapikey = '.$dolapikey; }