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 /
snmp /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
README.md
1.62
KB
-rw-rw-r--
2022-10-31 11:36
bigtest
141
B
-rwxrwxr-x
2022-10-31 11:36
bug60749.phpt
666
B
-rw-rw-r--
2022-10-31 11:36
bug64124.phpt
1003
B
-rw-rw-r--
2022-10-31 11:36
bug64159.phpt
502
B
-rw-rw-r--
2022-10-31 11:36
bug72479.phpt
738
B
-rw-rw-r--
2022-10-31 11:36
clean.inc
94
B
-rw-rw-r--
2022-10-31 11:36
generic_timeout_error.phpt
651
B
-rw-rw-r--
2022-10-31 11:36
ipv6.phpt
662
B
-rw-rw-r--
2022-10-31 11:36
reflection.phpt
2.34
KB
-rw-rw-r--
2022-10-31 11:36
skipif.inc
459
B
-rw-rw-r--
2022-10-31 11:36
snmp-object-errno-errstr.phpt
5.02
KB
-rw-rw-r--
2022-10-31 11:36
snmp-object-error.phpt
3.31
KB
-rw-rw-r--
2022-10-31 11:36
snmp-object-properties.phpt
3.81
KB
-rw-rw-r--
2022-10-31 11:36
snmp-object-setSecurity_error.phpt
2.32
KB
-rw-rw-r--
2022-10-31 11:36
snmp-object.phpt
6.96
KB
-rw-rw-r--
2022-10-31 11:36
snmp2_get.phpt
3.1
KB
-rw-rw-r--
2022-10-31 11:36
snmp2_getnext.phpt
870
B
-rw-rw-r--
2022-10-31 11:36
snmp2_real_walk.phpt
2.5
KB
-rw-rw-r--
2022-10-31 11:36
snmp2_set-nomib.phpt
1.52
KB
-rw-rw-r--
2022-10-31 11:36
snmp2_set.phpt
10
KB
-rw-rw-r--
2022-10-31 11:36
snmp2_walk.phpt
2.78
KB
-rw-rw-r--
2022-10-31 11:36
snmp3-error.phpt
3.3
KB
-rw-rw-r--
2022-10-31 11:36
snmp3.phpt
3.89
KB
-rw-rw-r--
2022-10-31 11:36
snmp_get_quick_print.phpt
925
B
-rw-rw-r--
2022-10-31 11:36
snmp_get_valueretrieval.phpt
1.56
KB
-rw-rw-r--
2022-10-31 11:36
snmp_getvalue.phpt
2.38
KB
-rw-rw-r--
2022-10-31 11:36
snmp_include.inc
1.1
KB
-rw-rw-r--
2022-10-31 11:36
snmp_read_mib.phpt
814
B
-rw-rw-r--
2022-10-31 11:36
snmp_set_enum_print.phpt
628
B
-rw-rw-r--
2022-10-31 11:36
snmp_set_oid_output_format.phpt
862
B
-rw-rw-r--
2022-10-31 11:36
snmpd.conf
744
B
-rw-rw-r--
2022-10-31 11:36
snmpget.phpt
3.23
KB
-rw-rw-r--
2022-10-31 11:36
snmpgetnext.phpt
862
B
-rw-rw-r--
2022-10-31 11:36
snmprealwalk.phpt
2.43
KB
-rw-rw-r--
2022-10-31 11:36
snmpset-nomib.phpt
1.51
KB
-rw-rw-r--
2022-10-31 11:36
snmpset.phpt
10.01
KB
-rw-rw-r--
2022-10-31 11:36
snmpwalk.phpt
2.73
KB
-rw-rw-r--
2022-10-31 11:36
wrong_hostname.phpt
459
B
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- SNMPv3 Support (errors) --CREDITS-- Boris Lytochkin --SKIPIF-- <?php require_once(__DIR__.'/skipif.inc'); ?> --FILE-- <?php require_once(__DIR__.'/snmp_include.inc'); echo "Checking error handling\n"; //int snmp3_get(string host, string sec_name, string sec_level, string auth_protocol, // string auth_passphrase, string priv_protocol, string priv_passphrase, // string object_id [, int timeout [, int retries]]); var_dump(snmp3_get($hostname, $community, '', '', '', '', '')); var_dump(snmp3_get($hostname, $community, '', '', '', '', '', '.1.3.6.1.2.1.1.1.0')); var_dump(snmp3_get($hostname, $community, 'bugusPriv', '', '', '', '', '.1.3.6.1.2.1.1.1.0')); var_dump(snmp3_get($hostname, $community, 'authNoPriv', 'TTT', '', '', '', '.1.3.6.1.2.1.1.1.0')); var_dump(snmp3_get($hostname, $community, 'authNoPriv', 'MD5', '', '', '', '.1.3.6.1.2.1.1.1.0')); var_dump(snmp3_get($hostname, $community, 'authNoPriv', 'MD5', 'te', '', '', '.1.3.6.1.2.1.1.1.0')); var_dump(snmp3_get($hostname, $community, 'authPriv', 'MD5', $auth_pass, 'BBB', '', '.1.3.6.1.2.1.1.1.0')); var_dump(snmp3_get($hostname, $community, 'authPriv', 'MD5', $auth_pass, 'AES', '', '.1.3.6.1.2.1.1.1.0')); var_dump(snmp3_get($hostname, $community, 'authPriv', 'MD5', $auth_pass, 'AES', 'ty', '.1.3.6.1.2.1.1.1.0')); var_dump(snmp3_get($hostname, 'somebogususer', 'authPriv', 'MD5', $auth_pass, 'AES', $priv_pass, '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); var_dump(snmp3_set($hostname, $community, 'authPriv', 'MD5', $auth_pass, 'AES', $priv_pass, '', 's')); var_dump(snmp3_set($hostname, $rwuser, 'authPriv', 'MD5', $auth_pass, 'AES', $priv_pass, '.1.3.6.777...7.5.3', 's', 'ttt', $timeout, $retries)); var_dump(snmp3_set($hostname, $rwuser, 'authPriv', 'MD5', $auth_pass, 'AES', $priv_pass, '.1.3.6.777.7.5.3', array('s'), 'yyy', $timeout, $retries)); ?> --EXPECTF-- Checking error handling Warning: snmp3_get() expects at least 8 parameters, 7 given in %s on line %d bool(false) Warning: snmp3_get(): Invalid security level '' in %s on line %d bool(false) Warning: snmp3_get(): Invalid security level 'bugusPriv' in %s on line %d bool(false) Warning: snmp3_get(): Unknown authentication protocol 'TTT' in %s on line %d bool(false) Warning: snmp3_get(): Error generating a key for authentication pass phrase '': Generic error (The supplied password length is too short.) in %s on line %d bool(false) Warning: snmp3_get(): Error generating a key for authentication pass phrase 'te': Generic error (The supplied password length is too short.) in %s on line %d bool(false) Warning: snmp3_get(): Unknown security protocol 'BBB' in %s on line %d bool(false) Warning: snmp3_get(): Error generating a key for privacy pass phrase '': Generic error (The supplied password length is too short.) in %s on line %d bool(false) Warning: snmp3_get(): Error generating a key for privacy pass phrase 'ty': Generic error (The supplied password length is too short.) in %s on line %d bool(false) Warning: snmp3_get(): Fatal error: Unknown user name in %s on line %d bool(false) Warning: snmp3_set() expects at least 10 parameters, 9 given in %s on line %d bool(false) Warning: snmp3_set(): Invalid object identifier: .1.3.6.777...7.5.3 in %s on line %d bool(false) Warning: snmp3_set(): Single objid and multiple type or values are not supported in %s on line %d bool(false)