Linux mail.vriendennsm.nl 6.1.0-51-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.177-1 (2026-07-16) x86_64
Apache/2.4.68 (Debian)
Server IP : 217.154.75.17 & Your IP : 216.73.216.195
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
vnsm /
plugins /
system /
sourcerer /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Area.php
1.76
KB
-rwxr-xr-x
2023-09-03 18:12
Clean.php
2.55
KB
-rwxr-xr-x
2023-09-03 18:12
Code.php
3.53
KB
-rwxr-xr-x
2023-09-03 18:12
Helper.php
2.49
KB
-rwxr-xr-x
2020-07-27 14:43
Params.php
4.72
KB
-rwxr-xr-x
2023-09-03 18:12
Plugin.php
8.25
KB
-rwxr-xr-x
2020-07-27 14:43
Protect.php
1.12
KB
-rwxr-xr-x
2023-09-03 18:12
Replace.php
18.15
KB
-rwxr-xr-x
2023-09-03 18:12
Security.php
2.59
KB
-rwxr-xr-x
2023-09-03 18:12
Save
Rename
<?php /** * @package Sourcerer * @version 8.3.0 * * @author Peter van Westen <info@regularlabs.com> * @link http://www.regularlabs.com * @copyright Copyright © 2020 Regular Labs All Rights Reserved * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ namespace RegularLabs\Plugin\System\Sourcerer; defined('_JEXEC') or die; use Joomla\CMS\Factory as JFactory; use RegularLabs\Library\Document as RL_Document; use RegularLabs\Library\Html as RL_Html; use RegularLabs\Library\Protect as RL_Protect; /** * Plugin that replaces stuff */ class Helper { public function onContentPrepare($context, &$article) { $params = Params::get(); $area = isset($article->created_by) ? 'articles' : 'other'; $remove = $params->remove_from_search && in_array($context, ['com_search.search', 'com_search.search.article', 'com_finder.indexer']); if (isset($article->description)) { Replace::replace($article->description, $area, $article, $remove); } if (isset($article->title)) { Replace::replace($article->title, $area, $article, $remove); } // Don't handle article texts in category list view if (RL_Document::isCategoryList($context)) { return; } if (isset($article->text)) { Replace::replace($article->text, $area, $article, $remove); // Don't also do stuff on introtext/fulltext if text is set return; } if (isset($article->introtext)) { Replace::replace($article->introtext, $area, $article, $remove); } if (isset($article->fulltext)) { Replace::replace($article->fulltext, $area, $article, $remove); } } public function onAfterDispatch() { if ( ! RL_Document::isHtml() || ! $buffer = RL_Document::getBuffer()) { return; } Area::tag($buffer, 'component'); RL_Document::setBuffer($buffer); } public function onAfterRender() { // only in html, pdfs, ajax/raw and feeds if ( ! in_array(JFactory::getDocument()->getType(), ['html', 'pdf', 'ajax', 'raw']) && ! RL_Document::isFeed()) { return; } $html = JFactory::getApplication()->getBody(); if ($html == '') { return; } $params = Params::get(); list($pre, $body, $post) = RL_Html::getBody($html); Protect::_($body); Replace::replaceInTheRest($body); Clean::cleanLeftoverJunk($body); RL_Protect::unprotect($body); $params->enable_in_head ? Replace::replace($pre, 'head') : Clean::cleanTagsFromHead($pre); $html = $pre . $body . $post; JFactory::getApplication()->setBody($html); } }