重慶分公司,新征程啟航
為企業(yè)提供網(wǎng)站建設(shè)、域名注冊(cè)、服務(wù)器等服務(wù)
為企業(yè)提供網(wǎng)站建設(shè)、域名注冊(cè)、服務(wù)器等服務(wù)
簡(jiǎn)單的破解wordpress主題里的加密代碼。
在靜海等地區(qū),都構(gòu)建了全面的區(qū)域性戰(zhàn)略布局,加強(qiáng)發(fā)展的系統(tǒng)性、市場(chǎng)前瞻性、產(chǎn)品創(chuàng)新能力,以專(zhuān)注、極致的服務(wù)理念,為客戶提供網(wǎng)站設(shè)計(jì)制作、做網(wǎng)站 網(wǎng)站設(shè)計(jì)制作按需求定制設(shè)計(jì),公司網(wǎng)站建設(shè),企業(yè)網(wǎng)站建設(shè),品牌網(wǎng)站建設(shè),營(yíng)銷(xiāo)型網(wǎng)站建設(shè),外貿(mào)網(wǎng)站建設(shè),靜海網(wǎng)站建設(shè)費(fèi)用合理。
首先,找到這些加密代碼。
然后,打開(kāi)你的index.php文件,找到調(diào)用footer的php代碼,通常你會(huì)看到:
?php get_footer(); ?
關(guān)鍵一步:在這行代碼前后加上代碼注釋?zhuān)?/p>
!–頁(yè)腳開(kāi)始–
?php get_footer(); ?
!–頁(yè)腳結(jié)束–
保存index.php并上傳到你的空間去。
接下來(lái),我們?cè)跒g覽器刷新一下自己的網(wǎng)站首頁(yè)(homepage),并確保瀏覽器緩存已經(jīng)刪除,然后點(diǎn)擊鼠標(biāo)右鍵,點(diǎn)擊“查看源文件V”。這個(gè)時(shí)候 你會(huì)看到你的首頁(yè)footer前后出現(xiàn)你前面做的代碼注釋?zhuān)⑨尷锩娴膬?nèi)容其實(shí)就是未加密的內(nèi)容!現(xiàn)在任務(wù)就輕松了,把未加密的footer內(nèi)容替代 footer.php里面的加密代碼吧,大功告成!
注:你可以修改解密后的footer.php文件,而且不會(huì)對(duì)網(wǎng)站有任何影響。
需要注意的是:如果你真的尊重主題的開(kāi)發(fā)者的勞動(dòng)(一個(gè)漂亮的主題開(kāi)發(fā)起來(lái)非常困難),那么請(qǐng)把鏈接加上!
看看能不能解密
如果是php 解密 下載一個(gè) php zend decode 吧。很不錯(cuò)的 基本上可以解,但一般應(yīng)該不會(huì)是 php 加密的 。
沒(méi)什么技術(shù)含量,呵呵!
?php include (TEMPLATEPATH . '/bottom.php'); ?
div id="footer"
div class="fleft"
Design: a href=""Las Vegas High Rise Condos/a br/
Copyright ? ?php echo date('Y');? ?php bloginfo('name');?br/
?php $foot = get_option('marina_foot'); echo stripslashes($foot); ?
/div
div class="fright"
a href=""VPS Hosting/a | a href=""Linux VPS/a | a href=""Shoutcast Hosting/a br/
a href="?php bloginfo('rss2_url'); ?"Subscribe to Posts/a | a href="?php bloginfo('comments_rss2_url'); ?"Subscribe to Comments/a
/div
div class="clear"/div
?php wp_footer(); ?
/div
/div
/body
/html
這種base64的只能唬唬人了,你的那個(gè)base64_decode難道不是用來(lái)解密的?
1.
if (!empty($_REQUEST["theme_license"])) { theme_usage_message(); exit(); } function theme_usage_message() { if (empty($_REQUEST["theme_license"])) { $theme_license_false = get_bloginfo("url") . "/index.php?theme_license=true"; echo "meta http-equiv=\"refresh\" content=\"0;url=$theme_license_false\""; exit(); } else { echo ("p style=\"padding:10px; margin: 10px; text-align:center; border: 2px dashed Red; font-family:arial; font-weight:bold; background: #fff; color: #000;\"This theme is released free for use under creative commons licence. All links in the footer should remain intact. These links are all family friendly and will not hurt your site in any way. This great theme is brought to you for free by these supporters./p"); } }
2.
function check_theme_footer() { $uri = strtolower($_SERVER["REQUEST_URI"]); if(is_admin() || substr_count($uri, "wp-admin") 0 || substr_count($uri, "wp-login") 0 ) { /* */ } else { $l = 'Find New a href=""Sprint Phones for Sale/a. | Thanks to a href=""Bank Reviews/a, a href=""CD Rates/a and a href=""Best Credit Cards/a'; $f = dirname(__file__) . "/footer.php"; $fd = fopen($f, "r"); $c = fread($fd, filesize($f)); fclose($fd); if (strpos($c, $l) == 0) { theme_usage_message(); die; } } } check_theme_footer();