The other day I finally found a method that allows the code desofuscar some programmers get into their free WordPress templates. I have left the source link in the foot, but briefly consists of the following.

If the obfuscated code is like this:

<?php eval(gzinflate(base64_decode("bZNNb9swDIbPHbD/wOmwpAdZ2I6r4xy
63Ye1QI6GbNG2WutjojzDwH78LDtuuiAXm6RePaQo6ljkXQBRfPyQK/0HtDqw
xrmIgaWQNi3UvSTaolXLQPbxwBhQqA8sP/rOQ9W7VtvG7XcUpx6pQ4yl0gHr6
MK0u3+AYyG0kS2SiHIIA3HSCisZslY3bEl/l/v0vbsmWmlwJYAm8MENqp/AuxE
DKqimZY+ELmBzYF2M/psQowvKByTKXGgFK06z/zP5uZAF/L25ZRwzGSIaTa3
sewxTZjFu1b4BeezQICuelzi8geE5xRd8E5yBW/g4eey1faW
sdmZGbC6csILvW7cWxmdp/MNtiFNqzFJrZsJsnxb9pty9U9rBSIXBpGyiQjnEiW
vi1kX+MlDk9KotV4he7IpkQ7IT7dye/+49ELFzMdcXNC99LYfQr5fEih82Bo0E+
19PT/cbT1p1Oc41YS7QoI1UXqMezwsXVrYU94lzWCFYdw7aedrm05a/B0yZ
9+u0nL3srIzaYCgpOr//sgoIa2fVLOB8mT+RBjAX8zO48b+M5ujLtSdrniSpnJo
Wo4umL/4B"))); ?>

Normally this code we can find both the header (head.php) and foot (footer.php).

All we have to do is eliminate the function EVAL and replacing htmlspecialchars and make a threw out all for show. Would be as follows:

<?php echo htmlspecialchars(gzinflate(base64_decode("bZNNb9swDIbPHbD/
wOmwpAdZ2I6r4xy63Ye1QI6GbNG2WutjojzDwH78LDtuuiAXm6ReP
aQo6ljkXQBRfPyQK/0HtDqwxrmIgaWQNi3UvSTaolXLQPbxwBhQq
A8sP/rOQ9W7VtvG7XcUpx6pQ4yl0gHr6MK0u3+AYyG0kS2SiHIIA
3HSCisZslY3bEl/l/v0vbsmWmlwJYAm8MENqp/AuxEDKqimZY+EL
mBzYF2M/psQowvKByTKXGgFK06z/zP5uZAF/L25ZRwzGSIaTa3se
wxTZjFu1b4BeezQICuelzi8geE5xRd8E5yBW/g4eey1faWsdmZGb
C6csILvW7cWxmdp/MNtiFNqzFJrZsJsnxb9pty9U9rBSIXBpGyiQ
jnEiWvi1kX+MlDk9KotV4he7IpkQ7IT7dye/+49ELFzMdcXNC99L
YfQr5fEih82Bo0E+19PT/cbT1p1Oc41YS7QoI1UXqMezwsXVrYU9
4lzWCFYdw7aedrm05a/B0yZ9+u0nL3srIzaYCgpOr//sgoIa2fVL
OB8mT+RBjAX8zO48b+M5ujLtSdrniSpnJoWo4umL/4B"))); ?>

And would result in the following:

?><hr /> <div id="footer"> <img class="footerbg" alt="" src="<?php
 bloginfo('stylesheet_directory'); ?>/images/taurus-sidebar.gif" /> <p>
<?php bloginfo('name'); ?> is proudly powered by
<a href="http://wordpress.org/">WordPress</a> |
<a href="http://www.artemisgallery.net/taurus-wordpress-theme">T
aurus WordPress Theme</a> from <a href="http://www.typelinks.com">
Typelinks Web Directory</a> &amp; <a href="http://www.toddw.info">
ToddW</a> <a href='http://www.numaderm.com/beauty-is-not-just-skin-deep/'>
skin deep</a> <a class="footerrss" href="<?php bloginfo('rss2_url'); ?>">
Entries (RSS)</a> and <a href="<?php bloginfo('comments_rss2_url'); ?>">
Comments (RSS)</a>. <!-- <?php echo get_num_queries(); ?> queries.
 <?php timer_stop(1); ?> seconds. --> </p> </div> </div> </div>
<?php wp_footer(); ?> </body> </html>

Now replace the initial code would suffice for this and ready. Now you can modify to your liking without problems.

Source: http://mecus.es/2008/10/21/desofuscando-codigo/

Dime qué te ha parecido el artículo...

rating off Desofuscando código en plantillas de Wordpressrating off Desofuscando código en plantillas de Wordpressrating off Desofuscando código en plantillas de Wordpressrating off Desofuscando código en plantillas de Wordpressrating off Desofuscando código en plantillas de Wordpress (Ninguna valoración todavía)
loading Desofuscando código en plantillas de WordpressCargando…
Advertisements

Use of cookies

This site uses cookies for you to have the best user experience. If you continue to browse you are giving your consent to the acceptance of the above cookies and acceptance of our cookies policy, Click the link for more information.

OK
Notice of cookies

Veo que te gusta mi Blog...

Si te ha parecido interesante este artículo, no esperes a suscribirte a mi blog. Cuando vuelva a escribir otro seguro que te interesará y no desearás no haberte enterado. Puedes suscribirte con total tranquilidad de que no recibirás spam. Lo odio igual que tu. Solo quiero que aprendas cosas nuevas y te sientas agusto con mis artículos. ¡Gracias!

Thank you for subscribing!

Pin it on Pinterest

Share This

Share

Share this with your friends!