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.119
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 /
hash /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
adler32.phpt
535
B
-rw-rw-r--
2022-10-31 11:36
bug52240.phpt
435
B
-rw-rw-r--
2022-10-31 11:36
bug64745.phpt
396
B
-rw-rw-r--
2022-10-31 11:36
bug70312.phpt
894
B
-rw-rw-r--
2022-10-31 11:36
bug73127.phpt
812
B
-rw-rw-r--
2022-10-31 11:36
crc32.phpt
4.73
KB
-rw-rw-r--
2022-10-31 11:36
fnv132.phpt
8.14
KB
-rw-rw-r--
2022-10-31 11:36
fnv164.phpt
9.44
KB
-rw-rw-r--
2022-10-31 11:36
fnv1a32.phpt
17.1
KB
-rw-rw-r--
2022-10-31 11:36
fnv1a64.phpt
19.46
KB
-rw-rw-r--
2022-10-31 11:36
gost.phpt
1.47
KB
-rw-rw-r--
2022-10-31 11:36
hash-clone.phpt
15.82
KB
-rw-rw-r--
2022-10-31 11:36
hash_algos.phpt
2.1
KB
-rw-rw-r--
2022-10-31 11:36
hash_copy_001.phpt
15.83
KB
-rw-rw-r--
2022-10-31 11:36
hash_equals.phpt
1.21
KB
-rw-rw-r--
2022-10-31 11:36
hash_error.phpt
1.26
KB
-rw-rw-r--
2022-10-31 11:36
hash_file_basic.phpt
1.28
KB
-rw-rw-r--
2022-10-31 11:36
hash_file_basic1.phpt
3.31
KB
-rw-rw-r--
2022-10-31 11:36
hash_file_error.phpt
1.84
KB
-rw-rw-r--
2022-10-31 11:36
hash_hkdf_basic.phpt
5.07
KB
-rw-rw-r--
2022-10-31 11:36
hash_hkdf_edges.phpt
1
KB
-rw-rw-r--
2022-10-31 11:36
hash_hkdf_error.phpt
3.15
KB
-rw-rw-r--
2022-10-31 11:36
hash_hkdf_rfc5869.phpt
4.69
KB
-rw-rw-r--
2022-10-31 11:36
hash_hmac_algos.phpt
1.05
KB
-rw-rw-r--
2022-10-31 11:36
hash_hmac_basic.phpt
2.93
KB
-rw-rw-r--
2022-10-31 11:36
hash_hmac_error.phpt
1.82
KB
-rw-rw-r--
2022-10-31 11:36
hash_hmac_file_basic.phpt
3.74
KB
-rw-rw-r--
2022-10-31 11:36
hash_hmac_file_error.phpt
2.15
KB
-rw-rw-r--
2022-10-31 11:36
hash_init_error.phpt
1.33
KB
-rw-rw-r--
2022-10-31 11:36
hash_pbkdf2_basic.phpt
2.04
KB
-rw-rw-r--
2022-10-31 11:36
hash_pbkdf2_error.phpt
2.72
KB
-rw-rw-r--
2022-10-31 11:36
hash_update_file.phpt
515
B
-rw-rw-r--
2022-10-31 11:36
hash_update_stream.phpt
350
B
-rw-rw-r--
2022-10-31 11:36
haval.phpt
3.89
KB
-rw-rw-r--
2022-10-31 11:36
hmac-md5.phpt
523
B
-rw-rw-r--
2022-10-31 11:36
joaat.phpt
510
B
-rw-rw-r--
2022-10-31 11:36
md2.phpt
675
B
-rw-rw-r--
2022-10-31 11:36
md4.phpt
698
B
-rw-rw-r--
2022-10-31 11:36
md5.phpt
386
B
-rw-rw-r--
2022-10-31 11:36
mhash_001.phpt
1.39
KB
-rw-rw-r--
2022-10-31 11:36
mhash_002.phpt
1.15
KB
-rw-rw-r--
2022-10-31 11:36
mhash_003.phpt
3.17
KB
-rw-rw-r--
2022-10-31 11:36
mhash_004.phpt
346
B
-rw-rw-r--
2022-10-31 11:36
new-context.phpt
253
B
-rw-rw-r--
2022-10-31 11:36
reuse.phpt
270
B
-rw-rw-r--
2022-10-31 11:36
ripemd128.phpt
937
B
-rw-rw-r--
2022-10-31 11:36
ripemd160.phpt
1009
B
-rw-rw-r--
2022-10-31 11:36
ripemd256.phpt
1.2
KB
-rw-rw-r--
2022-10-31 11:36
ripemd320.phpt
1.34
KB
-rw-rw-r--
2022-10-31 11:36
serialize-context.phpt
246
B
-rw-rw-r--
2022-10-31 11:36
sha1.phpt
648
B
-rw-rw-r--
2022-10-31 11:36
sha224.phpt
758
B
-rw-rw-r--
2022-10-31 11:36
sha256.phpt
806
B
-rw-rw-r--
2022-10-31 11:36
sha3.phpt
3.67
KB
-rw-rw-r--
2022-10-31 11:36
sha384.phpt
1.03
KB
-rw-rw-r--
2022-10-31 11:36
sha512-224.phpt
456
B
-rw-rw-r--
2022-10-31 11:36
sha512-256.phpt
480
B
-rw-rw-r--
2022-10-31 11:36
sha512.phpt
1.22
KB
-rw-rw-r--
2022-10-31 11:36
snefru.phpt
773
B
-rw-rw-r--
2022-10-31 11:36
tiger.phpt
533
B
-rw-rw-r--
2022-10-31 11:36
whirlpool.phpt
642
B
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- Hash: hash_hmac_file() function : basic functionality --FILE-- <?php /* Prototype : string hash_hmac_file ( string algo, string filename, string key [, bool raw_output] ) * Description: Generate a keyed hash value using the HMAC method and the contents of a given file * Source code: ext/hash/hash.c * Alias to functions: */ echo "*** Testing hash() : error conditions ***\n"; $file = __DIR__ . "hash_file.txt"; $key = 'secret'; echo "\n-- Testing hash_hmac_file() function with less than expected no. of arguments --\n"; var_dump(hash_hmac_file()); var_dump(hash_hmac_file('crc32')); var_dump(hash_hmac_file('crc32', $file)); echo "\n-- Testing hash_hmac_file() function with more than expected no. of arguments --\n"; $extra_arg = 10; hash_hmac_file('crc32', $file, $key, TRUE, $extra_arg); echo "\n-- Testing hash_hmac_file() function with invalid hash algorithm --\n"; hash_hmac_file('foo', $file, $key, TRUE); echo "\n-- Testing hash_hmac_file() function with non-cryptographic hash algorithm --\n"; hash_hmac_file('crc32', $file, $key, TRUE); echo "\n-- Testing hash_hmac_file() function with bad path --\n"; hash_hmac_file('md5', $file.chr(0).$file, $key, TRUE); ?> ===Done=== --EXPECTF-- *** Testing hash() : error conditions *** -- Testing hash_hmac_file() function with less than expected no. of arguments -- Warning: hash_hmac_file() expects at least 3 parameters, 0 given in %s on line %d NULL Warning: hash_hmac_file() expects at least 3 parameters, 1 given in %s on line %d NULL Warning: hash_hmac_file() expects at least 3 parameters, 2 given in %s on line %d NULL -- Testing hash_hmac_file() function with more than expected no. of arguments -- Warning: hash_hmac_file() expects at most 4 parameters, 5 given in %s on line %d -- Testing hash_hmac_file() function with invalid hash algorithm -- Warning: hash_hmac_file(): Unknown hashing algorithm: foo in %s on line %d -- Testing hash_hmac_file() function with non-cryptographic hash algorithm -- Warning: hash_hmac_file(): Non-cryptographic hashing algorithm: crc32 in %s on line %d -- Testing hash_hmac_file() function with bad path -- Warning: hash_hmac_file(): Invalid path in %s on line %d ===Done===