!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/CMS/Http/   drwxr-xr-x
Free 26.54 GB of 117.98 GB (22.5%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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


if (!function_exists('totalSimilarProducts')) {
    
/**
     * Check how many similar items are in the same section
     * @param object $data
     * @param string $field Basic field name
     * @return int|boolean
     */
    
function totalSimilarProducts($data$field)
    {
        if (!isset(
$data)) {
            return 
false;
        }
        
$count 1;
        while (
true) {
            if (! 
$data->{$field $count}) {
                break;
            }
            
$count++;
        }
        return 
$count 1;
    }
}


if (!
function_exists('randomString')) {
    
/**
     * Generate random string
     * @param int $length
     * @return string
     */
    
function randomString($length 5)
    {
        return 
substr(str_shuffle('examghfgh786868plestringletsgo'), 0$length);
    }
}


if (!
function_exists('slugMe')) {
    
/**
     * Slugify string
     * @param string|array $string
     * $return $string
     */
    
function slugMe($string)
    {
        if (
is_array($string)) {
            
$slug '';
            foreach (
$string as $str) {
                
$slug .= slugMe($str) . '-';
            }
            return 
$slug;
        }
        return 
str_replace(" ""-"$string);
    }
}


if (!
function_exists('getBlockThumbnail')) {
    
/**
     * Get block thumbnail
     * @param string $file
     * @return string
     */
    
function getBlockThumbnail($file '')
    {
        if (
strlen($file) < 1) {
            return 
join('/', [url('/'), defaultImage('items')]);
        }
        return 
asset('Modules/CMS/Resources/assets/img/blocks/' $file);
    }
}


if (!
function_exists('formatString')) {
    
/**
     * Format string to a specific length
     * @param string $string
     * @param int $length
     * @return string
     */
    
function formatString($string$length 75)
    {
        if (
strlen($string) <= $length) {
            return 
$string;
        }
        return 
substr($string0$length 3) . '...';
    }
}

:: 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.0041 ]--