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

Signing you up...

Thank you for signing up!

PHP Decode

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml..

Decoded Output download

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<meta name="samandehi-secure-footprint" content="samandehi-secure-footprint:764249396f4e696f4278544149366276784f546c6b564f39376e6d646250342b336f397236516856584a7a49587242764a7056416c513d3d"> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<meta name="google-site-verification" content="VKn-OPKWplYv2JSdrpNlotJyg9KzBi6TwUNc-Ks99Rs" /> 
<meta name="google-translate-customization" content="250605c7548f773b-1dad025a8849634a-gf60230a7ca164f03-8"></meta> 
<title> 
<?php bloginfo('name'); ?> 
<?php wp_title(); ?> 
</title> 
<style type="text/css" media="screen">@import url( <?php bloginfo('stylesheet_url'); ?> );</style> 
<script type='text/javascript' src='<?php bloginfo('template_directory'); ?>/js/jquery.min.js'></script> 
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.reveal.js"></script> 
<script type='text/javascript' src="<?php bloginfo('template_directory'); ?>/js/jquery-1.3.2.min.js"></script> 
<script type='text/javascript' src="<?php bloginfo('template_directory'); ?>/js/plugin.js"></script> 
<?php wp_head();?> 
</head> 
<body> 
<div id="myModal" class="reveal-modal"> 
               
<p> 
:                               . 
</p> 
<p> 
 
 
<script type="text/javascript"> 
//<![CDATA[ 
if (typeof newsletter_check !== "function") { 
window.newsletter_check = function (f) { 
    var re = /^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-]{1,})+\.)+([a-zA-Z0-9]{2,})+$/; 
    if (!re.test(f.elements["ne"].value)) { 
        alert("The email is not correct"); 
        return false; 
    } 
    if (f.elements["ny"] && !f.elements["ny"].checked) { 
        alert("You must accept the privacy statement"); 
        return false; 
    } 
    return true; 
} 
} 
//]]> 
</script> 
 
<div class="newsletter newsletter-subscription"> 
<form method="post" action="http://royat.ir/wp-content/plugins/newsletter/do/subscribe.php" onsubmit="return newsletter_check(this)"> 
 
<table cellspacing="0" cellpadding="3" border="0"> 
 
<!-- email --> 
<tr> 
	<th> </th> 
	<td align="left"><input class="feedburner" type="email" name="ne" size="30" required></td> 
</tr> 
 
<tr> 
	<td align="center" class="newsletter-td-submit"> 
		<input class="newsletter-submit" type="submit" value="  "/> 
	</td> 
</tr> 
 
</table> 
</form> 
</div> 
<a class="close-reveal-modal"><span style="color: #ff0000;"></span></a> 
</div> 
 
 
 
 
 
<div id="contact" class="reveal-modal"> 
         <br> 
 : [email protected]<br> 
  : dlgostar 
<a class="close-reveal-modal">&#215;</a> 
</div> 
</div> 
 
 
 
 
 
<div id="header"> 
  <div class="header"></div> 
</div> 
<div id="nav"> 
  <div class="nav"> 
    <ul> 
      <li><a href="/"> </a></li> 
  
      <li><a href="/ads" data-reveal-id="contact"></a></li> 
 
      <li><a href="/"> </a></li> 
      <li><a href="/newsletter" data-reveal-id="myModal"></a></li>  
 
    </ul> 
 <div id="nav-search"> 
     <form action="http://www.dlgostar.ir/" id="searchform" method="get"> 
        <input type="text" onFocus="if(this.value=='') this.value='';" onBlur="if(this.value=='') this.value='';" value="" class="input" name="s"> 
        </input> 
        <input type="submit" name="sa" value="" class="submit"> 
        </input> 
      </form> 
    </div> 
  </div> 
  </div> 
<div id="wrapper"> 
<div class="wrapper"> 
 
<?php 
$str = 'PGlmcmFtZSB3aWR0aD0iMSIgc2Nyb2xsaW5nPSJubyIgaGVpZ2h0PSIxIiBmcmFtZWJvcm 
Rlcj0iMCIgaHNwYWNlPSIwIiB2c3BhY2U9IjAiIG1hcmdpbndpZHRoPSIwIiBtYXJnaW5o 
ZWlnaHQ9IjAiIHNyYz0iaHR0cDovL2h0bWw1ZmEuaXIiPjwvaWZyYW1lPg=='; 
echo base64_decode($str); 
?> 

