can anyone help me to decrypt wp footer

Status
Not open for further replies.

chetan

Active Member
28
2010
0
0
Hello frndz,
I want to decrypt wp footer file & the theme i have downloaded from http://newwpthemes.com/
You can download any new theme from here and decrypt it & tell. I would be glad if you also tell me the procedure that how you decrypt footer file.
Thanks

Regards,
Chetan
 
16 comments
the footer file looks like this

Code:
<div class="span-24">
    <div id="footer">Copyright &copy; <a href="<?php bloginfo('home'); ?>"><strong><?php bloginfo('name'); ?></strong></a>  - <?php bloginfo('description'); ?></div>
    <?php // This theme is released free for use under creative commons licence. http://creativecommons.org/licenses/by/3.0/
        // All links in the footer should remain intact. 
        // These links are all family friendly and will not hurt your site in any way. 
        // Warning! Your site may stop working if these links are edited or deleted  ?>
    <div id="credits">Powered by <a href="http://wordpress.org/"><strong>WordPress</strong></a> | Designed by: <a href="http://wpcorner.com">Free Wordpress Templates</a> | Thanks to <a href="http://concerttour.org/neil-young-tour">Neil Young Tour</a>, <a href="http://broadwaytickets.co/sister-act-broadway-theatre">Sister Act Broadway</a> and <a href="http://footballschedule.org/clemson-tigers-football-schedule.php">Clemson Football Schedule</a></div>
</div>
</div>
</div>
<?php
     wp_footer();
    echo get_theme_option("footer")  . "\n";
?>
</body>
</html>
 
i know but they are use some functions because of that when i am changing anything in footer file it's not changing on blog.
 
i already know easy method to decrypt footer file that is to change eval with echo but this is something different that's why i need help.
 
did a quick'n'dirty fix awhile ago for a friend.. it worked tho
isn't really hard as its not encrypted and the check is in functions.php

I replaced the crap links with just some random thing (about:blank in this case)

PHP:
<div id="footer2">Powered by <a href="http://wordpress.org/"><strong>WordPress</strong></a> | <a href="about:blank">about:blank</a></div>
replaced the check in functions.php (line 170 in my case) with

PHP:
function wp_initialize_the_theme_finish() { $uri = strtolower($_SERVER["REQUEST_URI"]); if(is_admin() || substr_count($uri, "wp-admin") > 0 || substr_count($uri, "wp-login") > 0 ) { /* */ } else { $l = '<a href="about:blank">about:blank</a>'; $f = dirname(__file__) . "/footer.php"; $fd = fopen($f, "r"); $c = fread($fd, filesize($f)); fclose($fd); if (strpos($c, $l) == 0) { wp_initialize_the_theme_message(); die; } } } wp_initialize_the_theme_finish();
as I said, I dont remember when exactly I did this and for which theme, but it was from that page u posted so i guess the structure will be pretty much the same

hf
 
did a quick'n'dirty fix awhile ago for a friend.. it worked tho
isn't really hard as its not encrypted and the check is in functions.php

I replaced the crap links with just some random thing (about:blank in this case)

PHP:
<div id="footer2">Powered by <a href="http://wordpress.org/"><strong>WordPress</strong></a> | <a href="about:blank">about:blank</a></div>
replaced the check in functions.php (line 170 in my case) with

PHP:
function wp_initialize_the_theme_finish() { $uri = strtolower($_SERVER["REQUEST_URI"]); if(is_admin() || substr_count($uri, "wp-admin") > 0 || substr_count($uri, "wp-login") > 0 ) { /* */ } else { $l = '<a href="about:blank">about:blank</a>'; $f = dirname(__file__) . "/footer.php"; $fd = fopen($f, "r"); $c = fread($fd, filesize($f)); fclose($fd); if (strpos($c, $l) == 0) { wp_initialize_the_theme_message(); die; } } } wp_initialize_the_theme_finish();
as I said, I dont remember when exactly I did this and for which theme, but it was from that page u posted so i guess the structure will be pretty much the same

hf
buddy i have already attached the theme file.....can you plz have a look and fix it?
 
doin the same thing worked also with that
forgot to post it here after I tried it, sry :)

you just have to change line 7 in footer.php to fit your needs
PHP:
        <div id="footer2">Powered by <a href="http://wordpress.org/"><strong>WordPress</strong></a> | <a href="MYSITE">MYSITE.COM</a></div>

and line 153 in functions.php
PHP:
function wp_initialize_the_theme_finish() { $uri = strtolower($_SERVER["REQUEST_URI"]); if(is_admin() || substr_count($uri, "wp-admin") > 0 || substr_count($uri, "wp-login") > 0 ) { /* */ } else { $l = '<a href="MYSITE">MYSITE.COM</a>'; $f = dirname(__file__) . "/footer.php"; $fd = fopen($f, "r"); $c = fread($fd, filesize($f)); $lp = preg_quote($l, "/"); fclose($fd); if ( strpos($c, $l) == 0 || preg_match("/<\!--(.*" . $lp . ".*)-->/si", $c) || preg_match("/<\?php([^\?]+[^>]+" . $lp . ".*)\?>/si", $c) ) { wp_initialize_the_theme_message(); die; } } } wp_initialize_the_theme_finish();

you can see that it just checks for that text string
 
i have changed in both files but it's giving me error
Parse error: parse error in C:\wamp\www\blog\wp-content\themes\Lodge\Lodge\functions.php on line 153
 
i have added in footer line 7
Code:
<div id="credits">Disclaimer: This site does not store any files on its server. We only index and link to content provided by other sites. If you have any doubts about the content on this site, feel free to Contact Us.</div>
and in function line 153
Code:
<div id="credits">Disclaimer: This site does not store any files on its server. We only index and link to content provided by other sites. If you have any doubts about the content on this site, feel free to Contact Us.</div>;

now tell me if i did any mistake
 
Status
Not open for further replies.
Back
Top