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 $PASSWORD = (file_get_contents("flag.txt")); //haha if(isset($_GET['password']..

Decoded Output download

 
 
<?php 
$PASSWORD = (file_get_contents("flag.txt")); //haha 
if(isset($_GET['password'])){ 
if(strcmp($PASSWORD, $_GET['password']) == 1){ 
$success = true; 
} 
else{ 
$success = false; 
} 
} 
else { 
$success = false; 
} 
?> 

Did this file decode correctly?

Original Code



<?php
$PASSWORD = (file_get_contents("flag.txt")); //haha
if(isset($_GET['password'])){
if(strcmp($PASSWORD, $_GET['password']) == 1){
$success = true;
}
else{
$success = false;
}
}
else {
$success = false;
}
?>

Function Calls

strcmp 1
file_get_contents 1

Variables

$PASSWORD

Stats

MD5 b0fa11779ac9631dde9b8eef996c4c24
Eval Count 0
Decode Time 99 ms