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-- stream filter - reading --FILE-- <?php echo "-TEST\n"; class strtoupper_filter extends php_user_filter { function filter($in, $out, &$consumed, $closing) { $output = 0; while ($bucket = stream_bucket_make_writeable($in)) { $bucket->data = strtoupper($bucket->data); $consumed += $bucket->datalen; stream_bucket_append($out, $bucket); $output = 1; } if ($closing) { $bucket = stream_bucket_new($this->stream, "\n===close===\n"); stream_bucket_append($out, $bucket); $output = 1; } return $output ? PSFS_PASS_ON : PSFS_FEED_ME; } } stream_filter_register("strtoupper", "strtoupper_filter") or die("Failed to register filter"); if ($f = fopen(__FILE__, "rb")) { stream_filter_append($f, "strtoupper"); while (!feof($f)) { echo fread($f, 8192); } fclose($f); } echo "Done\n"; ?> --EXPECTF-- %sTEST <?PHP ECHO "-TEST\N"; CLASS STRTOUPPER_FILTER EXTENDS PHP_USER_FILTER { FUNCTION FILTER($IN, $OUT, &$CONSUMED, $CLOSING) { $OUTPUT = 0; WHILE ($BUCKET = STREAM_BUCKET_MAKE_WRITEABLE($IN)) { $BUCKET->DATA = STRTOUPPER($BUCKET->DATA); $CONSUMED += $BUCKET->DATALEN; STREAM_BUCKET_APPEND($OUT, $BUCKET); $OUTPUT = 1; } IF ($CLOSING) { $BUCKET = STREAM_BUCKET_NEW($THIS->STREAM, "\N===CLOSE===\N"); STREAM_BUCKET_APPEND($OUT, $BUCKET); $OUTPUT = 1; } RETURN $OUTPUT ? PSFS_PASS_ON : PSFS_FEED_ME; } } STREAM_FILTER_REGISTER("STRTOUPPER", "STRTOUPPER_FILTER") OR DIE("FAILED TO REGISTER FILTER"); IF ($F = FOPEN(__FILE__, "RB")) { STREAM_FILTER_APPEND($F, "STRTOUPPER"); WHILE (!FEOF($F)) { ECHO FREAD($F, 8192); } FCLOSE($F); } ECHO "DONE\N"; ?> ===close=== Done