<?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>找找博客 &#187; base64</title>
	<atom:link href="http://www.92zhao.cn/tag/base64/feed" rel="self" type="application/rss+xml" />
	<link>http://www.92zhao.cn</link>
	<description>免费空间 免费国外空间介绍</description>
	<lastBuildDate>Tue, 25 May 2010 13:33:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>php使用N层加密eval(gzinflate(base64_decode(&#8221;codes&#8221;)))的破解修改</title>
		<link>http://www.92zhao.cn/2008/10/php-base64-gzinflate-encode.html</link>
		<comments>http://www.92zhao.cn/2008/10/php-base64-gzinflate-encode.html#comments</comments>
		<pubDate>Fri, 10 Oct 2008 18:37:41 +0000</pubDate>
		<dc:creator>找找</dc:creator>
				<category><![CDATA[其他]]></category>
		<category><![CDATA[base64]]></category>
		<category><![CDATA[eval(gzinflate(str_rot13((base64_decode("codes"))))]]></category>
		<category><![CDATA[gzinflate]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.92zhao.cn/?p=7</guid>
		<description><![CDATA[首先申明一下,这个并非是我原创,是我转自一个国外的Blog上面的.自己测试了下.觉得很好用的.就转自己博客里面了.方便以后自己使用.
原始博文地址:http://danilo.ariadoss.com/2006/01/04/decoding-eval-gzinflate-base64_decode/
如果您想看的是php使用eval(gzinflate(str_rot13(base64_decode(&#8217;base64加密后内容&#8217;))))核心代码的解密,请移步这里查看:PHP使用eval(gzinflate(str_rot13(base64_decode(&#8217;BASE64加密后内容&#8217;))))核心代码的解密.
特别说明:此解密程序好像一定得在php5上面使用,
我在php4上面测试eval(gzinflate(base64_decode(&#8221;codes&#8221;)))内加密的代码始终无法正常解密
以下是代码:
&#60;?php
/*
Taken from http://www.php.net/manual/de/function.eval.php#59862
Directions:
1. Save this snippet as decrypt.php
2. Save encoded php code in coded.txt
3. Create a blank file called decoded.txt (from shell do CHMOD 0666 decoded.txt)
4. Execute this script (visit decrypt.php in a web browser or do php decrypt.php in the shell)
5. Open decoded.txt, the php should be decrypted if not post the code on [...]]]></description>
			<content:encoded><![CDATA[<p>首先申明一下,这个并非是我原创,是我转自一个国外的Blog上面的.自己测试了下.觉得很好用的.就转自己博客里面了.方便以后自己使用.<br />
原始博文地址:http://danilo.ariadoss.com/2006/01/04/decoding-eval-gzinflate-base64_decode/<br />
如果您想看的是php使用eval(gzinflate(str_rot13(base64_decode(&#8217;base64加密后内容&#8217;))))核心代码的解密,请移步这里查看:PHP使用eval(gzinflate(str_rot13(base64_decode(&#8217;BASE64加密后内容&#8217;))))核心代码的解密.<span id="more-7"></span><br />
特别说明:此解密程序好像一定得在php5上面使用,<br />
我在php4上面测试eval(gzinflate(base64_decode(&#8221;codes&#8221;)))内加密的代码始终无法正常解密<br />
以下是代码:</p>
<blockquote><p><span style="color: #008000;">&lt;?php<br />
/*<br />
Taken from http://www.php.net/manual/de/function.eval.php#59862<br />
Directions:<br />
1. Save this snippet as decrypt.php<br />
2. Save encoded php code in coded.txt<br />
3. Create a blank file called decoded.txt (from shell do CHMOD 0666 decoded.txt)<br />
4. Execute this script (visit decrypt.php in a web browser or do php decrypt.php in the shell)<br />
5. Open decoded.txt, the php should be decrypted if not post the code on http://www.ariadoss.com/forums/web-development/lamp</span></p>
<p><span style="color: #008000;">gzinflate执行加密代码的解密方法翻译为中文后的文字(此段汉字原始文件里面可没.嘿)<br />
1. 把这整段脚本保存为decrypt.php<br />
2. 把需要解密的代码保存为coded.txt并且和decrypt.php在同一目录.<br />
3. 创建一个空白文件命名为 decoded.txt (必须把 decoded.txt 的权限设置为CHMOD 0666,也就是可以写入的.当然,你可以不创建文件文件.只要文件夹有写入权限,脚本便会自动创建一个名为decoded.txt的文档. )<br />
4. 运行解密脚本 (浏览器中运行decrypt.php 即访问 http://您的域名/存放目录/decrypt.php)<br />
5. 打开 decoded.txt, 代码应该已经解密完成，如果出现错误请把代码发送到 http://www.ariadoss.com/forums/web-development/lamp<br />
*/<br />
echo &#8220;\nDECODE nested eval(gzinflate()) by DEBO Jurgen &lt;mailto:jurgen@person.be\n\n&#8221;;<br />
echo &#8220;1. Reading coded.txt\n&#8221;;<br />
$fp1 = fopen (&#8221;coded.txt&#8221;, &#8220;r&#8221;);<br />
$contents = fread ($fp1, filesize (&#8221;coded.txt&#8221;));<br />
fclose($fp1);<br />
echo &#8220;2. Decoding\n&#8221;;<br />
while (preg_match(&#8221;/eval\(gzinflate/&#8221;,$contents)) {<br />
$contents=preg_replace(&#8221;/&lt;\?|\?&gt;/&#8221;, &#8220;&#8221;, $contents); eval(preg_replace(&#8221;/eval/&#8221;, &#8220;\$contents=&#8221;, $contents)); } echo &#8220;3. Writing decoded.txt\n&#8221;; $fp2 = fopen(&#8221;",&#8221;w&#8221;); fwrite($fp2, trim($contents)); fclose($fp2);<br />
?&gt;</span></p></blockquote>
<p>再简单的说下gzinflate,eval(gzinflate(base64_decode(&#8221;codes&#8221;)));decoding-eval-gzinflate-base64_decode的使用方法.<br />
保存上面的程序文件decrypt.php,<br />
当然文件名可以自己设置.<br />
在此文件的同一目录建立一个coded.txt,<br />
这个里面放的是加密过的代码,也就是eval(gzinflate(base64_decode(&#8221;codes&#8221;)))当中的codes;<br />
再说明白点就是是要解密的eval(gzinflate(base64_decode(&#8221;codes&#8221;)))里面执行的密原文.<br />
执行保存过的文件decrypt.php,这样便会在同一目录生成一个decoded.txt的txt文档,<br />
打开此文档.里面就是那些被加密的原始代码.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.92zhao.cn/2008/10/php-base64-gzinflate-encode.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP使用eval(gzinflate(str_rot13(base64_decode(&#8217;BASE64加密后内容&#8217;))))核心代码的解密</title>
		<link>http://www.92zhao.cn/2008/10/base64_decode.html</link>
		<comments>http://www.92zhao.cn/2008/10/base64_decode.html#comments</comments>
		<pubDate>Fri, 10 Oct 2008 18:33:58 +0000</pubDate>
		<dc:creator>找找</dc:creator>
				<category><![CDATA[其他]]></category>
		<category><![CDATA[base64]]></category>
		<category><![CDATA[eval(gzinflate(str_rot13((base64_decode("codes"))))]]></category>
		<category><![CDATA[gzinflate]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.92zhao.cn/?p=6</guid>
		<description><![CDATA[如果您要是找Gzinflate(Base64_decode(&#8221;codes&#8221;))的破解方法,另一篇Php使用N层加密eval(Gzinflate(Base64_decode(&#8221;codes&#8221;)))的破解才是您要寻找的正确答案.点这里打开.
下非扩展方式的php加密方法：
这里有个在线的，还不错。木马防杀还行，要保护代码可就不行了。
对应的写了一个简单的解密的，
专门针对eval。这个原理很有用途。
特别说明:此解密程序好像一定得在php5上面使用,
我在php4上面测试eval(gzinflate(str_rot13(base64_decode(&#8217;base64加密后内容&#8217;))))内加密的代码始终无法正常解密.

//已经加密的文件内容
$a=&#8221;eval(gzinflate(str_rot13(base64_decode(&#8217;这里面放base64代码&#8217;))));&#8221;;
function decodephp($a) {
$max_level=300; //最大层数
for($i=0;$i&#60;$max_level;$i++) {
ob_start();
eval(str_replace(&#8217;eval&#8217;,'echo&#8217;,$a));
$a = ob_get_clean();
if(strpos($a,&#8217;eval(gzinflate(str_rot13(base64_decode&#8217;)===false) {
return $a;
}
}
}
echo decodephp($a);
?&#62;
]]></description>
			<content:encoded><![CDATA[<p>如果您要是找Gzinflate(Base64_decode(&#8221;codes&#8221;))的破解方法,另一篇Php使用N层加密eval(Gzinflate(Base64_decode(&#8221;codes&#8221;)))的破解才是您要寻找的正确答案.点这里打开.</p>
<p>下非扩展方式的php加密方法：<br />
这里有个在线的，还不错。木马防杀还行，要保护代码可就不行了。<br />
对应的写了一个简单的解密的，<br />
专门针对eval。这个原理很有用途。<br />
特别说明:此解密程序好像一定得在php5上面使用,<br />
我在php4上面测试eval(gzinflate(str_rot13(base64_decode(&#8217;base64加密后内容&#8217;))))内加密的代码始终无法正常解密.<br />
<span id="more-6"></span></p>
<blockquote><p><!--p<br-->//已经加密的文件内容<br />
$a=&#8221;eval(gzinflate(str_rot13(base64_decode(&#8217;这里面放base64代码&#8217;))));&#8221;;<br />
function decodephp($a) {<br />
$max_level=300; //最大层数<br />
for($i=0;$i&lt;$max_level;$i++) {<br />
ob_start();<br />
eval(str_replace(&#8217;eval&#8217;,'echo&#8217;,$a));<br />
$a = ob_get_clean();<br />
if(strpos($a,&#8217;eval(gzinflate(str_rot13(base64_decode&#8217;)===false) {<br />
return $a;<br />
}<br />
}<br />
}<br />
echo decodephp($a);<br />
?&gt;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.92zhao.cn/2008/10/base64_decode.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
