!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.3.27 

uname -a: Linux pdx1-shared-a4-04 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64 

uid=6659440(dh_z2jmpm) gid=2086089(pg10499364) groups=2086089(pg10499364)  

Safe-mode: OFF (not secure)

/usr/local/wp/bundle/rmccue/requests/src/   drwxr-xr-x
Free 686.61 GB of 879.6 GB (78.06%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     Port.php (1.47 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Port utilities for Requests
 *
 * @package Requests\Utilities
 * @since   2.0.0
 */

namespace WpOrg\Requests;

use WpOrg\Requests\Exception;
use WpOrg\Requests\Exception\InvalidArgument;

/**
 * Find the correct port depending on the Request type.
 *
 * @package Requests\Utilities
 * @since   2.0.0
 */
final class Port {

    /**
     * Port to use with Acap requests.
     *
     * @var int
     */
    const ACAP = 674;

    /**
     * Port to use with Dictionary requests.
     *
     * @var int
     */
    const DICT = 2628;

    /**
     * Port to use with HTTP requests.
     *
     * @var int
     */
    const HTTP = 80;

    /**
     * Port to use with HTTP over SSL requests.
     *
     * @var int
     */
    const HTTPS = 443;

    /**
     * Retrieve the port number to use.
     *
     * @param string $type Request type.
     *                     The following requests types are supported:
     *                     'acap', 'dict', 'http' and 'https'.
     *
     * @return int
     *
     * @throws \WpOrg\Requests\Exception\InvalidArgument When a non-string input has been passed.
     * @throws \WpOrg\Requests\Exception                 When a non-supported port is requested ('portnotsupported').
     */
    public static function get($type) {
        if (!is_string($type)) {
            throw InvalidArgument::create(1, '$type', 'string', gettype($type));
        }

        $type = strtoupper($type);
        if (!defined("self::{$type}")) {
            $message = sprintf('Invalid port type (%s) passed', $type);
            throw new Exception($message, 'portnotsupported');
        }

        return constant("self::{$type}");
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0105 ]--