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 /
ext /
pdo_firebird /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
CONFLICTS
9
B
-rw-rw-r--
2022-10-31 11:36
bug_47415.phpt
882
B
-rw-rw-r--
2022-10-31 11:36
bug_48877.phpt
921
B
-rw-rw-r--
2022-10-31 11:36
bug_53280.phpt
1.12
KB
-rw-rw-r--
2022-10-31 11:36
bug_62024.phpt
916
B
-rw-rw-r--
2022-10-31 11:36
bug_64037.phpt
1.01
KB
-rw-rw-r--
2022-10-31 11:36
bug_72583.phpt
543
B
-rw-rw-r--
2022-10-31 11:36
bug_72931.phpt
439
B
-rw-rw-r--
2022-10-31 11:36
bug_73087.phpt
643
B
-rw-rw-r--
2022-10-31 11:36
bug_74462.phpt
704
B
-rw-rw-r--
2022-10-31 11:36
bug_76448.data
749
B
-rw-rw-r--
2022-10-31 11:36
bug_76448.phpt
697
B
-rw-rw-r--
2022-10-31 11:36
bug_76449.data
464
B
-rw-rw-r--
2022-10-31 11:36
bug_76449.phpt
700
B
-rw-rw-r--
2022-10-31 11:36
bug_76450.data
464
B
-rw-rw-r--
2022-10-31 11:36
bug_76450.phpt
815
B
-rw-rw-r--
2022-10-31 11:36
bug_76452.data
856
B
-rw-rw-r--
2022-10-31 11:36
bug_76452.phpt
696
B
-rw-rw-r--
2022-10-31 11:36
bug_76488.phpt
612
B
-rw-rw-r--
2022-10-31 11:36
bug_77863.phpt
3.1
KB
-rw-rw-r--
2022-10-31 11:36
bug_aaa.phpt
528
B
-rw-rw-r--
2022-10-31 11:36
common.phpt
848
B
-rw-rw-r--
2022-10-31 11:36
connect.phpt
211
B
-rw-rw-r--
2022-10-31 11:36
ddl.phpt
965
B
-rw-rw-r--
2022-10-31 11:36
dialect_1.phpt
1.3
KB
-rw-rw-r--
2022-10-31 11:36
execute.phpt
1.25
KB
-rw-rw-r--
2022-10-31 11:36
payload_server.inc
2.5
KB
-rw-rw-r--
2022-10-31 11:36
payload_server.php
478
B
-rw-rw-r--
2022-10-31 11:36
payload_test.data
424
B
-rw-rw-r--
2022-10-31 11:36
payload_test.phpt
654
B
-rw-rw-r--
2022-10-31 11:36
rowCount.phpt
950
B
-rw-rw-r--
2022-10-31 11:36
skipif.inc
202
B
-rw-rw-r--
2022-10-31 11:36
testdb.inc
595
B
-rw-rw-r--
2022-10-31 11:36
Save
Rename
<?php function run_server(string $payloadFile): string { $cmd = [getenv("TEST_PHP_EXECUTABLE"), "-n", __DIR__ . "/payload_server.php", $payloadFile]; $descriptorspec = array( 0 => STDIN, 1 => STDOUT, 2 => ['pipe', 'w'], ); $proc = proc_open($cmd, $descriptorspec, $pipes); // First, wait for the payload server to declare itself ready. $bound = null; stream_set_blocking($pipes[2], false); for ($i = 0; $i < 60; $i++) { usleep(50000); // 50ms per try $status = proc_get_status($proc); if (empty($status['running'])) { echo "Server is not running\n"; proc_terminate($proc); exit(1); } while (($line = fgets($pipes[2])) !== false) { if (preg_match('/FB payload server listening on (.+)/', $line, $matches)) { $bound = $matches[1]; // Now that we've identified the listen address, close STDERR. // Otherwise the pipe may clog up with unread log messages. fclose($pipes[2]); break 2; } } } if ($bound === null) { echo "Server did not output startup message"; proc_terminate($proc); exit(1); } // Now wait for a connection to succeed. // note: even when server prints 'FB payload server listening on localhost:12345' // it might not be listening yet...need to wait until fsockopen() call returns $error = "Unable to connect to server\n"; for ($i=0; $i < 60; $i++) { usleep(50000); // 50ms per try $status = proc_get_status($proc); $fp = fsockopen("tcp://$bound"); // Failure, the server is no longer running if (!($status && $status['running'])) { $error = "Server is not running\n"; break; } // Success, Connected to servers if ($fp) { $error = ''; break; } } if ($fp) { fclose($fp); } if ($error) { echo $error; proc_terminate($proc); exit(1); } register_shutdown_function( function($proc) { proc_terminate($proc); /* Wait for server to shutdown */ for ($i = 0; $i < 60; $i++) { $status = proc_get_status($proc); if (!($status && $status['running'])) { break; } usleep(50000); } }, $proc ); return $bound; }