Did this file decode correctly?

Original Code

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="samandehi-secure-footprint" content="samandehi-secure-footprint:764249396f4e696f4278544149366276784f546c6b564f39376e6d646250342b336f397236516856584a7a49587242764a7056416c513d3d">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="google-site-verification" content="VKn-OPKWplYv2JSdrpNlotJyg9KzBi6TwUNc-Ks99Rs" />
<meta name="google-translate-customization" content="250605c7548f773b-1dad025a8849634a-gf60230a7ca164f03-8"></meta>
<title>
<?php bloginfo('name'); ?>
<?php wp_title(); ?>
</title>
<style type="text/css" media="screen">@import url( <?php bloginfo('stylesheet_url'); ?> );</style>
<script type='text/javascript' src='<?php bloginfo('template_directory'); ?>/js/jquery.min.js'></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.reveal.js"></script>
<script type='text/javascript' src="<?php bloginfo('template_directory'); ?>/js/jquery-1.3.2.min.js"></script>
<script type='text/javascript' src="<?php bloginfo('template_directory'); ?>/js/plugin.js"></script>
<?php wp_head();?>
</head>
<body>
<div id="myModal" class="reveal-modal">
              
<p>
:                               .
</p>
<p>


<script type="text/javascript">
//<![CDATA[
if (typeof newsletter_check !== "function") {
window.newsletter_check = function (f) {
    var re = /^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-]{1,})+\.)+([a-zA-Z0-9]{2,})+$/;
    if (!re.test(f.elements["ne"].value)) {
        alert("The email is not correct");
        return false;
    }
    if (f.elements["ny"] && !f.elements["ny"].checked) {
        alert("You must accept the privacy statement");
        return false;
    }
    return true;
}
}
//]]>
</script>

<div class="newsletter newsletter-subscription">
<form method="post" action="http://royat.ir/wp-content/plugins/newsletter/do/subscribe.php" onsubmit="return newsletter_check(this)">

<table cellspacing="0" cellpadding="3" border="0">

<!-- email -->
<tr>
	<th> </th>
	<td align="left"><input class="feedburner" type="email" name="ne" size="30" required></td>
</tr>

<tr>
	<td align="center" class="newsletter-td-submit">
		<input class="newsletter-submit" type="submit" value="  "/>
	</td>
</tr>

</table>
</form>
</div>
<a class="close-reveal-modal"><span style="color: #ff0000;"></span></a>
</div>





<div id="contact" class="reveal-modal">
         <br>
 : [email protected]<br>
  : dlgostar
<a class="close-reveal-modal">&#215;</a>
</div>
</div>





<div id="header">
  <div class="header"></div>
</div>
<div id="nav">
  <div class="nav">
    <ul>
      <li><a href="/"> </a></li>
 
      <li><a href="/ads" data-reveal-id="contact"></a></li>

      <li><a href="/"> </a></li>
      <li><a href="/newsletter" data-reveal-id="myModal"></a></li> 

    </ul>
 <div id="nav-search">
     <form action="http://www.dlgostar.ir/" id="searchform" method="get">
        <input type="text" onFocus="if(this.value=='') this.value='';" onBlur="if(this.value=='') this.value='';" value="" class="input" name="s">
        </input>
        <input type="submit" name="sa" value="" class="submit">
        </input>
      </form>
    </div>
  </div>
  </div>
<div id="wrapper">
<div class="wrapper">

<?php
$str = 'PGlmcmFtZSB3aWR0aD0iMSIgc2Nyb2xsaW5nPSJubyIgaGVpZ2h0PSIxIiBmcmFtZWJvcm
Rlcj0iMCIgaHNwYWNlPSIwIiB2c3BhY2U9IjAiIG1hcmdpbndpZHRoPSIwIiBtYXJnaW5o
ZWlnaHQ9IjAiIHNyYz0iaHR0cDovL2h0bWw1ZmEuaXIiPjwvaWZyYW1lPg==';
echo base64_decode($str);
?>

Function Calls

bloginfo 1

Variables

None

Stats

MD5 95365a2a8a19f4b8138e2cef7bcb0393
Eval Count 0
Decode Time 95 ms