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 :  /inetpub/wwwroot/icd/components/com_linkr/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /inetpub/wwwroot/icd/components/com_linkr/router.php
<?php
defined('_JEXEC') or die;

// SEF url fix
function LinkrBuildRoute( &$q )
{
	$parts	= array();
	
	$token	= JUtility::getToken();
	if (!isset( $q[$token] )) {
		JError::raiseError(403, 'Invalid Token');
	}
	
	$name	= (isset($q['e_name']) && strlen($q['e_name'])) ? $q['e_name'] : 'text';
	$parts[]	= $token;
	$parts[]	= $name;
	foreach ($q as $k => $v) {
		if ($k != 'option') {
			unset( $q[$k] );
		}
	}
	
	return $parts;
}

function LinkrParseRoute( $s )
{
	return array(
			$s[0]		=> '1',
			'e_name'	=> $s[1],
			'tmpl'		=> 'component',
			'view'		=> 'link'
		);
}

Youez - 2016 - github.com/yon3zu
LinuXploit