Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
php-7.4.33 /
sapi /
cli /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
001.phpt
299
B
-rw-rw-r--
2022-10-31 11:36
002-unix.phpt
309
B
-rw-rw-r--
2022-10-31 11:36
002.phpt
239
B
-rw-rw-r--
2022-10-31 11:36
003-2.phpt
501
B
-rw-rw-r--
2022-10-31 11:36
003.phpt
848
B
-rw-rw-r--
2022-10-31 11:36
004.phpt
521
B
-rw-rw-r--
2022-10-31 11:36
005.phpt
2.11
KB
-rw-rw-r--
2022-10-31 11:36
006.phpt
4.46
KB
-rw-rw-r--
2022-10-31 11:36
007.phpt
920
B
-rw-rw-r--
2022-10-31 11:36
008.phpt
667
B
-rw-rw-r--
2022-10-31 11:36
009.phpt
411
B
-rw-rw-r--
2022-10-31 11:36
010-2.phpt
466
B
-rw-rw-r--
2022-10-31 11:36
010.phpt
656
B
-rw-rw-r--
2022-10-31 11:36
011.phpt
751
B
-rw-rw-r--
2022-10-31 11:36
012-2.phpt
1.46
KB
-rw-rw-r--
2022-10-31 11:36
012.phpt
862
B
-rw-rw-r--
2022-10-31 11:36
013.phpt
747
B
-rw-rw-r--
2022-10-31 11:36
014.phpt
2.02
KB
-rw-rw-r--
2022-10-31 11:36
015.phpt
664
B
-rw-rw-r--
2022-10-31 11:36
016.phpt
1.65
KB
-rw-rw-r--
2022-10-31 11:36
017.phpt
1.33
KB
-rw-rw-r--
2022-10-31 11:36
018.phpt
288
B
-rw-rw-r--
2022-10-31 11:36
019.phpt
790
B
-rw-rw-r--
2022-10-31 11:36
020.phpt
454
B
-rw-rw-r--
2022-10-31 11:36
021.phpt
696
B
-rw-rw-r--
2022-10-31 11:36
022.inc
189
B
-rw-rw-r--
2022-10-31 11:36
022.phpt
1.14
KB
-rw-rw-r--
2022-10-31 11:36
023.phpt
994
B
-rw-rw-r--
2022-10-31 11:36
CONFLICTS
7
B
-rw-rw-r--
2022-10-31 11:36
argv_mb.phpt
715
B
-rw-rw-r--
2022-10-31 11:36
argv_mb_bug77111.phpt
1.05
KB
-rw-rw-r--
2022-10-31 11:36
bug43177.phpt
1.58
KB
-rw-rw-r--
2022-10-31 11:36
bug44564.phpt
521
B
-rw-rw-r--
2022-10-31 11:36
bug61546.phpt
1.11
KB
-rw-rw-r--
2022-10-31 11:36
bug61679.phpt
665
B
-rw-rw-r--
2022-10-31 11:36
bug61977.phpt
1.5
KB
-rw-rw-r--
2022-10-31 11:36
bug64529.phpt
1.14
KB
-rw-rw-r--
2022-10-31 11:36
bug64544.phpt
304
B
-rw-rw-r--
2022-10-31 11:36
bug64878.phpt
428
B
-rw-rw-r--
2022-10-31 11:36
bug65066_100.phpt
584
B
-rw-rw-r--
2022-10-31 11:36
bug65066_422.phpt
595
B
-rw-rw-r--
2022-10-31 11:36
bug65066_511.phpt
607
B
-rw-rw-r--
2022-10-31 11:36
bug65633.phpt
638
B
-rw-rw-r--
2022-10-31 11:36
bug66606_1.phpt
393
B
-rw-rw-r--
2022-10-31 11:36
bug66606_2.phpt
746
B
-rw-rw-r--
2022-10-31 11:36
bug66830.phpt
541
B
-rw-rw-r--
2022-10-31 11:36
bug67429_1.phpt
558
B
-rw-rw-r--
2022-10-31 11:36
bug67429_2.phpt
556
B
-rw-rw-r--
2022-10-31 11:36
bug67741.phpt
285
B
-rw-rw-r--
2022-10-31 11:36
bug67741_stub.inc
50
B
-rw-rw-r--
2022-10-31 11:36
bug68291.phpt
416
B
-rw-rw-r--
2022-10-31 11:36
bug68745.phpt
548
B
-rw-rw-r--
2022-10-31 11:36
bug69655.phpt
925
B
-rw-rw-r--
2022-10-31 11:36
bug69953.phpt
420
B
-rw-rw-r--
2022-10-31 11:36
bug70006.phpt
217
B
-rw-rw-r--
2022-10-31 11:36
bug70264.phpt
667
B
-rw-rw-r--
2022-10-31 11:36
bug70470.phpt
779
B
-rw-rw-r--
2022-10-31 11:36
bug71005.phpt
602
B
-rw-rw-r--
2022-10-31 11:36
bug71624.phpt
683
B
-rw-rw-r--
2022-10-31 11:36
bug73630.phpt
749
B
-rw-rw-r--
2022-10-31 11:36
bug73630a.phpt
643
B
-rw-rw-r--
2022-10-31 11:36
bug74600.phpt
854
B
-rw-rw-r--
2022-10-31 11:36
bug78323.phpt
1.51
KB
-rw-rw-r--
2022-10-31 11:36
bug81305.phpt
535
B
-rw-rw-r--
2022-10-31 11:36
cli_get_process_title_basic.phpt
506
B
-rw-rw-r--
2022-10-31 11:36
cli_process_title_unix.phpt
1.54
KB
-rw-rw-r--
2022-10-31 11:36
cli_process_title_windows.phpt
2.63
KB
-rw-rw-r--
2022-10-31 11:36
cli_set_process_title_basic.phpt
511
B
-rw-rw-r--
2022-10-31 11:36
emptyheader.phpt
555
B
-rw-rw-r--
2022-10-31 11:36
php_cli_server.inc
2.8
KB
-rw-rw-r--
2022-10-31 11:36
php_cli_server_001.phpt
265
B
-rw-rw-r--
2022-10-31 11:36
php_cli_server_002.phpt
476
B
-rw-rw-r--
2022-10-31 11:36
php_cli_server_003.phpt
431
B
-rw-rw-r--
2022-10-31 11:36
php_cli_server_004.phpt
790
B
-rw-rw-r--
2022-10-31 11:36
php_cli_server_005.phpt
1.07
KB
-rw-rw-r--
2022-10-31 11:36
php_cli_server_006.phpt
621
B
-rw-rw-r--
2022-10-31 11:36
php_cli_server_007.phpt
724
B
-rw-rw-r--
2022-10-31 11:36
php_cli_server_008.phpt
836
B
-rw-rw-r--
2022-10-31 11:36
php_cli_server_009.phpt
1.19
KB
-rw-rw-r--
2022-10-31 11:36
php_cli_server_010.phpt
1.09
KB
-rw-rw-r--
2022-10-31 11:36
php_cli_server_012.phpt
866
B
-rw-rw-r--
2022-10-31 11:36
php_cli_server_013.phpt
2.04
KB
-rw-rw-r--
2022-10-31 11:36
php_cli_server_014.phpt
1.4
KB
-rw-rw-r--
2022-10-31 11:36
php_cli_server_015.phpt
992
B
-rw-rw-r--
2022-10-31 11:36
php_cli_server_016.phpt
757
B
-rw-rw-r--
2022-10-31 11:36
php_cli_server_017.phpt
619
B
-rw-rw-r--
2022-10-31 11:36
php_cli_server_018.phpt
571
B
-rw-rw-r--
2022-10-31 11:36
php_cli_server_019.phpt
1013
B
-rw-rw-r--
2022-10-31 11:36
php_cli_server_020.phpt
517
B
-rw-rw-r--
2022-10-31 11:36
php_cli_server_021.phpt
1.05
KB
-rw-rw-r--
2022-10-31 11:36
sapi_windows_set_ctrl_handler.phpt
1.97
KB
-rw-rw-r--
2022-10-31 11:36
skipif.inc
68
B
-rw-rw-r--
2022-10-31 11:36
std_streams.phpt
540
B
-rw-rw-r--
2022-10-31 11:36
upload_2G.phpt
2.05
KB
-rw-rw-r--
2022-10-31 11:36
Save
Rename
<?php define("PHP_CLI_SERVER_HOSTNAME", "localhost"); define("PHP_CLI_SERVER_PORT", 8964); define("PHP_CLI_SERVER_ADDRESS", PHP_CLI_SERVER_HOSTNAME.":".PHP_CLI_SERVER_PORT); function php_cli_server_start( ?string $code = 'echo "Hello world";', ?string $router = 'index.php', array $cmd_args = [] ) { $php_executable = getenv('TEST_PHP_EXECUTABLE'); $doc_root = __DIR__; $error = null; if ($code) { file_put_contents($doc_root . '/' . ($router ?: 'index.php'), '<?php ' . $code . ' ?>'); } $cmd = [$php_executable, '-t', $doc_root, '-n', ...$cmd_args, '-S', PHP_CLI_SERVER_ADDRESS]; if (!is_null($router)) { $cmd[] = $router; } $descriptorspec = array( 0 => STDIN, 1 => STDOUT, 2 => array("null"), ); $handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root, null, array("suppress_errors" => true)); // note: here we check the process is running for ($i=0; $i < 120; $i++) { $status = proc_get_status($handle); if (!$status || !$status['running']) { if ($status && ($status['running'] == false && $status['exitcode'] != 0)) { $error = "Server could not be started\n"; break; } usleep(50000); // 50ms per try continue; } if ($status['signaled']) { $error = "Server was terminated with {$status['termsig']}\n"; break; } if ($status['stopped']) { $error = "Server was stopped with {$status['stopsig']}\n"; break; } // note: here we check the server is listening, even when the server prints // listening on %s:%d // it may not be ready to accept connections $start = time(); for ($try = 0; $try < 120; $try++) { $error = @fsockopen( PHP_CLI_SERVER_HOSTNAME, PHP_CLI_SERVER_PORT) ? null : sprintf( "Server is not accepting connections after %d seconds\n", time() - $start); if (!$error) { break 2; } usleep(50000); } break; } php_cli_server_start_error: if ($error) { echo $error; proc_terminate($handle); exit(1); } register_shutdown_function( function($handle) use($router) { proc_terminate($handle); @unlink(__DIR__ . "/{$router}"); }, $handle ); return $handle; } function php_cli_server_connect() { $timeout = 1.0; $fp = fsockopen(PHP_CLI_SERVER_HOSTNAME, PHP_CLI_SERVER_PORT, $errno, $errstr, $timeout); if (!$fp) { die("connect failed"); } return $fp; } ?>