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

Signing you up...

Thank you for signing up!

PHP Decode

<?php if(!isset($_GET['md5'])){die(highlight_file(__FILE__));} if (isset($_GET['md5']) a..

Decoded Output download

<?php 
if(!isset($_GET['md5'])){die(highlight_file(__FILE__));} 
if (isset($_GET['md5']) and strlen($_GET['md5']) == 3 and !is_numeric($_GET['md5'])){ 
    $md5=$_GET['md5']; 
    if (floatval($md5)==md5($md5)){ 
        die(highlight_file("flag.php")); 
    }else{ 
        echo htmlspecialchars($md5)."!=",md5($md5); 
    } 
}else{die(highlight_file(__FILE__));} 
?>

Did this file decode correctly?

Original Code

<?php
if(!isset($_GET['md5'])){die(highlight_file(__FILE__));}
if (isset($_GET['md5']) and strlen($_GET['md5']) == 3 and !is_numeric($_GET['md5'])){
    $md5=$_GET['md5'];
    if (floatval($md5)==md5($md5)){
        die(highlight_file("flag.php"));
    }else{
        echo htmlspecialchars($md5)."!=",md5($md5);
    }
}else{die(highlight_file(__FILE__));}
?>

Function Calls

strlen 1
is_numeric 1

Variables

None

Stats

MD5 bff94af77017f958a1d1e07eba6f5417
Eval Count 0
Decode Time 100 ms