@ 2017-07-05T13:18:30Z <?php
function decrypt($a)
{
$tmp = strtolower(strrev($a));
$tmps = substr($tmp, 4) ^ hexdec('BFF') ^ hexdec('D77D');
}
echo decrypt("tarunkant");
define('__FLAG__', 'flag{hidden_flag}');
if(decrypt($_REQUEST['pass']) == 'pwning_the_phpreverse!')
{
__FLAG__;
}
?>
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 8.0.0 - 8.0.30 , 8.1.0 - 8.1.27 , 8.2.0 - 8.2.17 , 8.3.0 - 8.3.4 Fatal error: Uncaught TypeError: Unsupported operand types: string ^ int in /in/rlgTv:5
Stack trace:
#0 /in/rlgTv(14): decrypt('tarunkant')
#1 {main}
thrown in /in/rlgTv on line 5
Process exited with code 255 . Output for 7.1.0 - 7.1.20 , 7.2.0 - 7.2.33 , 7.3.16 - 7.3.31 , 7.4.0 - 7.4.25 , 7.4.27 - 7.4.33 Warning: A non-numeric value encountered in /in/rlgTv on line 5
Notice: Undefined index: pass in /in/rlgTv on line 19
Output for 7.3.32 - 7.3.33 , 7.4.26 Warning: A non-numeric value encountered in /in/rlgTv on line 5
Output for 7.0.0 - 7.0.20 Notice: Undefined index: pass in /in/rlgTv on line 19
preferences:dark mode live preview
132.33 ms | 401 KiB | 169 Q