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 /
standard /
tests /
filters /
Delete
Unzip
Name
Size
Permission
Date
Action
001.phpt
910
B
-rw-rw-r--
2022-10-31 11:36
basic.phpt
913
B
-rw-rw-r--
2022-10-31 11:36
bug22538.phpt
1.07
KB
-rw-rw-r--
2022-10-31 11:36
bug35916.phpt
978
B
-rw-rw-r--
2022-10-31 11:36
bug46164-1.phpt
557
B
-rw-rw-r--
2022-10-31 11:36
bug46164-2.phpt
583
B
-rw-rw-r--
2022-10-31 11:36
bug50363.phpt
461
B
-rw-rw-r--
2022-10-31 11:36
bug54350.phpt
634
B
-rw-rw-r--
2022-10-31 11:36
bug72941.phpt
899
B
-rw-rw-r--
2022-10-31 11:36
bug73586.phpt
1.41
KB
-rw-rw-r--
2022-10-31 11:36
bug74267.phpt
616
B
-rw-rw-r--
2022-10-31 11:36
bug77231.phpt
387
B
-rw-rw-r--
2022-10-31 11:36
bug79468.phpt
606
B
-rw-rw-r--
2022-10-31 11:36
bug81294.phpt
597
B
-rw-rw-r--
2022-10-31 11:36
bug81302.phpt
459
B
-rw-rw-r--
2022-10-31 11:36
bug81475.phpt
242
B
-rw-rw-r--
2022-10-31 11:36
chunked_001.phpt
945
B
-rw-rw-r--
2022-10-31 11:36
filter_errors.inc
782
B
-rw-rw-r--
2022-10-31 11:36
filter_errors_convert_base64_decode.phpt
605
B
-rw-rw-r--
2022-10-31 11:36
filter_errors_user.phpt
5.1
KB
-rw-rw-r--
2022-10-31 11:36
filter_errors_zlib_inflate.phpt
386
B
-rw-rw-r--
2022-10-31 11:36
object_init_failure.phpt
577
B
-rw-rw-r--
2022-10-31 11:36
object_init_failure_2.phpt
550
B
-rw-rw-r--
2022-10-31 11:36
php_user_filter_01.phpt
506
B
-rw-rw-r--
2022-10-31 11:36
php_user_filter_02.phpt
377
B
-rw-rw-r--
2022-10-31 11:36
php_user_filter_03.phpt
329
B
-rw-rw-r--
2022-10-31 11:36
read.phpt
1.86
KB
-rw-rw-r--
2022-10-31 11:36
stream_filter_remove_basic.phpt
1.23
KB
-rw-rw-r--
2022-10-31 11:36
stream_filter_remove_error.phpt
2.53
KB
-rw-rw-r--
2022-10-31 11:36
strip_tags_filter.phpt
940
B
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- Bug #73586 (php_user_filter::$stream is not set to the stream the filter is working on). --FILE-- <?php class append_filter extends php_user_filter { public $stream; function filter($in, $out, &$consumed, $closing) { while ($bucket = stream_bucket_make_writeable($in)) { $consumed += $bucket->datalen; stream_bucket_append($out, $bucket); } if ($closing) { $bucket = stream_bucket_new($this->stream, "FooBar\n"); stream_bucket_append($out, $bucket); } return PSFS_PASS_ON; } } stream_filter_register("append", "append_filter"); $fin = fopen(__FILE__, 'rb'); stream_filter_append($fin, 'append', STREAM_FILTER_READ); stream_copy_to_stream($fin, STDOUT); ?> --EXPECT-- <?php class append_filter extends php_user_filter { public $stream; function filter($in, $out, &$consumed, $closing) { while ($bucket = stream_bucket_make_writeable($in)) { $consumed += $bucket->datalen; stream_bucket_append($out, $bucket); } if ($closing) { $bucket = stream_bucket_new($this->stream, "FooBar\n"); stream_bucket_append($out, $bucket); } return PSFS_PASS_ON; } } stream_filter_register("append", "append_filter"); $fin = fopen(__FILE__, 'rb'); stream_filter_append($fin, 'append', STREAM_FILTER_READ); stream_copy_to_stream($fin, STDOUT); ?> FooBar