<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>Eric&#039;s Who Know &#187; footer</title> <atom:link href="http://who-know.com/tag/footer/feed/" rel="self" type="application/rss+xml" /><link>http://who-know.com</link> <description>C&#039;est La Vie</description> <lastBuildDate>Mon, 17 May 2010 22:21:05 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Decrypt WPBoxedTech footer.php step by step</title><link>http://who-know.com/decrypt-wpboxedtech-footer-step-by-step/</link> <comments>http://who-know.com/decrypt-wpboxedtech-footer-step-by-step/#comments</comments> <pubDate>Wed, 10 Feb 2010 19:24:14 +0000</pubDate> <dc:creator>Eric</dc:creator> <category><![CDATA[Free Teaching]]></category> <category><![CDATA[base64_decode]]></category> <category><![CDATA[footer]]></category> <category><![CDATA[gzinflate]]></category> <category><![CDATA[str_rot13]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[WPBoxedTech]]></category><guid isPermaLink="false">http://who-know.com/?p=98</guid> <description><![CDATA[00. 如果對您而言真的很難，請直接複製第 10 步驟或文章最後的程式碼取代 WPBoxedTech 的 footer.php
01. 於 WPBoxedTech 的 footer.php 看到 F9a2d8ce3('RlpySHNvUFlGVkoveFRPM2l3....省略....DkvL2ZmUHYvNFA=');
02. 所以到 WPBoxedTech 的 functions.php 找到 F9a2d8ce3($V341be97d) 刪掉完全用不到的全域變數、if判斷、switch case 等，我們會得到一個變數名稱都很鳥的程式碼，拿去 run 會出現找不到  Ff6d131d9()，所以只好再去 WPBoxedTech 的 functions.php 挖寶。
// Fatal error: Call to undefined function Ff6d131d9()
// 依序找不到的 funcion name 會是 : Ff6d131d9()，Ff2380753()，Fbef92ce0()，F8c4346d7()&#60;?phpfunction F9a2d8ce3( $V341be97d ) {$V62216a69 = explode( &#34;&#124;&#34;, $V341be97d );
$Vb4a88417 = &#34;&#34;;
for( $V865c0c0b [...]]]></description> <content:encoded><![CDATA[<p>00. 如果對您而言真的很難，請直接複製第 10 步驟或文章最後的程式碼取代 <a href="http://www.technologytricks.com/wpboxedtech-free-professional-premium-wordpress-theme/">WPBoxedTech</a> 的 footer.php</p><p>01. 於 <a href="http://www.technologytricks.com/wpboxedtech-free-professional-premium-wordpress-theme/">WPBoxedTech</a> 的 footer.php 看到 F9a2d8ce3('RlpySHNvUFlGVkoveFRPM2l3....省略....DkvL2ZmUHYvNFA=');</p><p>02. 所以到 <a href="http://www.technologytricks.com/wpboxedtech-free-professional-premium-wordpress-theme/">WPBoxedTech</a> 的 functions.php 找到 F9a2d8ce3($V341be97d) 刪掉完全用不到的全域變數、if判斷、switch case 等，我們會得到一個變數名稱都很鳥的程式碼，拿去 run 會出現找不到  Ff6d131d9()，所以只好再去 <a href="http://www.technologytricks.com/wpboxedtech-free-professional-premium-wordpress-theme/">WPBoxedTech</a> 的 functions.php 挖寶。<br /> // Fatal error: Call to undefined function Ff6d131d9()<br /> // 依序找不到的 funcion name 會是 : Ff6d131d9()，Ff2380753()，Fbef92ce0()，F8c4346d7()<span id="more-98"></span></p><pre class="brush: php;">
&lt;?php

function F9a2d8ce3( $V341be97d ) {

$V62216a69 = explode( &quot;|&quot;, $V341be97d );
$Vb4a88417 = &quot;&quot;;
for( $V865c0c0b = 0; $V865c0c0b &lt; count( $V62216a69 ); $V865c0c0b++ ) {
  $Vb4a88417 .= Ff6d131d9( $V62216a69[ $V865c0c0b ] );
  $V341be97d = ereg_replace(0x85, &quot;...&quot;, $V341be97d);
  $V341be97d = ereg_replace(0x91, &quot;'&quot;, $V341be97d);
  $V341be97d = ereg_replace(0x93, '&quot;', $V341be97d);
  $V341be97d = ereg_replace(0x94, '&quot;', $V341be97d);
}
  $Vb4a88417 = Ff6d131d9( $Vb4a88417 );
  $Vb4a88417 = Ff2380753( $Vb4a88417 );
  $Vb4a88417 = Fbef92ce0( $Vb4a88417 );
  $Vb4a88417 = F8c4346d7( $Vb4a88417 );
}

echo F9a2d8ce3('RlpySHNvUFlGVkoveFRPM2l3....省略....DkvL2ZmUHYvNFA=');
?&gt;
</pre><p>03. 也是廢話一堆，重點只有 return base64_decode( $V341be97d );</p><pre class="brush: php;">
&lt;?php
function Ff6d131d9( $V341be97d ) {

  global $V542b4c0f; $V10573b87 = &quot;SELECT ID, comment_ID, comment_content, comment_author_email, comment_author, comment_author_url, comment_date, post_title, comment_type
 FROM $V542b4c0f-&gt;comments LEFT JOIN $V542b4c0f-&gt;posts ON $V542b4c0f-&gt;posts.ID=$V542b4c0f-&gt;comments.comment_post_ID WHERE post_status IN ('publish','static')&quot;;

 return base64_decode( $V341be97d );
}
?&gt;
</pre><p>04. 加上去後再 run 看看</p><pre class="brush: php;">
&lt;?php

function Ff6d131d9( $V341be97d ) {
  return base64_decode( $V341be97d );
}

function F9a2d8ce3( $V341be97d ) {

$V62216a69 = explode( &quot;|&quot;, $V341be97d );
$Vb4a88417 = &quot;&quot;;
for( $V865c0c0b = 0; $V865c0c0b &lt; count( $V62216a69 ); $V865c0c0b++ ) {
  $Vb4a88417 .= Ff6d131d9( $V62216a69[ $V865c0c0b ] );
  $V341be97d = ereg_replace( 0x85, &quot;...&quot;, $V341be97d );
  $V341be97d = ereg_replace( 0x91, &quot;'&quot;, $V341be97d );
  $V341be97d = ereg_replace( 0x93, '&quot;', $V341be97d );
  $V341be97d = ereg_replace( 0x94, '&quot;', $V341be97d );
}
  $Vb4a88417 = Ff6d131d9( $Vb4a88417 );
  $Vb4a88417 = Ff2380753( $Vb4a88417 );
  $Vb4a88417 = Fbef92ce0( $Vb4a88417 );
  $Vb4a88417 = F8c4346d7( $Vb4a88417 );
}

echo F9a2d8ce3('RlpySHNvUFlGVkoveFRPM2l3....省略....DkvL2ZmUHYvNFA=');
?&gt;
</pre><p>05. 這次會找不到 Ff2380753()，所以我們再去 <a href="http://www.technologytricks.com/wpboxedtech-free-professional-premium-wordpress-theme/">WPBoxedTech</a> 的 functions.php 挖寶</p><pre class="brush: php;">
&lt;?php
function Ff2380753( $V341be97d ) {
  return str_rot13( $V341be97d );
  $Ve2e39b5c = 'Anonym'; $Va9b4ab92 = 'Webseite von &amp;lsaquo;'; $V52a106b8 = '&amp;rsaquo; besuchen';
}
?&gt;
</pre><p>06. 再加上去 run run 看，這次會找不到 Fbef92ce0，所以我們再去 <a href="http://www.technologytricks.com/wpboxedtech-free-professional-premium-wordpress-theme/">WPBoxedTech</a> 的 functions.php 挖寶</p><pre class="brush: php;">
&lt;?php
function Fbef92ce0( $V341be97d ) {
  return gzinflate( $V341be97d );
  if ( !$Vb5dc19ed ) $V10573b87 .= &quot;AND post_password ='' &quot;; $V10573b87 .= &quot;AND comment_approved = '1' ORDER BY comment_ID DESC LIMIT $V2ae6568f&quot;;
}
?&gt;
</pre><p>07. 再加上去 run run 看，這次會找不到 F8c4346d7，所以我們再去 <a href="http://www.technologytricks.com/wpboxedtech-free-professional-premium-wordpress-theme/">WPBoxedTech</a> 的 functions.php 挖寶<br /> // 接連幾個例子大家應該都能上手，所以這個就直接寫去蕪存菁過後的</p><pre class="brush: php;">
&lt;?php
function F8c4346d7( $V341be97d ) {
  return eval( $V341be97d );
}
?&gt;
</pre><p>08. 找完最後一個 undefined function，再 run run 看吧</p><pre class="brush: php;">
&lt;?php

function Ff6d131d9( $V341be97d ) {
  return base64_decode( $V341be97d );
}

function Ff2380753( $V341be97d ) {
  return str_rot13( $V341be97d );
}

function Fbef92ce0( $V341be97d ) {
  return gzinflate( $V341be97d );
}

function F8c4346d7( $V341be97d ) {
  return eval( $V341be97d );
}

function F9a2d8ce3( $V341be97d ) {

$V62216a69 = explode( &quot;|&quot;, $V341be97d );
$Vb4a88417 = &quot;&quot;;
for( $V865c0c0b = 0; $V865c0c0b &lt; count( $V62216a69 ); $V865c0c0b++ ) {
  $Vb4a88417 .= Ff6d131d9( $V62216a69[ $V865c0c0b ] );
  $V341be97d = ereg_replace( 0x85, &quot;...&quot;, $V341be97d );
  $V341be97d = ereg_replace( 0x91, &quot;'&quot;, $V341be97d );
  $V341be97d = ereg_replace( 0x93, '&quot;', $V341be97d );
  $V341be97d = ereg_replace( 0x94, '&quot;', $V341be97d );
}
  $Vb4a88417 = Ff6d131d9( $Vb4a88417 );
  $Vb4a88417 = Ff2380753( $Vb4a88417 );
  $Vb4a88417 = Fbef92ce0( $Vb4a88417 );
  $Vb4a88417 = F8c4346d7( $Vb4a88417 );
}

echo F9a2d8ce3('RlpySHNvUFlGVkoveFRPM2l3....省略....DkvL2ZmUHYvNFA=');
?&gt;
</pre><p>09. 是不是跑出了</p><p>eval(gzinflate(str_rot13(base64_decode('....省略....'))));</p><p>10. 最後用之前介紹的 <a href="http://who-know.com/decrypt.php" target="_blank">eval(gzinflate(str_rot13(base64_decode('....'))));</a></p><pre class="brush: php;">
&lt;/div&gt;
&lt;div id=&quot;sidebars&quot;&gt;
  &lt;?php get_sidebar(); ?&gt;
  &lt;?php include (TEMPLATEPATH . '/sidebar_right.php'); ?&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;div id=&quot;footer_box&quot;&gt;
  &lt;div class=&quot;box&quot;&gt;&lt;div class=&quot;box_outer&quot;&gt;&lt;div class=&quot;box_inner&quot;&gt;&lt;div class=&quot;box_bottom_right&quot;&gt;&lt;div class=&quot;box_bottom_left&quot;&gt;
    &lt;?php include (TEMPLATEPATH . '/bottom.php'); ?&gt;
  &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;div id=&quot;footer&quot;&gt;
  Copyright &amp;copy; &lt;?php echo gmdate(__('Y')); ?&gt;. &lt;a href=&quot;http://www.technologytricks.com/wpboxedtech-free-professional-premium-wordpress-theme/&quot;&gt;WP BoxedTech&lt;/a&gt; theme by &lt;a href=&quot;http://www.onlinehealthdeals.com/&quot;&gt;Health Coupons&lt;/a&gt;. Supported by BlueHost &lt;a href=&quot;http://www.bluehost.com/&quot;&gt;Web Hosting&lt;/a&gt;, &lt;a href=&quot;http://www.bingodazzle.co.uk/&quot;&gt;Free Bingo&lt;/a&gt;, &lt;a href=&quot;http://webhosting.reviewitonline.net/&quot;&gt;Web Hosting&lt;/a&gt; &amp; &lt;a href=&quot;http://www.photoads.co.uk/&quot;&gt;Classified Ads&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre><p>12. 眼睛好點會發現下面四行沒有用，最後把他改成比較好懂的程式碼</p><p>$V341be97d = ereg_replace( 0x85, "...", $V341be97d );<br /> $V341be97d = ereg_replace( 0x91, "'", $V341be97d );<br /> $V341be97d = ereg_replace( 0x93, '"', $V341be97d );<br /> $V341be97d = ereg_replace( 0x94, '"', $V341be97d );</p><pre class="brush: php;">
&lt;?php

function F9a2d8ce3( $encryptedStr ) {

  $explodedStr = explode( &quot;|&quot;, $encryptedStr );
  $decryptedStr = &quot;&quot;; 

  for( $i = 0; $i &lt; count( $explodedStr ); $i++ ) {
    $decryptedStr .= base64_decode( $explodedStr[ $i ] );
  }

  return gzinflate( str_rot13( base64_decode( $decryptedStr ) ) );

}

echo F9a2d8ce3('RlpySHNvUFlGVkoveFRPM2l3....省略....DkvL2ZmUHYvNFA=');
?&gt;
</pre><p>11. 感覺怎麼樣呢? 是不是不輸線上遊戲的解謎?</p><p>ps.<br /> 01. <a href="http://www.technologytricks.com/wpboxedtech-free-professional-premium-wordpress-theme/">WPBoxedTech</a> 下面最左邊要裝 <a href="http://wordpress.org/extend/plugins/flickr-rss/">FlickrRSS Plugin</a>；中間要有 <a href="http://www.mybloglog.com/">MyBlogLog</a> 的帳號( 填在 WPBoxedTech Settings -> MyBlogLog ID )，類似誰來我家的功能；最右邊是一堆 <a href="http://digg.com/">Digg</a>、<a href="http://twitter.com/">Twitter</a>、<a href="http://www.facebook.com/">Facebook</a> 等 Web 2.0 的功能，如果您像我如此這般的"陽光"，感覺用不到的話</p><p>以下擇一<br /> a. 清空 <a href="http://www.technologytricks.com/wpboxedtech-free-professional-premium-wordpress-theme/">WPBoxedTech</a> 的 bottom.php 裡面的程式碼。<br /> b. 刪掉 <a href="http://www.technologytricks.com/wpboxedtech-free-professional-premium-wordpress-theme/">WPBoxedTech</a> 的 footer.php 裡的<pre class="brush: php;">&lt;?php include (TEMPLATEPATH . '/bottom.php'); ?&gt;</pre><p>2. 精簡過後的版本</p><pre class="brush: php;">
&lt;/div&gt;
&lt;div id=&quot;sidebars&quot;&gt;
  &lt;?php get_sidebar(); ?&gt;
  &lt;?php include (TEMPLATEPATH . '/sidebar_right.php'); ?&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;div id=&quot;footer_box&quot;&gt;
  &lt;div class=&quot;box&quot;&gt;&lt;div class=&quot;box_outer&quot;&gt;&lt;div class=&quot;box_inner&quot;&gt;&lt;div class=&quot;box_bottom_right&quot;&gt;&lt;div class=&quot;box_bottom_left&quot;&gt;
    &lt;?php include (TEMPLATEPATH . '/bottom.php'); ?&gt;
  &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;div id=&quot;footer&quot;&gt;
  &lt;p&gt;Copyright &amp;copy; &lt;?php echo gmdate(__('Y')); ?&gt;. &lt;?php bloginfo('name'); ?&gt; All rights reserved. Designed by &lt;a href=&quot;http://www.technologytricks.com/wpboxedtech-free-professional-premium-wordpress-theme/&quot; target=&quot;_blank&quot;&gt;WP BoxedTech&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>]]></content:encoded> <wfw:commentRss>http://who-know.com/decrypt-wpboxedtech-footer-step-by-step/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>This theme is released under creative commons licence, all links in the footer should remain intact.</title><link>http://who-know.com/this-theme-is-released-under-creative-commons-licence-all-links-in-the-footer-should-remain-intact/</link> <comments>http://who-know.com/this-theme-is-released-under-creative-commons-licence-all-links-in-the-footer-should-remain-intact/#comments</comments> <pubDate>Sun, 27 Sep 2009 10:03:15 +0000</pubDate> <dc:creator>Eric</dc:creator> <category><![CDATA[Free Teaching]]></category> <category><![CDATA[Autoptimize]]></category> <category><![CDATA[base64_decode]]></category> <category><![CDATA[byteRun Decode]]></category> <category><![CDATA[eval]]></category> <category><![CDATA[footer]]></category> <category><![CDATA[gzinflate]]></category> <category><![CDATA[str_rot13]]></category> <category><![CDATA[theme]]></category><guid isPermaLink="false">http://who-know.com/?p=80</guid> <description><![CDATA[00. 剛才要幫忙解決移除佈景側欄的問題就下載了對方使用的 interior-theme-10 風格, 一解壓縮並於後台啟用, 都還沒做任何修改, 結果 WordPress 前後台都出現下面那一段話。 "This theme is released under creative commons licence, all links in the footer should remain intact."01. 於是打開了 functions.php 和 footer.php 就大概知道發生什麼事了。
02. 刪除 functions.php 裡看起來就不是什麼好東西的 code // 跟 eval 有關的
eg: eval(str_rot13('......'));
03. 怕沒刪除乾淨, 於是又用 Editor 檢查看看是不是還有被 eval 加密的  // 常在 functions.php, header.php
&#160;&#160;a. EmEditor -> 搜尋 -> 從檔案中尋找 [...]]]></description> <content:encoded><![CDATA[<p>00. 剛才要幫忙解決移除佈景側欄的問題就下載了對方使用的 interior-theme-10 風格, 一解壓縮並於後台啟用, 都還沒做任何修改, 結果 <a href="http://wordpress.org/" target="_blank">WordPress</a> 前後台都出現下面那一段話。 "This theme is released under creative commons licence, all links in the footer should remain intact."<br /> <span id="more-80"></span><br /> 01. 於是打開了 functions.php 和 footer.php 就大概知道發生什麼事了。</p><p>02. 刪除 functions.php 裡看起來就不是什麼好東西的 code // 跟 eval 有關的<br /> eg: eval(str_rot13('......'));</p><p>03. 怕沒刪除乾淨, 於是又用 Editor 檢查看看是不是還有被 eval 加密的  // 常在 functions.php, header.php</p><p>&nbsp;&nbsp;a. <a href="http://www.emeditor.com/" target="_blank">EmEditor</a> -> 搜尋 -> 從檔案中尋找 -> 尋找: eval, 檔案類型: *.php, 在資料夾: 設定您該 Theme 所在位置 -> 尋找</p><p>&nbsp;&nbsp;b. <a href="http://notepad-plus.sourceforge.net/" target="_blank">NotePad++</a> -> 尋找 -> 搜尋目錄 -> 尋找目標: eval, 檔案類型: *.php, 資料夾: 設定您該 Theme 所在位置 -> 全找</p><p>&nbsp;&nbsp;c. <a href="http://www.ultraedit.com/" target="_blank">UltraEdit</a> ->  搜尋 -> 在檔案中尋找 -> 搜尋什麼: eval, 於檔案/類型: *.php, 目錄: 設定您該 Theme 所在位置 -> 搜尋</p><p>&nbsp;&nbsp;d. <a href="http://www.pspad.com/" target="_blank">PSPad</a> -> 搜尋 -> 多重檔案尋找/取代 -> 要搜尋文字: eval, 選擇的目錄: 設定您該 Theme 所在位置, 檔案過濾: *.php -> 確定</p><p>04. 找到含有 eval 的檔案後, 除了 footer.php, 其它檔案打開刪除包含 eval() 那句即可<br /> 不過如果像是</p><pre class="brush: php;">&lt;?php eval(str_rot13('')); wp_head(); ?&gt;</pre><p> 則不能直接刪除, 而要改成<pre class="brush: php;">&lt;?php wp_head(); ?&gt;</pre><p>05. 如果想看看 footer.php 就用下面的方法</p><p>&nbsp;&nbsp;a. 使用 <a href="http://who-know.com/o/base64_Decoder.php" target="_blank">base64 Decoder</a> : 如果 footer 加密方式是 eval(gzinflate(str_rot13(base64_decode('......')))); or eval(gzinflate(base64_decode('')));</p><p>&nbsp;&nbsp;b. 使用 <a href="http://who-know.com/o/byteRun_Decoder.php" target="_blank">byteRun Decoder</a> : 如果 footer 加密方式是 $_F=__FILE__;$_X='......';eval(base64_decode('......'));</p><p>&nbsp;&nbsp;c. 在 ./wp-content/themes/主題名稱/index.php 找到<?php get_footer(); ?>, 在其前後分別加上一些註解, 然後打開您的 WordPress, 檢是原始碼, 找到 、之間的內容, 即為您的 footer 的內容。</p><pre class="brush: php;">&lt;!--Start of footer--&gt;
&lt;?php get_footer(); ?&gt;
&lt;!--End of footer--&gt;</pre><p>// 不過如果有用 <a href="http://wordpress.org/extend/plugins/autoptimize/" target="_blank">Autoptimize</a> 這個插件, 它可是把註解吃到, 所以可以改成</p><pre class="brush: php;">&lt;h1&gt;Start of footer&lt;/h1&gt;
&lt;?php get_footer(); ?&gt;
&lt;h1&gt;End of footer&lt;/h1&gt;
</pre>]]></content:encoded> <wfw:commentRss>http://who-know.com/this-theme-is-released-under-creative-commons-licence-all-links-in-the-footer-should-remain-intact/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>解開WP Theme footer.php被加密 &#8211; Decrypt or Decode Eval Gzinflate Base64_Decode</title><link>http://who-know.com/decrypt-or-decode-eval-gzinflate-base64_decode/</link> <comments>http://who-know.com/decrypt-or-decode-eval-gzinflate-base64_decode/#comments</comments> <pubDate>Thu, 19 Mar 2009 15:49:14 +0000</pubDate> <dc:creator>Eric</dc:creator> <category><![CDATA[Free Resource]]></category> <category><![CDATA[Free Teaching]]></category> <category><![CDATA[Decode]]></category> <category><![CDATA[Decrypt]]></category> <category><![CDATA[Eval Gzinflate Base64_Decode]]></category> <category><![CDATA[footer]]></category> <category><![CDATA[PHP]]></category><guid isPermaLink="false">http://who-know.com/decrypt-or-decode-eval-gzinflate-base64_decode/</guid> <description><![CDATA[00. 請同意閱讀後，不會修改掉Theme(風格)作者的資訊，感謝配合。
01. 有時候好不容易看中意一個 WordPress Theme，不幸的是把 footer.php&#160; 打開來卻發現，它怎麼變的鬼模鬼樣，不是一般熟悉的 PHP、Html 語法。這時如果你需要放廣告在最下面，或者需要放此空間由xxx提供、代管之類的文字，但 footer 又不能更改，且又不想改放在其它位置，這時你可能就會放棄這個好不容易看上的 Theme (風格)，想著或許它不是我的 soulmate，所以又再一次踏上尋覓之路。如果你有上述的問題，且你的 footer 的編碼的方式是類似於 eval gzinflate base64_decode，就請照著下面的步驟來解決吧。
02. 請先連到 Decrypt or Decode eval gzinflate base64_decode
03. 原本footer.php大概是長的這樣&#60;? eval(gzinflate(str_rot13(base64_decode('................')))); ?&#62;04. 但我們只需要把中間的程式碼貼到上方大框框，然後按下Decode即可eval(gzinflate(str_rot13(base64_decode('................'))));05. 神奇的事情就發生了?&#62;        &#60;!-- Sidebar --&#62;
&#60;div class=&#34;sidebar sidebar-right&#34;&#62;[...]]]></description> <content:encoded><![CDATA[<p>00. 請同意閱讀後，不會修改掉Theme(風格)作者的資訊，感謝配合。</p><p>01. 有時候好不容易看中意一個 WordPress Theme，不幸的是把 footer.php&#160; 打開來卻發現，它怎麼變的鬼模鬼樣，不是一般熟悉的 PHP、Html 語法。這時如果你需要放廣告在最下面，或者需要放此空間由xxx提供、代管之類的文字，但 footer 又不能更改，且又不想改放在其它位置，這時你可能就會放棄這個好不容易看上的 Theme (風格)，想著或許它不是我的 soulmate，所以又再一次踏上尋覓之路。如果你有上述的問題，且你的 footer 的編碼的方式是類似於 eval gzinflate base64_decode，就請照著下面的步驟來解決吧。</p><p>02. 請先連到 <a href="http://who-know.com/decrypt.php" target="_blank">Decrypt or Decode eval gzinflate base64_decode</a></p><p>03. 原本footer.php大概是長的這樣</p><div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &#39;Courier New&#39;, courier, monospace; height: 39px; background-color: #f4f4f4"><div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #0000ff">&lt;?</span> eval(gzinflate(str_rot13(base64_decode('................')))); ?<span style="color: #0000ff">&gt;</span></pre></p></div></div><p>04. 但我們只需要把中間的程式碼貼到上方大框框，然後按下Decode即可</p><div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &#39;Courier New&#39;, courier, monospace; height: 48px; background-color: #f4f4f4"><div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none">eval(gzinflate(str_rot13(base64_decode('................'))));</pre></p></div></div><p>05. 神奇的事情就發生了</p><pre class="brush: php;">
?&gt;        &lt;!-- Sidebar --&gt;
        &lt;div class=&quot;sidebar sidebar-right&quot;&gt;

            &lt;h3&gt;Categories&lt;/h3&gt;
            &lt;ul&gt;
                &lt;?php noXD_list_categories('title_li='); ?&gt;
            &lt;/ul&gt;

            &lt;h3&gt;Blogroll&lt;/h3&gt;
            &lt;ul&gt;
                &lt;?php noXD_list_bookmarks('categorize=0&amp;title_li='); ?&gt;
            &lt;/ul&gt;

            &lt;?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(2) ) : ?&gt;

            &lt;?php endif; ?&gt;

        &lt;/div&gt;
        &lt;!-- Sidebar --&gt;

        &lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;

    &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
    &lt;!-- /Main --&gt;

    &lt;!-- Footer --&gt;
    &lt;div id=&quot;footer&quot;&gt;

        &lt;!-- Copyright --&gt;
        &lt;div id=&quot;copyright&quot;&gt;
            &lt;br /&gt;(c)Copyrighted &lt;?php bloginfo('name'); ?&gt;, All Rights Reserved.&lt;br /&gt;
Designed by: &lt;a href=&quot;http://www.reikimadrid.com&quot;&gt;Reiki&lt;/a&gt;
        &lt;/div&gt;
        &lt;!-- /Copyright --&gt;

    &lt;/div&gt;
    &lt;!-- Footer --&gt;

&lt;/div&gt;
&lt;!-- /Page --&gt;

&lt;?php noXD_footer(); ?&gt;

&lt;/body&gt;

&lt;/html&gt;&lt;?
</pre><p><span id="more-58"></span><p>06. 如果 <a href="http://who-know.com/decrypt.php" target="_blank">Decrypt or Decode eval gzinflate base64_decode</a> 連不上去，請複製下面的PHP Code，檔名存成decrypt.php</p><p><pre class="brush: php;">
&lt;?php
    echo &quot;\nDECODE nested eval(gzinflate()) by DEBO Jurgen &lt;jurgen@person.be&gt;\n\n&quot;; 

    echo &quot;1. Reading coded.txt\n&quot;;
    $fp1      = fopen (&quot;coded.txt&quot;, &quot;r&quot;);
    $contents = fread ($fp1, filesize (&quot;coded.txt&quot;));
    fclose($fp1); 

    echo &quot;2. Decoding\n&quot;;
    while (preg_match(&quot;/eval\(gzinflate/&quot;,$contents)) {
        $contents=preg_replace(&quot;/&lt;\?|\?&gt;/&quot;, &quot;&quot;, $contents);
        eval(preg_replace(&quot;/eval/&quot;, &quot;\$contents=&quot;, $contents));
    } 

    echo &quot;3. Writing decoded.txt\n&quot;;
    $fp2 = fopen(&quot;decoded.txt&quot;,&quot;w&quot;);
    fwrite($fp2, trim($contents));
    fclose($fp2);
?&gt;
</pre></p><p>07. 然後新增兩個空白的文字檔案，名稱分別為coded.txt和decoded.txt。把剛剛要放到大框框的那串語法貼到裡面coded.txt；decoded.txt裡面的內容則是保持空白即可。</p><p>08. 然後把這三個檔案上傳到有支援PHP的空間，或者自己用AppServ建個PHP環境，如果你的主機不是Windows，請把decoded.txt設成666 (CHMOD)。</p><p>08. 最後打開 http://你的網址/如果有放在資料夾下/decrypt.php，然後把經過解碼後的decoded.txt下載下來就是你的footer.php未經編碼前的樣子了。</p><p>//&#160; 有的Theme從後台編輯，就可以看到正常的PHP程式碼<br /> //&#160; 此方法只適合解 eval(gzinflate(str_rot13(base64_decode('code'))));<br /> //&#160; 再補幾個也是提供相關服務的網站吧<br /> a.) <a href="http://who-know.com/byteRunDecoder.php" target="_blank">Decrypt or Decode PHP files encoded with $_F=__FILE__;$_X= ByteRun Encoding</a><br /> b.) <a href="http://www.tareeinternet.com/scripts/decrypt.php" target="_blank">Eval Gzinflate Base64_Decode PHP Decoder</a></p><p>Ref :<br /> 01. <a href="http://www.tareeinternet.com/forum/knowledgebase/274-decoding-eval-gzinflate-base64_decode.html" target="_blank">Decoding Eval Gzinflate Base64_Decode</a><br /> 02. <a href="http://www.expertsforge.com/Web-Development/php-tool-free-code-decode-eval-gzinflate-base64decode-231.asp" target="_blank">PHP Tool Free Code Decode Eval Gzinflate Base64decode</a><br /> 03. <a href="http://tw.php.net/manual/en/function.eval.php#59862" target="_blank">PHP Function Eval</a></p> ]]></content:encoded> <wfw:commentRss>http://who-know.com/decrypt-or-decode-eval-gzinflate-base64_decode/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>