shell bypass 403

Cubjrnet7 Shell


name : edit_components.php
<?php
/**
* @package RSForm! Pro
* @copyright (C) 2007-2019 www.rsjoomla.com
* @license GPL, http://www.gnu.org/copyleft/gpl.html
*/

defined('_JEXEC') or die;

use Joomla\CMS\Language\Text;
use Joomla\CMS\HTML\HTMLHelper;

if (version_compare(JVERSION, '4.0', '>=')) {
	HTMLHelper::_('bootstrap.offcanvas');
	HTMLHelper::_('bootstrap.loadCss');
}
HTMLHelper::_('bootstrap.dropdown');
?>
<a class="btn btn-primary btn-lg btn-large" id="addFieldButton" onclick="RSFormPro.offcanvas.open();" href="#offcanvasFields" role="button" aria-controls="offcanvasFields">
    <i class="icon-plus"></i> <?php echo Text::_('COM_RSFORM_ADD_FIELD'); ?>
</a>
<div class="offcanvas offcanvas-start" tabindex="-1" id="offcanvasFields" aria-labelledby="offcanvasFieldsLabel">
	<div class="offcanvas-header">
		<h5 class="offcanvas-title" id="offcanvasFieldsLabel"><?php echo Text::_('COM_RSFORM_CHOOSE_A_FIELD'); ?></h5>
		<button type="button" class="btn-close" onclick="RSFormPro.offcanvas.hide();" aria-label="<?php echo Text::_('RSFP_CLOSE'); ?>"></button>
	</div>
	<div class="offcanvas-body">
		<ul class="rsform_leftnav w-100 mb-5">
		<?php
		$this->triggerEvent('onRsformBeforeShowComponents');

		foreach ($this->fieldGroups as $fieldGroupName => $fieldGroup)
		{
			if (!empty($fieldGroup->fields))
			{
				?>
				<li class="rsform_navtitle"><?php echo $this->escape($fieldGroup->name); ?></li>
					<?php
					foreach ($fieldGroup->fields as $field)
					{
						if (!empty($field->exists))
						{
							$displayTemplate = sprintf('displayTemplate(%d, %d);', $field->id, $field->exists);
						}
						else
						{
							$displayTemplate = sprintf('displayTemplate(%d);', $field->id);
						}
						?>
						<li><a href="javascript: void(0);" onclick="<?php echo $displayTemplate; ?>" id="rsfpc<?php echo $this->escape($field->id); ?>"><span class="<?php echo $this->escape($field->icon); ?>"></span><span class="inner-text"><?php echo $this->escape($field->name); ?></span></a></li>
						<?php
					}
			}

			if ($fieldGroupName === 'standard')
			{
				$this->triggerEvent('onRsformBackendAfterShowStandardComponents');
			}
		}
		?>
		<?php $this->triggerEvent('onRsformBackendAfterShowComponents'); ?>
		</ul>
	</div>
</div>
	
	<input type="hidden" name="componentIdToEdit" id="componentIdToEdit" value="-1" />

<div id="componentscontent">
	<div id="componentsMessages"></div>
    <div class="alert alert-error center text-center" id="rsform_submit_button_msg" <?php if ($this->hasSubmitButton) { ?>style="display: none"<?php } ?>>
        <p><?php echo HTMLHelper::_('image', 'com_rsform/admin/submit-help.jpg', Text::_('RSFP_NO_SUBMIT_BUTTON'), null, true); ?></p>
        <p><?php echo Text::_('RSFP_NO_SUBMIT_BUTTON'); ?></p>
    </div>

	<?php $this->triggerEvent('onRsformBackendBeforeGrid', array($this)); ?>

	<div id="gridlayoutdiv">
		<?php echo $this->loadTemplate('grid'); ?>
	</div><!-- gridlayout -->

	<?php $this->triggerEvent('onRsformBackendEditFormComponents', array($this)); ?>
</div>

© 2025 Cubjrnet7