!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.18.0. PHP/7.4.29 

uname -a: Linux ip-172-31-23-220 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/sendgrid/lib/   drwxrwxr-x
Free 39.78 GB of 48.28 GB (82.4%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

use SendGrid\Client;
use 
SendGrid\Mail\Mail;
use 
SendGrid\Response;

/**
 * This class is the base interface to the Twilio SendGrid Web API.
 *
 * @package SendGrid\Mail
 */
abstract class BaseSendGridClientInterface
{
    
/** @var string SendGrid API library version */
    
const VERSION '7.11.0';

    
/** @var Client SendGrid HTTP Client library */
    
public $client;

    
/** @var string SendGrid version */
    
public $version self::VERSION;

    
/**
     * Set up the HTTP Client.
     *
     * @param string $auth Authorization header value.
     * @param string $host Default host/base URL for the client.
     * @param array $options An array of options, currently only "host", "curl",
     *                       "version", "verify_ssl", and "impersonateSubuser",
     *                       are implemented.
     */
    
public function __construct($auth$host$options = array())
    {
        
$headers = [
            
$auth,
            
'User-Agent: sendgrid/' $this->version ';php',
            
'Accept: application/json',
        ];

        
$host = isset($options['host']) ? $options['host'] : $host;

        
$version = isset($options['version']) ? $options['version'] : '/v3';

        if (!empty(
$options['impersonateSubuser'])) {
            
$headers[] = 'On-Behalf-Of: ' $options['impersonateSubuser'];
        }

        
$this->client = new Client($host$headers$version);

        
$this->client->setCurlOptions(isset($options['curl']) ? $options['curl'] : []);
        
$this->client->setVerifySSLCerts(isset($options['verify_ssl']) ? $options['verify_ssl'] : true);
    }

    
/**
     * Make an API request.
     *
     * @param Mail $email A Mail object, containing the request object
     *
     * @return Response
     */
    
public function send(Mail $email)
    {
        return 
$this->client->mail()->send()->post($email);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0056 ]--