Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
--TEST-- Bug #62443 Crypt SHA256/512 Segfaults With Malformed Salt --FILE-- <?php crypt("f..
Decoded Output download
--TEST--
Bug #62443 Crypt SHA256/512 Segfaults With Malformed Salt
--FILE--
<?php
crypt("foo", '$5$'.chr(0).'abc');
crypt("foo", '$6$'.chr(0).'abc');
echo "OK!";
?>
--EXPECT--
OK!
Did this file decode correctly?
Original Code
--TEST--
Bug #62443 Crypt SHA256/512 Segfaults With Malformed Salt
--FILE--
<?php
crypt("foo", '$5$'.chr(0).'abc');
crypt("foo", '$6$'.chr(0).'abc');
echo "OK!";
?>
--EXPECT--
OK!
Function Calls
chr | 1 |
crypt | 1 |
Stats
MD5 | bd78d8570fd10cb1ce651a27b5550b17 |
Eval Count | 0 |
Decode Time | 109 ms |