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 : 18.221.21.111
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp /
vendor /
react /
stream /
examples /
Delete
Unzip
Name
Size
Permission
Date
Action
01-http.php
1.1
KB
-rw-r--r--
2018-07-11 09:00
02-https.php
1.1
KB
-rw-r--r--
2018-07-11 09:00
11-cat.php
793
B
-rw-r--r--
2018-07-11 09:00
91-benchmark-throughput.php
2.34
KB
-rw-r--r--
2018-07-11 09:00
Save
Rename
<?php // Simple plaintext HTTP client example (for illustration purposes only). // This shows how a plaintext TCP/IP connection is established to then send an // application level protocol message (HTTP). // Real applications should use react/http-client instead! // // This simple example only accepts an optional host parameter to send the // request to. // // $ php examples/01-http.php // $ php examples/01-http.php reactphp.org use React\EventLoop\Factory; use React\Stream\DuplexResourceStream; require __DIR__ . '/../vendor/autoload.php'; $host = isset($argv[1]) ? $argv[1] : 'www.google.com'; // connect to tcp://www.google.com:80 (blocking call!) // for illustration purposes only, should use react/http-client or react/socket instead! $resource = stream_socket_client('tcp://' . $host . ':80'); if (!$resource) { exit(1); } $loop = Factory::create(); $stream = new DuplexResourceStream($resource, $loop); $stream->on('data', function ($chunk) { echo $chunk; }); $stream->on('close', function () { echo '[CLOSED]' . PHP_EOL; }); $stream->write("GET / HTTP/1.0\r\nHost: $host\r\n\r\n"); $loop->run();