Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.51
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
osticket /
upload /
[ HOME SHELL ]
Name
Size
Permission
Action
api
[ DIR ]
drwxr-xr-x
apps
[ DIR ]
drwxr-xr-x
assets
[ DIR ]
drwxr-xr-x
css
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
include
[ DIR ]
drwxr-xr-x
js
[ DIR ]
drwxr-xr-x
kb
[ DIR ]
drwxr-xr-x
pages
[ DIR ]
drwxr-xr-x
scp
[ DIR ]
drwxr-xr-x
account.php
4.94
KB
-rw-r--r--
ajax.php
1.8
KB
-rw-r--r--
avatar.php
1.06
KB
-rw-r--r--
bootstrap.php
14.98
KB
-rw-r--r--
captcha.php
611
B
-rw-r--r--
client.inc.php
2.91
KB
-rw-r--r--
file.php
2.33
KB
-rw-r--r--
index.php
2.28
KB
-rw-r--r--
login.php
5.55
KB
-rw-r--r--
logo.php
980
B
-rw-r--r--
logout.php
714
B
-rw-r--r--
main.inc.php
1.63
KB
-rw-r--r--
manage.php
2.36
KB
-rw-r--r--
offline.php
940
B
-rw-r--r--
open.php
2.97
KB
-rw-r--r--
profile.php
1.2
KB
-rw-r--r--
pwreset.php
2.95
KB
-rw-r--r--
secure.inc.php
1.14
KB
-rw-r--r--
tickets.php
5.77
KB
-rw-r--r--
view.php
1.55
KB
-rw-r--r--
web.config
2.15
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : client.inc.php
<?php /********************************************************************* client.inc.php File included on every client page Peter Rotich <peter@osticket.com> Copyright (c) 2006-2013 osTicket http://www.osticket.com Released under the GNU General Public License WITHOUT ANY WARRANTY. See LICENSE.TXT for details. vim: expandtab sw=4 ts=4 sts=4: **********************************************************************/ if(!strcasecmp(basename($_SERVER['SCRIPT_NAME']),basename(__FILE__))) die('kwaheri rafiki!'); $thisdir=str_replace('\\', '/', dirname(__FILE__)).'/'; if(!file_exists($thisdir.'main.inc.php')) die('Fatal Error.'); require_once($thisdir.'main.inc.php'); if(!defined('INCLUDE_DIR')) die('Fatal error'); // Enforce ACL (if applicable) if (!Validator::check_acl('client')) die(__('Access Denied')); /*Some more include defines specific to client only */ define('CLIENTINC_DIR',INCLUDE_DIR.'client/'); define('OSTCLIENTINC',TRUE); define('ASSETS_PATH',ROOT_PATH.'assets/default/'); //Check the status of the HelpDesk. if (!in_array(strtolower(basename($_SERVER['SCRIPT_NAME'])), array('logo.php','file.php')) && !(is_object($ost) && $ost->isSystemOnline())) { include(ROOT_DIR.'offline.php'); exit; } /* include what is needed on client stuff */ require_once(INCLUDE_DIR.'class.client.php'); require_once(INCLUDE_DIR.'class.ticket.php'); require_once(INCLUDE_DIR.'class.dept.php'); //clear some vars $errors=array(); $msg=''; $nav=null; //Make sure the user is valid..before doing anything else. $thisclient = UserAuthenticationBackend::getUser(); if (isset($_GET['lang']) && $_GET['lang']) { Internationalization::setCurrentLanguage($_GET['lang']); } // Bootstrap gettext translations as early as possible, but after attempting // to sign on the agent TextDomain::configureForUser($thisclient); //is the user logged in? if($thisclient && $thisclient->getId() && $thisclient->isValid()){ $thisclient->refreshSession(); } else { $thisclient = null; } /******* CSRF Protectin *************/ // Enforce CSRF protection for POSTS if ($_POST && !$ost->checkCSRFToken()) { Http::redirect('index.php'); //just incase redirect fails die('Action denied (400)!'); } //Add token to the header - used on ajax calls [DO NOT CHANGE THE NAME] $ost->addExtraHeader('<meta name="csrf_token" content="'.$ost->getCSRFToken().'" />'); /* Client specific defaults */ define('PAGE_LIMIT', DEFAULT_PAGE_LIMIT); require(INCLUDE_DIR.'class.nav.php'); $nav = new UserNav($thisclient, 'home'); $exempt = in_array(basename($_SERVER['SCRIPT_NAME']), array('logout.php', 'ajax.php', 'logs.php', 'upgrade.php')); if (!$exempt && $thisclient && ($acct = $thisclient->getAccount()) && $acct->isPasswdResetForced()) { $warn = __('Password change required to continue'); require('profile.php'); //profile.php must request this file as require_once to avoid problems. exit; } ?>
Close