Linux s17.hosterpk.com 6.12.0-124.55.3.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:54:02 EDT 2026 x86_64
LiteSpeed
Server IP : 192.169.89.90 & Your IP : 216.73.217.173
Domains :
Cant Read [ /etc/named.conf ]
User : hamzalar
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home4 /
hamzalar /
.trash /
wp-includes /
Requests /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Auth
[ DIR ]
drwxr-xr-x
2023-08-29 14:14
Cookie
[ DIR ]
drwxr-xr-x
2023-08-29 14:14
Exception
[ DIR ]
drwxr-xr-x
2023-08-29 14:14
Proxy
[ DIR ]
drwxr-xr-x
2023-08-29 14:14
Response
[ DIR ]
drwxr-xr-x
2023-08-29 14:14
Transport
[ DIR ]
drwxr-xr-x
2023-08-29 14:14
Utility
[ DIR ]
drwxr-xr-x
2023-08-29 14:14
Auth.php
860
B
-rw-r--r--
2022-12-15 21:32
Autoload.php
9.12
KB
-rw-r--r--
2023-04-05 13:12
Capability.php
652
B
-rw-r--r--
2023-04-05 13:12
Cookie.php
15.03
KB
-rw-r--r--
2024-07-16 19:33
Exception.php
1.09
KB
-rw-r--r--
2022-12-15 21:32
HookManager.php
709
B
-rw-r--r--
2022-12-15 21:32
Hooks.php
2.96
KB
-rw-r--r--
2023-10-13 07:31
IdnaEncoder.php
12.14
KB
-rw-r--r--
2023-04-05 13:12
Ipv6.php
5.51
KB
-rw-r--r--
2022-12-15 21:32
Iri.php
28.93
KB
-rw-r--r--
2023-10-13 07:31
Port.php
1.47
KB
-rw-r--r--
2022-12-15 21:32
Proxy.php
867
B
-rw-r--r--
2022-12-15 21:32
Requests.php
33.2
KB
-rw-r--r--
2024-07-16 19:33
Response.php
4.18
KB
-rw-r--r--
2023-04-05 13:12
Session.php
8.89
KB
-rw-r--r--
2023-10-13 07:31
Ssl.php
5.3
KB
-rw-r--r--
2022-12-15 21:32
Transport.php
1.51
KB
-rw-r--r--
2022-12-15 21:32
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}"); } }