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

Signing you up...

Thank you for signing up!

PHP Decode

eval(base64_decode('JGNvZGVsb2NrX2NvZGU9ImMyVnpjMmx2Ymw5emRHRnlkQ2dwT3lBTkNtbHVZMngxWkdVb0..

Decoded Output download

session_start(); 
include("Admin/config/Connection.php");

$username=$_REQUEST['username'];
$password=$_REQUEST['password'];
if($username!=null)
				{
		 $rs=mysql_query("select * from login where UserName='$username' and Password='$password'");
	 while ($newArray = mysql_fetch_array($rs)) 
	 									{
							$uname = $newArray['UserName'];
							$AccountId = $newArray['AccountId'];
					 
									}
			if ($uname!=NULL){
										$inactive = time()+60000;
										$_SESSION['inactive'] = $inactive; 
										$_SESSION['admin'] = $admin;
										$_SESSION['AccountId'] = $AccountId;
										$URL="Admin/"; 
										header ("Location: $URL"); 

			} else {
					echo "<font color=red>Wrong Username or Password</font>";
			}
			
		}
		echo $username;
		echo $password;

Did this file decode correctly?

Original Code

eval(base64_decode('JGNvZGVsb2NrX2NvZGU9ImMyVnpjMmx2Ymw5emRHRnlkQ2dwT3lBTkNtbHVZMngxWkdVb0lrRmtiV2x1TDJOdmJtWnBaeTlEYjI1dVpXTjBhVzl1TG5Cb2NDSXBPdzBLRFFva2RYTmxjbTVoYldVOUpGOVNSVkZWUlZOVVd5ZDFjMlZ5Ym1GdFpTZGRPdzBLSkhCaGMzTjNiM0prUFNSZlVrVlJWVVZUVkZzbmNHRnpjM2R2Y21RblhUc05DbWxtS0NSMWMyVnlibUZ0WlNFOWJuVnNiQ2tOQ2drSkNRbDdEUW9KQ1NBa2NuTTliWGx6Y1d4ZmNYVmxjbmtvSW5ObGJHVmpkQ0FxSUdaeWIyMGdiRzluYVc0Z2QyaGxjbVVnVlhObGNrNWhiV1U5SnlSMWMyVnlibUZ0WlNjZ1kha0lGQmhjM04zYjNKa1BTY2tjR0Z6YzNkdmNtUW5JaWs3RFFvSklIZG9hV3hsSUNna2JtVjNRWEp5WVhrZ1BTQnRlWE54YkY5bVpYUm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ZGVsb2NrX2NvZGU9c3RyX3JlcGxhY2UoIiEiLCAiVzUiLCAkY29kZWxvY2tfY29kZSk7ICRjb2RlbG9ja19jb2RlPXN0cl9yZXBsYWNlKCIqIiwgIkNBZ0kiLCAkY29kZWxvY2tfY29kZSk7ICRjb2RlbG9ja19jb2RlPWJhc2U2NF9kZWNvZGUoJGNvZGVsb2NrX2NvZGUpOyBldmFsKCRjb2RlbG9ja19jb2RlKTsgCg==')); 

Function Calls

str_replace 3
base64_decode 2

Variables

$codelock_code session_start(); include("Admin/config/Connection.php"); ..

Stats

MD5 71635071a3c1084e16a45bcdb91e7c33
Eval Count 2
Decode Time 36 ms