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

Signing you up...

Thank you for signing up!

PHP Decode

$('#form').submit(function() { var a = "517d36bc2dbe5272f42760054cef355c"; ..

Decoded Output download

<?  $('#form').submit(function() 
{     
    var a = "517d36bc2dbe5272f42760054cef355c"; 
     
    var password = ""; 
     
    for(var i = 0; i < 20; i++) 
        password += a.substring((i%2),(i%3)+(i%5)); 
         
    if($('#password').val() == password) 
    { 
            alert("Well Done! submit it as flag"); 
        }); 
    } 
    else 
        jQuery('.loginerror').slideDown(); 
    return false; 
}); 
 ?>

Did this file decode correctly?

Original Code

$('#form').submit(function()
{    
    var a = "517d36bc2dbe5272f42760054cef355c";
    
    var password = "";
    
    for(var i = 0; i < 20; i++)
        password += a.substring((i%2),(i%3)+(i%5));
        
    if($('#password').val() == password)
    {
            alert("Well Done! submit it as flag");
        });
    }
    else
        jQuery('.loginerror').slideDown();
    return false;
});

Function Calls

None

Variables

None

Stats

MD5 eeba63f4828e8306e7caedf2533f45c7
Eval Count 0
Decode Time 106 ms