I posted this earlier in the programming section but didn't get any responses. So I thought someone here could help.
WordPress Help With Encrypted Code in Theme
11
I posted this earlier in the programming section but didn't get any
responses. So I thought someone here could help.
I spent a few hours on this but couldn't get it to work.
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 the code highlighted in blue:
<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 -->
responses. So I thought someone here could help.
I spent a few hours on this but couldn't get it to work.
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 the code highlighted in blue:
<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 -->
- yukon Banned
- [1] reply
- K. Rondo
- VegasGreg
- [1] reply
- K. Rondo
- [ 1 ] Thanks
- [1] reply
- Aare
- [ 1 ] Thanks
- [1] reply
- Steve Wells
- jakeseth12
- mathus Banned
- tonyclarke58 Banned
Next Topics on Trending Feed
-
11