Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.15.10.50
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp_probe /
vendor /
react /
socket /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Connection.php
6.09
KB
-rw-r--r--
2020-08-28 12:49
ConnectionInterface.php
4.32
KB
-rw-r--r--
2020-08-28 12:49
Connector.php
4.43
KB
-rw-r--r--
2020-08-28 12:49
ConnectorInterface.php
2.02
KB
-rw-r--r--
2020-08-28 12:49
DnsConnector.php
4.38
KB
-rw-r--r--
2020-08-28 12:49
FixedUriConnector.php
1.05
KB
-rw-r--r--
2020-08-28 12:49
HappyEyeBallsConnectionBuilder.php
12.09
KB
-rw-r--r--
2020-08-28 12:49
HappyEyeBallsConnector.php
1.38
KB
-rw-r--r--
2020-08-28 12:49
LimitingServer.php
6.47
KB
-rw-r--r--
2020-08-28 12:49
SecureConnector.php
2.99
KB
-rw-r--r--
2020-08-28 12:49
SecureServer.php
6.92
KB
-rw-r--r--
2020-08-28 12:49
Server.php
1.83
KB
-rw-r--r--
2020-08-28 12:49
ServerInterface.php
5.15
KB
-rw-r--r--
2020-08-28 12:49
StreamEncryption.php
4.77
KB
-rw-r--r--
2020-08-28 12:49
TcpConnector.php
4.35
KB
-rw-r--r--
2020-08-28 12:49
TcpServer.php
7.66
KB
-rw-r--r--
2020-08-28 12:49
TimeoutConnector.php
1.45
KB
-rw-r--r--
2020-08-28 12:49
UnixConnector.php
1.12
KB
-rw-r--r--
2020-08-28 12:49
UnixServer.php
4.16
KB
-rw-r--r--
2020-08-28 12:49
Save
Rename
<?php namespace React\Socket; use React\Dns\Config\Config as DnsConfig; use React\Dns\Resolver\Factory as DnsFactory; use React\Dns\Resolver\ResolverInterface; use React\EventLoop\LoopInterface; /** * The `Connector` class is the main class in this package that implements the * `ConnectorInterface` and allows you to create streaming connections. * * You can use this connector to create any kind of streaming connections, such * as plaintext TCP/IP, secure TLS or local Unix connection streams. * * Under the hood, the `Connector` is implemented as a *higher-level facade* * or the lower-level connectors implemented in this package. This means it * also shares all of their features and implementation details. * If you want to typehint in your higher-level protocol implementation, you SHOULD * use the generic [`ConnectorInterface`](#connectorinterface) instead. * * @see ConnectorInterface for the base interface */ final class Connector implements ConnectorInterface { private $connectors = array(); public function __construct(LoopInterface $loop, array $options = array()) { // apply default options if not explicitly given $options += array( 'tcp' => true, 'tls' => true, 'unix' => true, 'dns' => true, 'timeout' => true, 'happy_eyeballs' => true, ); if ($options['timeout'] === true) { $options['timeout'] = (float)\ini_get("default_socket_timeout"); } if ($options['tcp'] instanceof ConnectorInterface) { $tcp = $options['tcp']; } else { $tcp = new TcpConnector( $loop, \is_array($options['tcp']) ? $options['tcp'] : array() ); } if ($options['dns'] !== false) { if ($options['dns'] instanceof ResolverInterface) { $resolver = $options['dns']; } else { if ($options['dns'] !== true) { $server = $options['dns']; } else { // try to load nameservers from system config or default to Google's public DNS $config = DnsConfig::loadSystemConfigBlocking(); $server = $config->nameservers ? \reset($config->nameservers) : '8.8.8.8'; } $factory = new DnsFactory(); $resolver = $factory->createCached( $server, $loop ); } if ($options['happy_eyeballs'] === true) { $tcp = new HappyEyeBallsConnector($loop, $tcp, $resolver); } else { $tcp = new DnsConnector($tcp, $resolver); } } if ($options['tcp'] !== false) { $options['tcp'] = $tcp; if ($options['timeout'] !== false) { $options['tcp'] = new TimeoutConnector( $options['tcp'], $options['timeout'], $loop ); } $this->connectors['tcp'] = $options['tcp']; } if ($options['tls'] !== false) { if (!$options['tls'] instanceof ConnectorInterface) { $options['tls'] = new SecureConnector( $tcp, $loop, \is_array($options['tls']) ? $options['tls'] : array() ); } if ($options['timeout'] !== false) { $options['tls'] = new TimeoutConnector( $options['tls'], $options['timeout'], $loop ); } $this->connectors['tls'] = $options['tls']; } if ($options['unix'] !== false) { if (!$options['unix'] instanceof ConnectorInterface) { $options['unix'] = new UnixConnector($loop); } $this->connectors['unix'] = $options['unix']; } } public function connect($uri) { $scheme = 'tcp'; if (\strpos($uri, '://') !== false) { $scheme = (string)\substr($uri, 0, \strpos($uri, '://')); } if (!isset($this->connectors[$scheme])) { return \React\Promise\reject(new \RuntimeException( 'No connector available for URI scheme "' . $scheme . '"' )); } return $this->connectors[$scheme]->connect($uri); } }