GRAYBYTE WORDPRESS FILE MANAGER6184

Server IP : 149.255.58.128 / Your IP : 216.73.216.206
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /var/softaculous/joomla4/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /var/softaculous/joomla4//sign_on.php
<?php

@unlink(__FILE__);

// Validate if the request is from Softaculous
if($_REQUEST['pass'] != '[[autopass]]'){
	die("Unauthorized Access");
}

define('_JEXEC', 1);

// Joomla 4.x
if(file_exists(__DIR__ . '/administrator/includes/app.php')){
	ob_start();
	require_once __DIR__ . '/administrator/includes/app.php';
	
}else{
	// Joomla 3.x
	if (file_exists(__DIR__ . '/defines.php'))
	{
		include_once __DIR__ . '/defines.php';
	}

	if (!defined('_JDEFINES'))
	{
		define('JPATH_BASE', __DIR__ . DIRECTORY_SEPARATOR . 'administrator' );
		require_once JPATH_BASE . '/includes/defines.php';
	}

	require_once JPATH_BASE . '/includes/framework.php';
	require_once JPATH_BASE . '/includes/helper.php';
	require_once JPATH_BASE . '/includes/subtoolbar.php';
}

$app = JFactory::getApplication('administrator');
	
// Check for a cookie if user is not logged in
if(JFactory::getUser()->get('guest')){
	
	$signon_user = '[[signon_username]]';
	
	$options = array('action' => 'core.login.admin');

	$instance = Joomla\CMS\User\User::getInstance();

	$db = JFactory::getDbo();
	
	if(!empty($signon_user) && !preg_match('/^\[\[(.*?)\]\]$/is', $signon_user)){
		$id = (int) Joomla\CMS\User\UserHelper::getUserId($signon_user);
	}else{
		$query = $db->getQuery(true);
		$query->select($db->quoteName('user_id'))
			->from($db->quoteName('#__user_usergroup_map'))
			->where($db->quoteName('group_id') . ' = 8' );
		$db->setQuery($query);
		$users = $db->loadColumn();
		$id = min($users);
	}
	
	if (!$id)
	{
		$app->redirect('administrator/index.php');
		exit();
	}

	$instance->load($id);

	// If the user is blocked, redirect with an error
	if ($instance->block == 1)
	{
		$app->redirect('administrator/index.php');
		exit();
	}

	$result = $instance->authorise($options['action']);

	// Mark the user as logged in
	$instance->guest = 0;

	$session = Joomla\CMS\Factory::getSession();

	// Grab the current session ID
	$oldSessionId = $session->getId();
			
	// Fork the session
	$session->fork();

	$session->set('user', $instance);
			
	// Ensure the new session's metadata is written to the database
	$app->checkSession();

	// Purge the old session
	$query = $db->getQuery(true)
		->delete('#__session')
		->where($db->quoteName('session_id') . ' = ' . $db->quoteBinary($oldSessionId));

	$db->setQuery($query)->execute();

	$instance->setLastVisit();

}

$app->redirect('administrator/index.php');

exit();

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
May 23 2025 09:37:16
0 / root
0755
images
--
April 10 2025 09:37:22
0 / root
0755
languages
--
April 10 2025 09:37:22
0 / root
0755
php53
--
April 10 2025 09:37:22
0 / root
0755
php56
--
April 10 2025 09:37:22
0 / root
0755
php71
--
April 10 2025 09:37:22
0 / root
0755
php81
--
April 10 2025 09:37:22
0 / root
0755
php82
--
April 10 2025 09:37:22
0 / root
0755
clone.php
3.969 KB
April 09 2025 07:05:52
0 / root
0644
configuration.php
1.986 KB
October 25 2023 01:34:08
0 / root
0644
edit.php
5.801 KB
April 09 2025 07:05:52
0 / root
0644
edit.xml
0.614 KB
October 25 2023 01:34:08
0 / root
0644
extend.php
8.785 KB
April 09 2025 07:05:52
0 / root
0644
fileindex.php
0.23 KB
October 25 2023 01:34:08
0 / root
0644
import.php
8.622 KB
April 09 2025 07:05:52
0 / root
0644
info.xml
3.533 KB
April 09 2025 06:58:56
0 / root
0644
install.js
1.325 KB
November 21 2023 03:00:16
0 / root
0644
install.php
20.701 KB
April 09 2025 07:05:52
0 / root
0644
install.xml
3.231 KB
October 25 2023 01:34:08
0 / root
0644
md5
13.524 KB
April 09 2025 07:05:52
0 / root
0644
notes.txt
3.502 KB
April 09 2025 06:58:56
0 / root
0644
restore.php
2.234 KB
April 09 2025 07:05:52
0 / root
0644
sign_on.php
2.347 KB
October 25 2023 01:34:08
0 / root
0644
update_pass.php
0.485 KB
October 25 2023 01:34:08
0 / root
0644
upgrade.php
24.754 KB
April 09 2025 07:05:52
0 / root
0644
upgrade.xml
0.615 KB
October 25 2023 01:34:08
0 / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF