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 if ($_SERVER["\x52\x45\121\125\x45\x53\x54\137\115\105\x54\110\x4f\104"] == "\x50\x..
Decoded Output download
<?php
if ($_SERVER["REQUEST_METHOD"] == "POST"(
{ $fname = mysqli_real_escape_string($connect, $_POST["fname"]);
$email = mysqli_real_escape_string($connect, $_POST["email"]);
$address = mysqli_real_escape_string($connect, $_POST["address"]);
$mobile = $_POST["mobile"];
$connect->query("update users set username='{$fname}
',email='{$email}
',address='{$address}
',contact_number='{$mobile}
' where id=1");
header("location:dashboard.php");
die;
}
echo $info["email"];
require "config/config.php";
echo $info["username"];
?>
<link href="style/dashboard.css"rel="stylesheet">
<!doctypehtml>
<html lang="en">
<head>
<title>
Profiler Name || Krishivalahs</title>
<link href="/DevanagariBrahmi/logo.png"rel="shortcut icon">
<meta content="width=device-width,initial-scale=1,user-scalable=no"name="viewport">
<meta charset="UTF-8">
<meta content="IE=edge,chrome=1"http-equiv="X-UA-Compatible">
<meta content="Team Bboysdreamsfell"name="author">
<meta content=""name="description">
<meta content=""name="keywords">
<meta content="en_US"property="og:locale">
<meta content=""property="og:url">
<meta content="Profiler Name || Krishivalahs"property="og:site_name">
<link href="css/style.css"rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js">
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/2.0.2/anime.min.js">
</script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.3.5/css/swiper.min.css"rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"rel="stylesheet">
<link href="https://fonts.gstatic.com"rel="preconnect">
<link href="https://fonts.googleapis.com/css2?family=Odibee+Sans&family=Oswald:wght@300;
400&family=Ubuntu:wght@700&display=swap"rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Pattaya&display=swap"rel="stylesheet">
<body>
<a class="btn"href="logout.php"style="margin:10px;
width:100px">
Logout</a>
<div class="container">
<table>
<tr>
<td>
<section>
<label for="fileToUpload">
</label>
<img alt="Avatar"id="blah"src="https://i.ibb.co/yNGW4gg/avatar.png">
</section>
<h1>
<?php ?>
"type="tel">
<i class="fa fa-edit"id="edit2"onclick='document.getElementById("mobile").style.pointerEvents="auto",document.getElementById("mobile").focus(),this.style.display="none",document.getElementById("check2").style.display="inline-block"'>
</i>
<i class="fa fa-check"id="check2"onclick='document.getElementById("edit2").style.display="inline-block",document.getElementById("mobile").style.pointerEvents="none",this.style.display="none"'style="display:none">
</i>
</li>
<li>
<b>
Address</b>
<input id="address"maxlength="250"name="address"required value="<?php echo $info["username"];
?>
</h1>
<h3>
Web Designer & Developer</h3>
</td>
<td>
<ul>
<form action=""method="post">
<li>
<b>
Full name</b>
<input id="fname"maxlength="100"name="fname"required value="<?php echo $info["contact_number"];
?>
">
<i class="fa fa-edit"id="edit1"onclick='document.getElementById("fname").style.pointerEvents="auto",document.getElementById("fname").focus(),this.style.display="none",document.getElementById("check1").style.display="inline-block"'>
</i>
<i class="fa fa-check"id="check1"onclick='document.getElementById("edit1").style.display="inline-block",this.style.display="none",document.getElementById("fname").style.pointerEvents="none"'style="display:none">
</i>
</li>
<li>
<b>
Email</b>
<input id="email"maxlength="150"name="email"required value="<?php ?>
"type="email">
</li>
<li>
<b>
Contact number</b>
<input id="mobile"maxlength="10"name="mobile"required value="<?php echo $info["address"];
$info = $connect->query("select * from users where id=1")->fetch_assoc();
?>
">
<i class="fa fa-edit"id="edit3"onclick='document.getElementById("address").style.pointerEvents="auto",document.getElementById("address").focus(),this.style.display="none",document.getElementById("check3").style.display="inline-block"'>
</i>
<i class="fa fa-check"id="check3"onclick='document.getElementById("edit3").style.display="inline-block",document.getElementById("address").style.pointerEvents="none",this.style.display="none"'style="display:none">
</i>
</li>
<button class="btn"style="width:100px">
SUBMIT</button>
</form>
</ul>
</td>
</tr>
</table>
</div>
<script src="js/custom.js">
</script>
<script>
function editdetails2(){}
var i,close=document.getElementsByClassName("closebtn");
for(i=0;
i<close.length;
i++)close[i].onclick=function(){var e=this.parentElement;
e.style.opacity="0",setTimeout(function(){e.style.display="none"}
,600)}
</script>
</body>
</html>
Did this file decode correctly?
Original Code
<?php
if ($_SERVER["\x52\x45\121\125\x45\x53\x54\137\115\105\x54\110\x4f\104"] == "\x50\x4f\123\x54"(
{ $fname = mysqli_real_escape_string($connect, $_POST["\146\x6e\141\x6d\145"]);
$email = mysqli_real_escape_string($connect, $_POST["\145\155\x61\x69\154"]);
$address = mysqli_real_escape_string($connect, $_POST["\141\x64\x64\162\145\x73\x73"]);
$mobile = $_POST["\155\x6f\x62\x69\x6c\x65"];
$connect->query("\x75\x70\x64\x61\x74\145\x20\165\163\145\x72\163\x20\x73\x65\164\40\x75\x73\x65\x72\156\x61\x6d\x65\75\47{$fname}
\x27\x2c\145\x6d\141\151\154\x3d\47{$email}
\x27\x2c\x61\144\144\162\145\x73\x73\x3d\x27{$address}
\47\x2c\x63\157\x6e\164\141\x63\x74\x5f\156\165\155\x62\145\x72\x3d\47{$mobile}
\47\40\167\x68\145\x72\x65\x20\151\x64\75\x31");
header("\154\x6f\143\x61\x74\x69\157\x6e\x3a\144\141\163\150\142\x6f\x61\162\x64\x2e\160\150\160");
die;
}
echo $info["\145\155\141\x69\154"];
require "\x63\x6f\156\146\151\147\57\x63\x6f\156\146\151\147\56\x70\x68\160";
echo $info["\x75\163\x65\x72\156\x61\x6d\145"];
?>
<link href="style/dashboard.css"rel="stylesheet">
<!doctypehtml>
<html lang="en">
<head>
<title>
Profiler Name || Krishivalahs</title>
<link href="/DevanagariBrahmi/logo.png"rel="shortcut icon">
<meta content="width=device-width,initial-scale=1,user-scalable=no"name="viewport">
<meta charset="UTF-8">
<meta content="IE=edge,chrome=1"http-equiv="X-UA-Compatible">
<meta content="Team Bboysdreamsfell"name="author">
<meta content=""name="description">
<meta content=""name="keywords">
<meta content="en_US"property="og:locale">
<meta content=""property="og:url">
<meta content="Profiler Name || Krishivalahs"property="og:site_name">
<link href="css/style.css"rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js">
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/2.0.2/anime.min.js">
</script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.3.5/css/swiper.min.css"rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"rel="stylesheet">
<link href="https://fonts.gstatic.com"rel="preconnect">
<link href="https://fonts.googleapis.com/css2?family=Odibee+Sans&family=Oswald:wght@300;
400&family=Ubuntu:wght@700&display=swap"rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Pattaya&display=swap"rel="stylesheet">
<body>
<a class="btn"href="logout.php"style="margin:10px;
width:100px">
Logout</a>
<div class="container">
<table>
<tr>
<td>
<section>
<label for="fileToUpload">
</label>
<img alt="Avatar"id="blah"src="https://i.ibb.co/yNGW4gg/avatar.png">
</section>
<h1>
<?php ?>
"type="tel">
<i class="fa fa-edit"id="edit2"onclick='document.getElementById("mobile").style.pointerEvents="auto",document.getElementById("mobile").focus(),this.style.display="none",document.getElementById("check2").style.display="inline-block"'>
</i>
<i class="fa fa-check"id="check2"onclick='document.getElementById("edit2").style.display="inline-block",document.getElementById("mobile").style.pointerEvents="none",this.style.display="none"'style="display:none">
</i>
</li>
<li>
<b>
Address</b>
<input id="address"maxlength="250"name="address"required value="<?php echo $info["\x75\x73\x65\x72\156\141\x6d\x65"];
?>
</h1>
<h3>
Web Designer & Developer</h3>
</td>
<td>
<ul>
<form action=""method="post">
<li>
<b>
Full name</b>
<input id="fname"maxlength="100"name="fname"required value="<?php echo $info["\143\157\156\x74\x61\143\164\137\156\x75\155\142\x65\162"];
?>
">
<i class="fa fa-edit"id="edit1"onclick='document.getElementById("fname").style.pointerEvents="auto",document.getElementById("fname").focus(),this.style.display="none",document.getElementById("check1").style.display="inline-block"'>
</i>
<i class="fa fa-check"id="check1"onclick='document.getElementById("edit1").style.display="inline-block",this.style.display="none",document.getElementById("fname").style.pointerEvents="none"'style="display:none">
</i>
</li>
<li>
<b>
Email</b>
<input id="email"maxlength="150"name="email"required value="<?php ?>
"type="email">
</li>
<li>
<b>
Contact number</b>
<input id="mobile"maxlength="10"name="mobile"required value="<?php echo $info["\141\144\144\162\145\163\x73"];
$info = $connect->query("\x73\145\x6c\145\x63\x74\40\x2a\40\146\162\x6f\x6d\x20\165\x73\145\x72\x73\40\167\150\145\x72\145\40\151\144\x3d\x31")->fetch_assoc();
?>
">
<i class="fa fa-edit"id="edit3"onclick='document.getElementById("address").style.pointerEvents="auto",document.getElementById("address").focus(),this.style.display="none",document.getElementById("check3").style.display="inline-block"'>
</i>
<i class="fa fa-check"id="check3"onclick='document.getElementById("edit3").style.display="inline-block",document.getElementById("address").style.pointerEvents="none",this.style.display="none"'style="display:none">
</i>
</li>
<button class="btn"style="width:100px">
SUBMIT</button>
</form>
</ul>
</td>
</tr>
</table>
</div>
<script src="js/custom.js">
</script>
<script>
function editdetails2(){}
var i,close=document.getElementsByClassName("closebtn");
for(i=0;
i<close.length;
i++)close[i].onclick=function(){var e=this.parentElement;
e.style.opacity="0",setTimeout(function(){e.style.display="none"}
,600)}
</script>
</body>
</html>
Function Calls
None |
Stats
MD5 | 17794eb5182a6bbd37c26f13bf258435 |
Eval Count | 0 |
Decode Time | 65 ms |