@ 2017-07-05T16:59:40Z <?php
function decrypt($a)
{
$a1 = strtolower(strrev($a));
$a2 = hexdec(substr($a1,0, 4)) ^ hexdec('BFF') ^ hexdec('D77D');
$a3 = substr($a2,4);
$a4 = "";
$a5 = 0;
for($a5=0;$a5<strlen($a3);$a5+=6){
$a6 = ++$a;
}
$mul=$a6 * $a6;
$a7=$mul ^ hexdec('6E');
$ans = octdec(hexdec(substr($a3,0,6))) ^ hexdec('AFE43') ^ hexdec('399AA3') ^ $a7 ^ octdec(hexdec(substr($a3,0,6)));
return $a4 . chr($ans);
}
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.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.7 Warning: Undefined array key "pass" in /in/Oa7fu on line 30
Deprecated: strrev(): Passing null to parameter #1 ($string) of type string is deprecated in /in/Oa7fu on line 4
Output for 8.0.0 - 8.0.30 Warning: Undefined array key "pass" in /in/Oa7fu on line 30
Output for 5.6.0 - 5.6.40 , 7.0.0 - 7.0.33 , 7.1.0 - 7.1.33 , 7.2.0 - 7.2.33 , 7.3.0 - 7.3.31 , 7.4.0 - 7.4.25 , 7.4.27 - 7.4.33 Notice: Undefined index: pass in /in/Oa7fu on line 30
Output for 7.3.32 - 7.3.33 , 7.4.26 preferences:dark mode live preview
205.7 ms | 402 KiB | 289 Q