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\MessageInterface; use Ratchet\ConnectionInterface; use GuzzleHttp\Psr7 as gPsr; /** * This class receives streaming data from a client request * and parses HTTP headers, returning a PSR-7 Request object * once it's been buffered */ class HttpRequestParser implements MessageInterface { const EOM = "\r\n\r\n"; /** * The maximum number of bytes the request can be * This is a security measure to prevent attacks * @var int */ public $maxSize = 4096; /** * @param \Ratchet\ConnectionInterface $context * @param string $data Data stream to buffer * @return \Psr\Http\Message\RequestInterface * @throws \OverflowException If the message buffer has become too large */ public function onMessage(ConnectionInterface $context, $data) { if (!isset($context->httpBuffer)) { $context->httpBuffer = ''; } $context->httpBuffer .= $data; if (strlen($context->httpBuffer) > (int)$this->maxSize) { throw new \OverflowException("Maximum buffer size of {$this->maxSize} exceeded parsing HTTP header"); } if ($this->isEom($context->httpBuffer)) { $request = $this->parse($context->httpBuffer); unset($context->httpBuffer); return $request; } } /** * Determine if the message has been buffered as per the HTTP specification * @param string $message * @return boolean */ public function isEom($message) { return (boolean)strpos($message, static::EOM); } /** * @param string $headers * @return \Psr\Http\Message\RequestInterface */ public function parse($headers) { return gPsr\parse_request($headers); } }