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


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

require_once(__DIR__ '/TelnyxMock.php');

define("MOCK_MINIMUM_VERSION""0.1.0");

if (
\Telnyx\TelnyxMock::start()) {
    
register_shutdown_function('\Telnyx\TelnyxMock::stop');

    
define("MOCK_HOST""localhost");
    
define("MOCK_PORT"\Telnyx\TelnyxMock::getPort());
} else {
    
define("MOCK_HOST"getenv("TELNYX_MOCK_HOST") ?: "mock");
    
define("MOCK_PORT"getenv("TELNYX_MOCK_PORT") ?: 12111);
}

define("MOCK_URL""http://" MOCK_HOST ":" MOCK_PORT);

// Send a request to telnyx-mock
$ch curl_init(MOCK_URL);
curl_setopt($chCURLOPT_HEADER1);
curl_setopt($chCURLOPT_NOBODY1);
curl_setopt($chCURLOPT_RETURNTRANSFER1);
$resp curl_exec($ch);

if (
curl_errno($ch)) {
    echo 
"Couldn't reach telnyx-mock at `" MOCK_HOST ":" MOCK_PORT "`. Is " .
         
"it running? Please see README for setup instructions.\n";
    exit(
1);
}

// Retrieve the Telnyx-Mock-Version header
$version null;
$headers explode("\n"$resp);
foreach (
$headers as $header) {
    
$pair explode(":"$header2);
    if (
$pair[0] == "Telnyx-Mock-Version") {
        
$version trim($pair[1]);
    }
}

if (
$version === null) {
    echo 
"Could not retrieve Telnyx-Mock-Version header. Are you sure " .
         
"that the server at `" MOCK_HOST ":" MOCK_PORT "` is a telnyx-mock " .
         
"instance?";
    exit(
1);
}

if (
$version != "master" && version_compare($versionMOCK_MINIMUM_VERSION) == -1) {
    echo 
"Your version of telnyx-mock (" $version ") is too old. The minimum " .
         
"version to run this test suite is " MOCK_MINIMUM_VERSION ". " .
         
"Please see its repository for upgrade instructions.\n";
    exit(
1);
}

require_once 
__DIR__ '/TestCase.php';

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