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 eval(base64_decode('JGNvZGVsb2NrX2NvZGU9ImEhamJIVmtaU2dpTGk0dlkyOXVabWxuTDBOdmJtNWx..

Decoded Output download

include("../config/Connection.php"); 
$Reg=$_REQUEST['Reg'];
$rssem=mysql_query("SELECT * FROM student where Student_Id='$Reg'");				
	 while($newArray=mysql_fetch_array($rssem)) {
								$Roll_No= $newArray['Roll_No'];
								$Name= $newArray['Name'];
								$Fee= $newArray['Fee'];
								$Student_Id= $newArray['Student_Id'];
								$Current_Class= $newArray['Current_Class'];
								$Registration_No= $newArray['Registration_No'];
								$Father_Name= $newArray['Father_Name'];
								$DOB= $newArray['Date_Of_Birth'];

}
?>
<html>
<link rel="stylesheet" href="style.css" type="text/css" />

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Certificate</title>
</head>

<body>

<div id="header" >
<h1 style="text-align:center;">AL-Huda Public High School</h1>
<h4 style="text-align:center;">Gulshan-e-Fatima Colony, Okara</h4>
<p style="text-align:center;"><img src="logo.png" width="108" height="103"   /></p>
<br>
<h2 ><U>School Leaving Certificate</U></h2>
</div>
<div id="title"><br><br><br><br>
<h6>Serial No.333333 <php $echoaa; ?></h6><h6 align="right">School Regd No. 2222<php $echoaa; ?> </h6>
</div>
<div id="para"><b>
  &nbsp;&nbsp;&nbsp;Certified that <u><?php echo $Name; ?></u>
Register No.<u> <?php echo $Registration_No; ?></u>&nbsp;&nbsp;Date of Birth (in figures)<u> <?php echo  date("d-M-Y", strtotime($DOB));?> </u><br>
(in words)<u><?php echo date("M jS, Y", strtotime("2016-10-20"));?></u>&nbsp; Son/daughter of <u><?php echo $Father_Name?></u> attend this school upto <u>534545</u>&nbsp; has paid all dues to the school upto <u>454556</u>&nbsp; and was allowed on the above date to withdraw his/her name.He/She was reading in the class <u> <?php echo $Current_Class;

Did this file decode correctly?

Original Code

<?php
eval(base64_decode('JGNvZGVsb2N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sYm5SZlEyeGhjM003IjsgJGNvZGVsb2NrX2NvZGU9c3RyX3JlcGxhY2UoIkAiLCJDQWciLCAkY29kZWxvY2tfY29kZSk7ICRjb2RlbG9ja19jb2RlPXN0cl9yZXBsYWNlKCIhIiwgIlc1IiwgJGNvZGVsb2NrX2NvZGUpOyAkY29kZWxvY2tfY29kZT1zdHJfcmVwbGFjZSgiKiIsICJDQWdJIiwgJGNvZGVsb2NrX2NvZGUpOyAkY29kZWxvY2tfY29kZT1iYXNlNjRfZGVjb2RlKCRjb2RlbG9ja19jb2RlKTsgZXZhbCgkY29kZWxvY2tfY29kZSk7IAo=')); 
 ?></u> &nbsp;section<u> A </u>&nbsp;, and passed/failed in the examination for promotion to <u>9th</u>    class.
</b>
</div>
<br>
<div id="para">
<b>
  &nbsp;&nbsp;&nbsp; The following particulars certified to be correct according to the record of this school and certificate produced from previous schools attended durind the school year.</b>
</div><br>
<div id="foot">&nbsp;&nbsp;&nbsp;
<table width="300" border="2">
  <tr>
    <td>Admission Date;</td>
    <td>aaaaaaa</td>
   
  </tr>
  <tr
    <td>Class</td>
    <td>aaaaa</td>
  
  </tr>
  <tr>
    <td>Date of Withdraw</td>
    <td>aaaaa;</td>
   
  </tr>
  <tr>
    <td>Possible attendence actual during the current school year</td>
    <td>aaaaaa</td>
   
  </tr>
</table>
<br><br>
Prepared by:________________ </div>
</body>
</html>

Function Calls

str_replace 3
base64_decode 2

Variables

$codelock_code include("../config/Connection.php"); $Reg=$_REQUEST['Reg']..

Stats

MD5 4d955e10f1a198ec2621b8653c49d3ba
Eval Count 2
Decode Time 50 ms