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 : 216.73.216.148
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
3 /
cboden /
ratchet /
src /
Ratchet /
Http /
Delete
Unzip
Name
Size
Permission
Date
Action
CloseResponseTrait.php
659
B
-rw-r--r--
2017-12-12 09:00
HttpRequestParser.php
1.78
KB
-rw-r--r--
2017-12-12 09:00
HttpServer.php
1.9
KB
-rw-r--r--
2017-12-12 09:00
HttpServerInterface.php
581
B
-rw-r--r--
2017-12-12 09:00
NoOpHttpServerController.php
480
B
-rw-r--r--
2017-12-12 09:00
OriginCheck.php
1.83
KB
-rw-r--r--
2017-12-12 09:00
Router.php
2.97
KB
-rw-r--r--
2017-12-12 09:00
Save
Rename
<?php namespace Ratchet\Http; use Ratchet\MessageComponentInterface; use Ratchet\ConnectionInterface; class HttpServer implements MessageComponentInterface { use CloseResponseTrait; /** * Buffers incoming HTTP requests returning a Guzzle Request when coalesced * @var HttpRequestParser * @note May not expose this in the future, may do through facade methods */ protected $_reqParser; /** * @var \Ratchet\Http\HttpServerInterface */ protected $_httpServer; /** * @param HttpServerInterface */ public function __construct(HttpServerInterface $component) { $this->_httpServer = $component; $this->_reqParser = new HttpRequestParser; } /** * {@inheritdoc} */ public function onOpen(ConnectionInterface $conn) { $conn->httpHeadersReceived = false; } /** * {@inheritdoc} */ public function onMessage(ConnectionInterface $from, $msg) { if (true !== $from->httpHeadersReceived) { try { if (null === ($request = $this->_reqParser->onMessage($from, $msg))) { return; } } catch (\OverflowException $oe) { return $this->close($from, 413); } $from->httpHeadersReceived = true; return $this->_httpServer->onOpen($from, $request); } $this->_httpServer->onMessage($from, $msg); } /** * {@inheritdoc} */ public function onClose(ConnectionInterface $conn) { if ($conn->httpHeadersReceived) { $this->_httpServer->onClose($conn); } } /** * {@inheritdoc} */ public function onError(ConnectionInterface $conn, \Exception $e) { if ($conn->httpHeadersReceived) { $this->_httpServer->onError($conn, $e); } else { $this->close($conn, 500); } } }