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 /
event-loop /
examples /
Delete
Unzip
Name
Size
Permission
Date
Action
01-timers.php
239
B
-rw-r--r--
2018-07-11 09:00
02-periodic.php
315
B
-rw-r--r--
2018-07-11 09:00
03-ticks.php
222
B
-rw-r--r--
2018-07-11 09:00
04-signals.php
504
B
-rw-r--r--
2018-07-11 09:00
11-consume-stdin.php
787
B
-rw-r--r--
2018-07-11 09:00
12-generate-yes.php
1.3
KB
-rw-r--r--
2018-07-11 09:00
13-http-client-blocking.php
822
B
-rw-r--r--
2018-07-11 09:00
14-http-client-async.php
1.76
KB
-rw-r--r--
2018-07-11 09:00
21-http-server.php
1.04
KB
-rw-r--r--
2018-07-11 09:00
91-benchmark-ticks.php
250
B
-rw-r--r--
2018-07-11 09:00
92-benchmark-timers.php
251
B
-rw-r--r--
2018-07-11 09:00
93-benchmark-ticks-delay.php
396
B
-rw-r--r--
2018-07-11 09:00
94-benchmark-timers-delay.php
396
B
-rw-r--r--
2018-07-11 09:00
95-benchmark-memory.php
1.85
KB
-rw-r--r--
2018-07-11 09:00
Save
Rename
<?php require __DIR__ . '/../vendor/autoload.php'; // data can be given as first argument or defaults to "y" $data = (isset($argv[1]) ? $argv[1] : 'y') . "\n"; // repeat data X times in order to fill around 200 KB $data = str_repeat($data, round(200000 / strlen($data))); $loop = React\EventLoop\Factory::create(); if (!defined('STDOUT') || stream_set_blocking(STDOUT, false) !== true) { fwrite(STDERR, 'ERROR: Unable to set STDOUT non-blocking (not CLI or Windows?)' . PHP_EOL); exit(1); } // write data to STDOUT whenever its write buffer accepts data // for illustrations purpose only, should use react/stream instead $loop->addWriteStream(STDOUT, function ($stdout) use ($loop, &$data) { // try to write data $r = fwrite($stdout, $data); // nothing could be written despite being writable => closed if ($r === 0) { $loop->removeWriteStream($stdout); fclose($stdout); stream_set_blocking($stdout, true); fwrite(STDERR, 'Stopped because STDOUT closed' . PHP_EOL); return; } // implement a very simple ring buffer, unless everything has been written at once: // everything written in this iteration will be appended for next iteration if (isset($data[$r])) { $data = substr($data, $r) . substr($data, 0, $r); } }); $loop->run();