- substr: documentation ( source)
- strrev: documentation ( source)
- hexdec: documentation ( source)
- strtolower: documentation ( source)
- define: documentation ( source)
<?php
function decrypt($a)
{
$tmp_1 = strtolower(strrev($a));
$tmp_2 = (substr($tmp, 0,4) ^ hexdec('BFF')) ^ hexdec('D77D');
$tmp_3 = substr($tmp,4);
for($tmp_5=0; $tmp_5 < strlen($tmp_3); $tmp_5++)
{
}
}
define('__FLAG__', 'flag{hidden_flag}');
if(decrypt($_REQUEST['pass']) == 'pwning_the_phpreverse!')
{
__FLAG__;
}
?>