? GR0V Shell

GR0V shell

Linux www.koreapackagetour.com 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64

Path : /home/admin/public_html/old/promice/components/com_linkr/
File Upload :
Current File : /home/admin/public_html/old/promice/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'
		);
}

T1KUS90T
  root-grov@210.1.60.28:~$