I've been trying to figure this out for a few hours but can't find a solution.
Help with Base_64 Decode in footer.php WP Theme
8
I've been trying to figure this out for a few hours
but can't find a solution.
I came across a free WP theme that I would like to try.
However, it has some encrypted code in the footer.
I was able to decode it but am having problems putting the
decrypted code together. Syntax errors; I don't know the
proper format.
It screws the footer up.
Also, the decrypted code looks safe but I'm not 100% sure.
Anyway, I will post it here.
The complete footer page is as follows:
<?php
/**
* @package WordPress
* @subpackage Default_Theme
*/
?>
<!-- Footer -->
<?php $blog_title = get_bloginfo('name'); ?>
<?php
$footerprint = base64_decode("")." ".$blog_title.base64_decode
("");
echo $footerprint;
?>
For the section of code in red I got the following; once decrypted:
<div id="footer">
<div id="footerdark">
<p>
<script type="text/javascript" language="JavaScript"><!--
var today = new Date();
document.write(today.getFullYear());
//--></script> ©
And this is the result for blue highlight:
<p>Powered by <a href="http://mattsmarketingblog.com">Affiliate Marketing Blog</a></p>
</div>
</div>
<!-- footer close -->
<div class="clearer"></div>
<div id="credit"> <span></span> </div>
</div>
<!-- End Footer -->
</div>
<!-- wrap close -->
</div>
<!-- shadow close -->
</div>
</div>
<!-- bgwrapper close -->
but can't find a solution.
I came across a free WP theme that I would like to try.
However, it has some encrypted code in the footer.
I was able to decode it but am having problems putting the
decrypted code together. Syntax errors; I don't know the
proper format.
It screws the footer up.
Also, the decrypted code looks safe but I'm not 100% sure.
Anyway, I will post it here.
The complete footer page is as follows:
<?php
/**
* @package WordPress
* @subpackage Default_Theme
*/
?>
<!-- Footer -->
<?php $blog_title = get_bloginfo('name'); ?>
<?php
$footerprint = base64_decode("")." ".$blog_title.base64_decode
("");
echo $footerprint;
?>
For the section of code in red I got the following; once decrypted:
<div id="footer">
<div id="footerdark">
<p>
<script type="text/javascript" language="JavaScript"><!--
var today = new Date();
document.write(today.getFullYear());
//--></script> ©
And this is the result for blue highlight:
<p>Powered by <a href="http://mattsmarketingblog.com">Affiliate Marketing Blog</a></p>
</div>
</div>
<!-- footer close -->
<div class="clearer"></div>
<div id="credit"> <span></span> </div>
</div>
<!-- End Footer -->
</div>
<!-- wrap close -->
</div>
<!-- shadow close -->
</div>
</div>
<!-- bgwrapper close -->
- aesoft
- [1] reply
- K. Rondo
- [1] reply
Next Topics on Trending Feed
-
8