uawdijnntqw1x1x1
IP : 216.73.216.168
Hostname : server.fattispazio.it
Kernel : Linux server.fattispazio.it 3.10.0-1160.144.1.el7.tuxcare.els4.x86_64 #1 SMP Tue Apr 7 08:40:40 UTC 2026 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
poliximo
/
public_html
/
administrator
/
components
/
com_rsfirewall
/
controllers
/
list.php
/
/
<?php /** * @package RSFirewall! * @copyright (c) 2009 - 2019 RSJoomla! * @link https://www.rsjoomla.com * @license GNU General Public License http://www.gnu.org/licenses/gpl-3.0.en.html */ defined('_JEXEC') or die('Restricted access'); class RsfirewallControllerList extends JControllerForm { protected function allowAdd($data = array()) { $user = JFactory::getUser(); return $user->authorise('lists.manage', 'com_rsfirewall'); } protected function allowEdit($data = array(), $key = 'id') { $user = JFactory::getUser(); return $user->authorise('lists.manage', 'com_rsfirewall'); } public function bulkAdd() { $this->setRedirect('index.php?option=com_rsfirewall&view=list&layout=bulk'); } public function bulkSave() { JSession::checkToken() or die(JText::_('JINVALID_TOKEN')); $app = JFactory::getApplication(); $input = $app->input; $model = $this->getModel('list'); $data = $input->get('jform', '', 'array'); $ips = isset($data['ips']) ? $data['ips'] : ''; $ips = $this->explode($ips); unset($data['ips']); $added = 0; foreach ($ips as $ip) { $data['ip'] = trim($ip); if (!$data['ip']) { continue; } if (!$model->save($data)) { $app->enqueueMessage($model->getError(), 'error'); } else { $added++; } } $this->setMessage(JText::sprintf('COM_RSFIREWALL_BULK_ITEM_SAVED_OK', $added)); $this->setRedirect('index.php?option=com_rsfirewall&view=lists'); } protected function explode($string) { $string = str_replace(array("\r\n", "\r"), "\n", $string); return explode("\n", $string); } }
/home/poliximo/public_html/administrator/components/com_rsfirewall/controllers/list.php