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 : notifications.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 notifications * * @package SPIP\Core\Notifications **/ if (!defined('_ECRIRE_INC_VERSION')) { return; } /** * La fonction de notification de base, qui dispatche le travail * * @api * @param string $quoi * Événement de notification * @param int $id * id de l'objet en relation avec l'événement * @param array $options * Options de notification, interprétées en fonction de la notification */ function inc_notifications_dist($quoi, $id = 0, $options = []) { // charger les fichiers qui veulent ajouter des definitions // ou faire des trucs aussi dans le pipeline, ca fait deux api pour le prix d'une ... pipeline('notifications', ['args' => ['quoi' => $quoi, 'id' => $id, 'options' => $options]]); if ($notification = charger_fonction($quoi, 'notifications', true)) { spip_log("$notification($quoi,$id" . ($options ? ',' . serialize($options) : '') . ')', 'notifications'); $notification($quoi, $id, $options); } } /** * Néttoyage des emails avant un envoi * * On passe par référence pour la perf * * les emails liste par $exclure seront exclus de la liste * * @param array $emails * @param array $exclure */ function notifications_nettoyer_emails(&$emails, $exclure = []) { // filtrer et unifier include_spip('inc/filtres'); $emails = array_unique(array_filter(array_map('email_valide', array_map('trim', $emails)))); if ($exclure and count($exclure)) { // nettoyer les exclusions d'abord notifications_nettoyer_emails($exclure); // faire un diff $emails = array_diff($emails, $exclure); } } /** * Envoyer un email de notification * * Le sujet peut être vide, dans ce cas il reprendra la première ligne non vide du texte * * @param array|string $emails * @param string $texte * @param string $sujet * @param string $from * @param string $headers */ function notifications_envoyer_mails($emails, $texte, $sujet = '', $from = '', $headers = '') { // rien a faire si pas de texte ! if (!strlen($texte)) { return; } // si on ne specifie qu'un email, le mettre dans un tableau if (!is_array($emails)) { $emails = explode(',', $emails); } notifications_nettoyer_emails($emails); // tester si le mail est deja en html if ( strpos($texte, '<') !== false // eviter les tests suivants si possible and $ttrim = trim($texte) and substr($ttrim, 0, 1) == '<' and substr($ttrim, -1, 1) == '>' and stripos($ttrim, '</html>') !== false ) { if (!strlen($sujet)) { // dans ce cas on ruse un peu : extraire le sujet du title if (preg_match(',<title>(.*)</title>,Uims', $texte, $m)) { $sujet = $m[1]; } else { // fallback, on prend le body si on le trouve if (preg_match(',<body[^>]*>(.*)</body>,Uims', $texte, $m)) { $ttrim = $m[1]; } // et on extrait la premiere ligne de vrai texte... // nettoyer le html et les retours chariots $ttrim = textebrut($ttrim); $ttrim = str_replace("\r\n", "\r", $ttrim); $ttrim = str_replace("\r", "\n", $ttrim); // decouper $ttrim = explode("\n", trim($ttrim)); // extraire la premiere ligne de texte brut $sujet = array_shift($ttrim); } } // si besoin on ajoute le content-type dans les headers if (stripos($headers, 'Content-Type') === false) { $headers .= "Content-Type: text/html\n"; } } // si le sujet est vide, extraire la premiere ligne du corps // du mail qui est donc du texte if (!strlen($sujet)) { // nettoyer un peu les retours chariots $texte = str_replace("\r\n", "\r", $texte); $texte = str_replace("\r", "\n", $texte); // decouper $texte = explode("\n", trim($texte)); // extraire la premiere ligne $sujet = array_shift($texte); $texte = trim(implode("\n", $texte)); } include_spip('inc/envoyer_mail'); foreach ($emails as $email) { // passer dans un pipeline qui permet un ajout eventuel // (url de suivi des notifications par exemple) $envoi = pipeline( 'notifications_envoyer_mails', [ 'email' => $email, 'sujet' => $sujet, 'texte' => $texte, 'from' => $from, 'headers' => $headers, ] ); $email = $envoi['email']; job_queue_add( 'envoyer_mail', ">$email : " . $envoi['sujet'], [$email, $envoi['sujet'], $envoi['texte'], $envoi['from'], $envoi['headers']], 'inc/' ); } } /** * Notifier un événement sur un objet * * Récupère le fond désigné dans $modele, * prend la première ligne comme sujet * et l'interprète pour envoyer l'email * * @param int $id_objet * @param string $type_objet * @param string $modele * @return string */ function email_notification_objet($id_objet, $type_objet, $modele) { include_spip('inc/envoyer_mail'); // pour nettoyer_titre_email $id_type = id_table_objet($type_objet); return recuperer_fond($modele, [$id_type => $id_objet, 'id' => $id_objet]); } /** * Notifier un événement sur un article * * Récupère le fond désigné dans $modele, * prend la première ligne comme sujet * et l'interprète pour envoyer l'email * * @param int $id_article * @param string $modele * @return string */ function email_notification_article($id_article, $modele) { include_spip('inc/envoyer_mail'); // pour nettoyer_titre_email return recuperer_fond($modele, ['id_article' => $id_article]); }
Close