Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips
System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : fdshops ( 1003)
PHP Version : 8.2.21
Disable Function : NONE
Directory :  /usr/local/src/mcrypt-1.0.4/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/local/src/mcrypt-1.0.4/tests/bug49738.phpt
--TEST--
Bug #49738 (calling mcrypt after mcrypt_generic_deinit crashes)
--SKIPIF--
<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
--FILE--
<?php
   $td = mcrypt_module_open(MCRYPT_DES, '', MCRYPT_MODE_ECB, '');
   mcrypt_generic_init($td, 'aaaaaaaa', 'aaaaaaaa');
   mcrypt_generic_deinit($td);
   echo mcrypt_generic($td, 'aaaaaaaa');
?>
--EXPECTF--
Deprecated: Function mcrypt_module_open() is deprecated in %s%ebug49738.php on line 2

Deprecated: Function mcrypt_generic_init() is deprecated in %s%ebug49738.php on line 3

Deprecated: Function mcrypt_generic_deinit() is deprecated in %s%ebug49738.php on line 4

Deprecated: Function mcrypt_generic() is deprecated in %s%ebug49738.php on line 5

Warning: mcrypt_generic(): Operation disallowed prior to mcrypt_generic_init(). in %sbug49738.php on line 5

Spamworldpro Mini