<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[计算机  &gt; 安全  &gt; 加密解密  - FF87论坛!]]></title>
<link><![CDATA[list.php?mode=a&area_id=1-15_1_4]]></link>
<description><![CDATA[该标签仍可细分：]]></description>
<copyright>(c) 2012, 162100.com. All rights reserved.</copyright>
<generator>162100.com</generator>
<image>
  <url><![CDATA[inc/css/a/area_logo_1-15.gif]]></url>
  <title><![CDATA[计算机  &gt; 安全  &gt; 加密解密  - FF87论坛!]]></title>
  <link><![CDATA[list.php?mode=a&area_id=1-15_1_4]]></link>
</image>
<item>
  <title><![CDATA[电脑移动滑块解锁工具]]></title>
  <description><![CDATA[http://pan.baidu.com/s/1ntHoyz3<a href="http://pan.baidu.com/s/1ntHoyz3" target="_blank">点击查看</a> 提取密码：gl2y]]></description>
  <category><![CDATA[]]></category>
  <link><![CDATA[article.php?mode=a&id=1401]]></link>
  <author><![CDATA[zyc]]></author>
  <pubDate><![CDATA[Sat, 13 Jun 2015 08:23:20 +0800]]></pubDate>
</item>
<item>
  <title><![CDATA[PHP网站源码保护神器Zend Guard 5.5破解]]></title>
  <description><![CDATA[<font size="3">PHP是目前网站使用最多的服务器端开发语言，著名的案例包括国外的FaceBook、国内的新浪、校内和淘宝网等等。据统计，全世界超过70%的网站都是用PHP语言开发的。但很多学习PHP网站开发的学员发现，PHP编写的源代码是明码的形式，也就是说，自己的辛苦成果很容易被别人拿走。那怎么才能有效地保护自己写的网站源代码呢？<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 众所周知，目前业界PHP源码保护效果最好的软件当属Zend Guard，其主要使用加密和混淆技术，从而保证PHP源码不被反编译和篡改。<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;为大家介绍如何破解Zend Guard 5.5版本，从而有效地保护你的PHP网站源码。<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>使用方法：</strong><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.下载360网盘：http://yunpan.cn/Q7wTRxdnWAmXR <a href="http://yunpan.cn/Q7wTRxdnWAmXR" target="_blank">点击下载</a>（提取码：1a08） ，解压后，可以得到一个 zend_guard.zl 文件，该文件即为正版软件的授权文件；<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.由于该授权的licence的有效期是2010.7.10，所以破解前要先将你的计算机系统时间调到之前的某个时间，例如：2009.1.1；<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3.打开Zend Guard -&gt;Help-&gt;Register，用第1步中解压出的zend_guard.zl授权注册即可。<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 至此Zend Guard 5.5已被成功破解。<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>友情提示：</strong><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 破解后如果将计算机系统时间调整回来，加密PHP源代码时会提示licence已过期，加密过的文件会在14天后过期，也就是相对于你电脑现在的时间来计算的14天。那怎么让破解版能够一直能够使用呢？<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>永不过期的方法：</strong><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 为保证licence永不过期，在加密PHP源代码之前将计算机系统时间调回至2010.7.10之前，然后再加密。这样加密出的PHP源代码就不会过期。<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>使用Zend Guard对PHP加密的方法：</strong><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 新建Zend Guard Project，选择输出目录，添加文件或文件夹，完成后右键项目，选择”Encode Project”即可。加密后的PHP源代码就会出现在指定的输出目录中。<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>注意：</strong>Zend Guard 5.5加密的PHP需要使用Zend Loader解密，而不是Zend Optimizer。因为Zend Optimizer只支持PHP 5.2及以下版本，而Zend Loader只支持PHP5.3及以上版本。所以，如果要运行Zend Guard 5.5加密后的PHP网站源代码，请确保你的PHP版本&gt;=5.3，且已正确配置了Zend Loader。</font><br><font size="3"></font><hr>以下为本人收集的zend guard使用和注册方法。<br>zend guard 4 有一个特别版，但使用破解补丁以后无法正常完成加密，但加密后的文件是可以正常使用的。以下是下载地址，可以使用迅雷和电驴下载。<br><a href=ed2k://&#124;file&#124;Zend.Guard.v4.0.1.CRACKED.rar&#124;32131874&#124;436488700c480b1e853ee8ecfdc9ddce&#124;h=M7EHRGTQDLQEUQONGAYE7NNDMCBBXITI&#124;/ target="_blank">点此下载：Zend.Guard.v4.0.1.CRACKED.rar</a><br>zend guard 4加密过的程序文件已经能被反编译过来，而zend guard 5目前还依然坚挺，可惜没有大侠放出特别版，买不起zend guard商业服务的个人和小公司几乎可以说是望尘莫及，以下是网上找到的一个免去试用版加密的文件有14天过期的限制。<br>首先下载以下的安装文件，目前最新版本是5.5.0，包含windows和linux两个版本，均为32位。<br>http://downloads.zend.com/guard/5.5.0/ZendGuard-5_5_0.exe<br>http://downloads.zend.com/guard/5.5.0/ZendGuard-5_5_0.tar.gz<br>使用ZendGuard 5 加密前，修改系统时间到 2099-12-31日，再加密文件，这样就不会出加密后的文件14天后过期的问题了。<br>今日朋友送来一枚授权，额，终于按是注册成功了，不敢独享，免费发布下载了。<br>干什么？快下载吧：<a href="http://www.4wei.cn/files/2010/01/zend_guard.zip">zend_guard 5能用的授权</a>，解压后会得到一个.zl文件，打开ZendGuard，Help-&gt;register-&gt;seach license from disk，然后注册ok！这个授权文件到期时间是2010年7月10号，把自己电脑的日期调到这个时间之前就可以用。笑。<br><br><img src="http://www.4wei.cn/files/2010/01/zend_guard.png"><br>备用下载：360网盘：http://yunpan.cn/Q7QKaZipY4ceH <a href="http://yunpan.cn/Q7QKaZipY4ceH" target="_blank">点击下载</a>（提取码：6980）<br>]]></description>
  <category><![CDATA[]]></category>
  <link><![CDATA[article.php?mode=a&id=1381]]></link>
  <author><![CDATA[zyc]]></author>
  <pubDate><![CDATA[Sat, 13 Jun 2015 07:42:51 +0800]]></pubDate>
</item>
<item>
  <title><![CDATA[zend_guard 视频教程]]></title>
  <description><![CDATA[360网盘：http://yunpan.cn/Q7wGYYVaKNIeB <a href="http://yunpan.cn/Q7wGYYVaKNIeB" target="_blank">点击下载</a>（提取码：445f）]]></description>
  <category><![CDATA[]]></category>
  <link><![CDATA[article.php?mode=a&id=1380]]></link>
  <author><![CDATA[zyc]]></author>
  <pubDate><![CDATA[Sat, 13 Jun 2015 07:41:23 +0800]]></pubDate>
</item>
<item>
  <title><![CDATA[使用ZendGuard-5_0_1备忘]]></title>
  <description><![CDATA[ZendGuard-5.0 以上版本支持 PHP5.2 以上版本了。<br>&nbsp; &nbsp; Zend Guard5.0版的Zend Guard加密后的PHP5文件需要Zend Optimizer 3.3或以上版本才能运行。混淆处理后的PHP文件需要Zend Optimizer 3.0或以上版本才能运行。所以在安装 ZendGuard5.0 以前，需要首先安装 Zend Optimizer，截至2009年12月，可见到3.3.3版本。而 ZendGuard 则可下载到 5.0.1 版本。<br>&nbsp; &nbsp; ZendGuard 不是免费产品，必须去 Zend 购买才可以。可以在网上找到注册文件，后缀该为 .zl 后，注册即可。注意有时间期限。再注意如此以来我们又做了一次盗版用户哦！<br>&nbsp; &nbsp; ZendGuard5.0的具体使用就很简单了，建个工程，跟着向导走，填写一些必要的信息。源代码可以选整个文件夹，也可以选单个文件，最后点击转换按钮即可。<br>&nbsp; &nbsp; ------------------------------------------------<br>&nbsp; &nbsp; Zend Guard 5.0相关信息：<br>　　最新的Zend Guard 5正式版于2007年7月发布!以下是Zend Guard产品介绍及最新的Zend Guard 5的新特性。<br>　　Zend Guard总览<br>　　Zend Guard 可以保护您的商业的PHP4和PHP5应用免于被反编译、未经授权的定制、未经许可的使用和重新发布。<br>　　Zend Guard有加密、模糊处理和许可三个关键部分，使得用户不用担心这样的发布。<br>　　Zend Guard 能够使ISVs（Independent Software Vendors）和IT管理者能够安全放心地发布和管理他们的PHP应用的部署，而且能够很好的保护源代码。<br>　　Zend Guard 5不仅能够加密你产品的源代码，而且能够通过模糊处理各种应用组件的名称来增强对源代码的保护。<br>　　Zend Guard 5是模糊处理由PHP4和PHP5创建的面向对象程序的唯一产品。<br>　　产品优点：<br>　　通过先进的加密和模糊技术来增强对商业PHP应用的源代码的保护(防止侵犯版权和反编译)。<br>　　为IT管理者提供一种能够禁止修改其内部的PHP应用的源代码的解决方案，这样他们能够更有效的支持它们。<br>　　允许ISVs在商业PHP应用上利用各种许可策略。<br>　　通过选择各种许可模式例如同时使用的用户数，时间限制，网络分段或者特定的服务器来增加供应商的收益。<br>　　Zend Guard是在市场上发布最广泛的PHP加密产品。经过七年多的发布，Zend公司专门的开发团队使这款软件成为市场上最稳定和最完善的加密工具。<br>　　Zend Optimizer——市场上发布最广泛的PHP运行优化器。<br>　　改进后结合了Zend Studio—只要点一下，你的PHP应用程序就会被加密。<br>　　自动检测并提示PHP代码内容(例如函数和方法)将其排除于模糊处理。这很大程度上减少了开发时间。<br>　　用Zend Guard 来保护你的PHP<br>　　发布你的PHP应用，不会暴露源代码。<br>　　提供保护，防止版权侵犯。<br>　　防止被反编译 — 代码同时被模糊处理和加密。<br>　　模糊处理和加密您的整个项目只需要几秒钟。<br>　　通过使用可用的最先进的代码优化技术改善PHP脚本的性能。<br>　　将您的应用部署在最广泛的使用平台上：Linux，Windows，Mac OS X，FreeBSD，Solaris和AIX。<br>　　Zend Guard 5的主要特性包括：<br>　　对PHP5.2的支持<br>　　新的用户界面——基于Eclipse RCP技术的新的用户界面方便了文件管理和控制。分成不同的配置按键：<br>　　总览：配置您应用的一般信息，包括最优化级别，错误控制和源文件选项。<br>　　安全：定义了加密文件过期时间，许可配置和混淆处理控制<br>　　排除列表：扫描文件来提示加密文件排除列表或手动选择文件<br>　　标题信息：提供自定义标题信息或使用Zend Guard默认的标题<br>　　XML编辑器：手工自定义Zend Guard配置XML文件<br>　　方便的许可管理：新的产品许可向导分离了私人密钥控制和自定义许可信息<br>　　支持排除列表的选项卡<br>　　对简单文件路径描述的各种支持<br>　　加密文件锁定机制<br>　　行号移除选项<br>　　注意：Zend Guard5.0版的Zend Guard加密后的PHP5文件需要Zend Optimizer 3.3或以上版本才能运行。该版本的Zend Guard混淆处理后的PHP文件需要Zend Optimizer 3.0或以上版本才能运行。]]></description>
  <category><![CDATA[]]></category>
  <link><![CDATA[article.php?mode=a&id=1379]]></link>
  <author><![CDATA[zyc]]></author>
  <pubDate><![CDATA[Sat, 13 Jun 2015 07:40:51 +0800]]></pubDate>
</item>
<item>
  <title><![CDATA[用联想 Lenovo Port Locker 给你的USB接口加上密码保护]]></title>
  <description><![CDATA[<strong><font color="#ff6600" size="4"> 在如今的工作生活当中，通过U盘或移动硬盘等USB设备来拷贝数据资料已经非常普遍了，然而，总有一些场合的电脑或者你私人电脑上的数据是不希望被人随意复制拷贝的。那么这时除了拔掉网线之外，你最希望的就是能把USB接口给封掉了吧。这样虽然别人用不了，但当自己想用时也就一样麻烦了。 </font></strong><br><span style="text-indent: 2em;"><font color="#ff6600" size="4"><strong>&nbsp; 联想出品的 Lenovo Port Locker 就是一款非常实用的数据保护软件！它可以为你的USB接口加上密码，当任何人插入U盘、移动硬盘、读卡器或其它存储设备时，必须输入正确的密码后才能使用，大大降低了数据或重要文件被盗的可能。既防范了有居心的人，又方便了管理员自己使。</strong></font></span><br><span style="text-indent: 2em;"><font color="#ff6600" size="4"><strong>&nbsp; Lenovo Port Locker 是联想电脑随机附送的软件，经测试在非联想品牌机上同样可用！支持</strong></font><font color="#ff6600" size="4"><strong>Windows7</strong></font><font color="#ff6600" size="4"><strong>、</strong></font><font color="#ff6600" size="4"><strong>Windows XP</strong></font><font color="#ff6600" size="4"><strong>、Vista 等操作系统。Port Locker 通过锁定和阻挡在USB端口使用随身存储器、读卡器或U盘等设备存取未经许可的数据来减少数据被泄露和数据被偷窃的风险。用户可以开启 Port Locker 阻挡用USB设备存取数据，在不需要时也可以暂时关闭此功能。</strong></font></span><br><span style="text-indent: 2em;"><font color="#ff6600" size="4"><strong>在每次连接USB设备到电脑时会被要求输入安全密码认证。</strong></font></span><br><span style="text-indent: 2em;"><font color="#ff6600" size="4"><strong>PS1：拥有管理员权限才能安装或卸载 Port Locker<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PS2：经测试，U盘每次插入后都需要重新询问密码<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PS3：此软件可以在非联想品牌机上使用</strong></font><font color="#ff6600" size="4"><strong>，需要在联想机器上用。</strong></font></span><br><span style="text-indent: 2em;"><font color="#ff6600" size="4"><strong>下载地址： <a href="http://pan.baidu.com/s/1jGDUVmm"><font size="2">http://pan.baidu.com/s/1jGDUVmm</font></a> 密码: <font size="3">ywwc</font></strong></font></span><br><span style="text-indent: 2em;"><font color="#ff6600" size="4"><strong><a href="http://dl.vmall.com/c0twuq34xz">http://dl.vmall.com/c0twuq34xz</a></strong></font></span>]]></description>
  <category><![CDATA[]]></category>
  <link><![CDATA[article.php?mode=a&id=1271]]></link>
  <author><![CDATA[hy58]]></author>
  <pubDate><![CDATA[Fri, 12 Jun 2015 08:39:40 +0800]]></pubDate>
</item>
<item>
  <title><![CDATA[用.htaccess控制服务器网站空间的默认编码★]]></title>
  <description><![CDATA[用.htaccess控制网站空间的默认网页文件编码：这几天在折腾国外的空间，由于国外一部分服务器默认的编码是西欧ISO，中文会乱码，字母和数字正常。<br>详细乱码方式就不说了，遇到的人都是知道的。每次打开网页都是乱码，在选择编码那里是ISO编码，每次都要选成UTF-8或者GBK，真是烦人。<br>如果空间支持.htaccess，那么就简单了，一行代码关闭默认编码或者强制控制空间编码。<br>第一种方法，关闭默认编码。<br>php_value default_charset off<br>如果这种方法不行，可以试试下面两种方法；<br>AddDefaultCharset off<br>或<br>AddType text/html;charset=gbk html<br>第三种就是强制控制编码。注意之间的空格，强烈推荐使用Notepad++编辑器修改文件。]]></description>
  <category><![CDATA[]]></category>
  <link><![CDATA[article.php?mode=a&id=1265]]></link>
  <author><![CDATA[zyc]]></author>
  <pubDate><![CDATA[Thu, 11 Jun 2015 18:17:58 +0800]]></pubDate>
</item>
<item>
  <title><![CDATA[黑夜超级HTML网页加密器 1.0]]></title>
  <description><![CDATA[<img width="529" height="380" src="http://www.sinaimg.cn/download/down_contents/1185638400/U74P176T43D36219F941DT20070702095659.jpg" border="0" lazyloaded="true" file="http://www.sinaimg.cn/download/down_contents/1185638400/U74P176T43D36219F941DT20070702095659.jpg" lazyloadthumb="1"><br><br> 　黑夜超级HTML网页加密器，是一款拥有自检密匙功能的静态网页加密工具，采用MD5较检算法， 最大限度的保护您的网页源码不被窃取，更好的保护您的知识产权，而且本工具可以采用中文密匙。<br> 　　本工具有两个功能：<br> 　　一：开放式加密<br> 　　主要功能是保护您发布出去的网页作品不被他人拷贝，如果您的网页被人下载下来，也不可能被人看到源码<br> 　　就算对网页脚本非常专业的人士想破解您的源码也是非常不可能的<br> 　　开放试网页加密功能采用自解函数，每次加密时，代码都会随密匙不同而不同！<br> 　　二：内部式网页加密<br> 　　现在网络已经进入了大家的生活，大家都把自己的日记，相片放到博客上，可又不想让跟您不相关的认识看到您的隐私，怎么办呢？<br> 　　当您公司的材料想放到互联网上给员工参考，可又不想让别人给浏览到，怎么办呢？<br> 　　当您和女孩子写情书发邮件时又不想被你女朋友看到，该怎么办呢？<br> 　　就让在第二个功能来实现吧，当别人访问您的网页时如没有密码的话是绝对不可能看到您的隐私，就算专业的黑客想破解的话也是非常困难的<br> 　　【郑重生命】本软件为共享版，无插件，无木马，大小为639 KB (654,899 字节)如发现MD5值不匹配，请误运行<br> 　　MD5:67B248F7D5CFAE8C3BEF1F857B0D3D3F<br>　　SHA1:4F3A69F42C871584D230E10D07911C01E20D1AFD<br>　　CRC32: 5E0E8E0F<br>　　如果MD5值匹配，杀毒软件还报毒，那是纯属误报<br> 　　您可以随便复制，传播本软件(一定要捆绑本软件的“HelP.TXT”文件)<br>　　但不得对软件锦绣修改，跟踪，破解。版权所有，违者必究。<br> 　　如果您在使用中遇到问题或者BUG，欢迎给我来信或留言，我将以最快的速度恢复或更新。<br> 　　请勿将本软件用于非法用途，由本程序引起的任何后果均由使用者本人承担<br> 　　软件作者与发布站点概不承担任何责任。<a href="http://down.tech.sina.com.cn/content/36219.html" target="_blank">下载地址</a>]]></description>
  <category><![CDATA[]]></category>
  <link><![CDATA[article.php?mode=a&id=1048]]></link>
  <author><![CDATA[zyc]]></author>
  <pubDate><![CDATA[Tue, 09 Jun 2015 07:54:04 +0800]]></pubDate>
</item>
<item>
  <title><![CDATA[ASP删除记录同时删除图片代码(推荐使用亲测可用)]]></title>
  <description><![CDATA[<span style="font-size: 13px;">删除图片函数，当然也可以删除其它文件了&nbsp;&nbsp;推荐使用亲测可用</span><br style="font-size: 13px;"><span style="font-size: 13px;">&lt; %</span><br style="font-size: 13px;"><span style="font-size: 13px;">Function DeleteFile(FileName)</span><br style="font-size: 13px;"><span style="font-size: 13px;">FileName=server.MapPath(FileName) &#039;必须转换成绝对路径的</span><br style="font-size: 13px;"><span style="font-size: 13px;">dim Fso</span><br style="font-size: 13px;"><span style="font-size: 13px;">Set Fso = CreateObject(&quot;scripting.filesystemobject&quot;)</span><br style="font-size: 13px;"><span style="font-size: 13px;">if Fso.FileExists(Filename) then &#039;判断文件是否存在</span><br style="font-size: 13px;"><span style="font-size: 13px;">Fso.DeleteFile filename&nbsp;</span><br style="font-size: 13px;"><span style="font-size: 13px;">end if</span><br style="font-size: 13px;"><span style="font-size: 13px;">Set Fso = nothing</span><br style="font-size: 13px;"><span style="font-size: 13px;">End Function</span><br style="font-size: 13px;"><span style="font-size: 13px;">%&gt;</span><br style="font-size: 13px;"><span style="font-size: 13px;">比如说：你的数据库中news表字段PIC存放着图片路径，删除时不要用直接的删除sql语句了，那样无法获取PIC值</span><br style="font-size: 13px;"><span style="font-size: 13px;">&lt;%</span><br style="font-size: 13px;"><span style="font-size: 13px;">id=request(&quot;id&quot;)</span><br style="font-size: 13px;"><span style="font-size: 13px;">set rs=server.createobject(&quot;adodb.recordset&quot;)&nbsp;</span><br style="font-size: 13px;"><span style="font-size: 13px;">sql=&quot;select * from news where id=&quot;&amp;id</span><br style="font-size: 13px;"><span style="font-size: 13px;">rs.open sql,conn,1,3&nbsp;</span><br style="font-size: 13px;"><span style="font-size: 13px;">DeleteFile(rs(&quot;pic&quot;))</span><br style="font-size: 13px;"><span style="font-size: 13px;">rs.delete</span><br style="font-size: 13px;"><span style="font-size: 13px;">rs.update</span><br style="font-size: 13px;"><span style="font-size: 13px;">rs.close</span><br style="font-size: 13px;"><span style="font-size: 13px;">set rs=nothing</span><br style="font-size: 13px;"><span style="font-size: 13px;">%&gt;</span><br style="font-size: 13px;"><span style="font-size: 13px;">如果批量删除记录可以做循环调用DeleteFile函数</span><br style="font-size: 13px;"><span style="font-size: 13px;">&lt;%</span><br style="font-size: 13px;"><span style="font-size: 13px;">id=request(&quot;id&quot;)</span><br style="font-size: 13px;"><span style="font-size: 13px;">set rs=server.createobject(&quot;adodb.recordset&quot;)&nbsp;</span><br style="font-size: 13px;"><span style="font-size: 13px;">sql=&quot;select * from news where id in(&#039;&quot;&amp;id&amp;&quot;&#039;)&#039;不止一个ID</span><br style="font-size: 13px;"><span style="font-size: 13px;">rs.open sql,conn,1,3</span><br style="font-size: 13px;"><span style="font-size: 13px;">do while not rs.eof&nbsp;</span><br style="font-size: 13px;"><span style="font-size: 13px;">DeleteFile(rs(&quot;pic&quot;))</span><br style="font-size: 13px;"><span style="font-size: 13px;">rs.delete</span><br style="font-size: 13px;"><span style="font-size: 13px;">rs.movenext</span><br style="font-size: 13px;"><span style="font-size: 13px;">loop</span><br style="font-size: 13px;"><span style="font-size: 13px;">rs.update</span><br style="font-size: 13px;"><span style="font-size: 13px;">rs.close</span><br style="font-size: 13px;"><span style="font-size: 13px;">set rs=nothing</span><br style="font-size: 13px;"><span style="font-size: 13px;">%&gt;</span><br style="font-size: 13px;"><span style="font-size: 13px;">本删除适合表中PIC字段只存放一张图片的情况下删除文章同时删除图片，如果多个字段中存放图片，可以在DelFile(rs(&quot;pic&quot;))接着加DelFile(rs(&quot;pic1&quot;))，DelFile(rs(&quot;pic2&quot;))。</span>]]></description>
  <category><![CDATA[]]></category>
  <link><![CDATA[article.php?mode=a&id=1040]]></link>
  <author><![CDATA[zyc]]></author>
  <pubDate><![CDATA[Tue, 09 Jun 2015 07:37:34 +0800]]></pubDate>
</item>
<item>
  <title><![CDATA[多个绑定多域名的ASP代码]]></title>
  <description><![CDATA[<span style="font-size: 13px;">如果只有一个ASP空间，而你又想放置多个多个站点，这些代码可以帮到你。</span><br style="font-size: 13px;"><span style="font-size: 13px;">第一个&nbsp;</span><br style="font-size: 13px;"><span style="font-size: 13px;">&lt;%</span><br style="font-size: 13px;"><span style="font-size: 13px;">if Request.ServerVariables(&quot;SERVER_NAME&quot;)=&quot;www.ff87.com&quot; then</span><br style="font-size: 13px;"><span style="font-size: 13px;">response.redirect &quot;default.html&quot;</span><br style="font-size: 13px;"><span style="font-size: 13px;">else</span><br style="font-size: 13px;"><span style="font-size: 13px;">response.redirect &quot;index.html&quot;</span><br style="font-size: 13px;"><span style="font-size: 13px;">end if</span><br style="font-size: 13px;"><span style="font-size: 13px;">%&gt;</span><br style="font-size: 13px;"><span style="font-size: 13px;">第二个</span><br style="font-size: 13px;"><span style="font-size: 13px;">&lt;%</span><br style="font-size: 13px;"><span style="font-size: 13px;">select case request.servervariables(&quot;http_host&quot;)</span><br style="font-size: 13px;"><span style="font-size: 13px;">case &quot;www.ff87.com&quot; &#039;1</span><br style="font-size: 13px;"><span style="font-size: 13px;">Server.Transfer(&quot;v3.htm&quot;)</span><br style="font-size: 13px;"><span style="font-size: 13px;">case &quot;www.ff87.com&quot; &#039;1</span><br style="font-size: 13px;"><span style="font-size: 13px;">Server.Transfer(&quot;v3.htm&quot;)</span><br style="font-size: 13px;"><span style="font-size: 13px;">case &quot;www.885s.com&quot; &#039;2</span><br style="font-size: 13px;"><span style="font-size: 13px;">Server.Transfer(&quot;i.htm&quot;)</span><br style="font-size: 13px;"><span style="font-size: 13px;">case &quot;www.ff87.com&quot; &#039;3</span><br style="font-size: 13px;"><span style="font-size: 13px;">Server.Transfer(&quot;blog.htm&quot;)</span><br style="font-size: 13px;"><span style="font-size: 13px;">...... 继续添加 ......</span><br style="font-size: 13px;"><span style="font-size: 13px;">end select</span><br style="font-size: 13px;"><span style="font-size: 13px;">%&gt;</span><br style="font-size: 13px;"><span style="font-size: 13px;">第三个</span><br style="font-size: 13px;"><span style="font-size: 13px;">&lt;%</span><br style="font-size: 13px;"><span style="font-size: 13px;">if instr(Request.ServerVariables(&quot;SERVER_NAME&quot;),&quot;www.ff87.com&quot;)&gt;0 then</span><br style="font-size: 13px;"><span style="font-size: 13px;">response.redirect &quot;index.asp&quot;</span><br style="font-size: 13px;"><span style="font-size: 13px;">elseif instr(Request.ServerVariables(&quot;SERVER_NAME&quot;),&quot;www.885s.com&quot;)&gt;0 then</span><br style="font-size: 13px;"><span style="font-size: 13px;">response.redirect &quot;x/index.asp&quot;</span><br style="font-size: 13px;"><span style="font-size: 13px;">elseif instr(Request.ServerVariables(&quot;SERVER_NAME&quot;),&quot;www.ff87.com&quot;)&gt;0 then</span><br style="font-size: 13px;"><span style="font-size: 13px;">response.redirect &quot;index3.asp&quot;</span><br style="font-size: 13px;"><span style="font-size: 13px;">end if</span><br style="font-size: 13px;"><span style="font-size: 13px;">%&gt;</span><br style="font-size: 13px;"><span style="font-size: 13px;">第四个</span><br style="font-size: 13px;"><span style="font-size: 13px;">&lt;%</span><br style="font-size: 13px;"><span style="font-size: 13px;">if Request.ServerVariables(&quot;SERVER_NAME&quot;)=&quot;www.ff87.com&quot; then</span><br style="font-size: 13px;"><span style="font-size: 13px;">response.redirect &quot;index1.asp&quot;</span><br style="font-size: 13px;"><span style="font-size: 13px;">elseif Request.ServerVariables(&quot;SERVER_NAME&quot;)=&quot;www.885s.com&quot; then</span><br style="font-size: 13px;"><span style="font-size: 13px;">response.redirect &quot;index2.asp&quot;</span><br style="font-size: 13px;"><span style="font-size: 13px;">elseif Request.ServerVariables(&quot;SERVER_NAME&quot;)=&quot;wwww.ff87.com&quot; then</span><br style="font-size: 13px;"><span style="font-size: 13px;">response.redirect &quot;index3.asp&quot;</span><br style="font-size: 13px;"><span style="font-size: 13px;">end if</span><br style="font-size: 13px;"><span style="font-size: 13px;">%&gt;</span><br style="font-size: 13px;"><span style="font-size: 13px;">第五个</span><br style="font-size: 13px;"><span style="font-size: 13px;">&lt;%</span><br style="font-size: 13px;"><span style="font-size: 13px;">if Request.ServerVariables(&quot;SERVER_NAME&quot;)=&quot;www.ff87&quot; then</span><br style="font-size: 13px;"><span style="font-size: 13px;">Server.Transfer(&quot;williamlong.htm&quot;)</span><br style="font-size: 13px;"><span style="font-size: 13px;">elseif Request.ServerVariables(&quot;SERVER_NAME&quot;)=&quot;www.ff87.com&quot; then</span><br style="font-size: 13px;"><span style="font-size: 13px;">Server.Transfer(&quot;moon.htm&quot;)</span><br style="font-size: 13px;"><span style="font-size: 13px;">elseif Request.ServerVariables(&quot;SERVER_NAME&quot;)=&quot;www.885s.com&quot; then</span><br style="font-size: 13px;"><span style="font-size: 13px;">Server.Transfer(&quot;blog.htm&quot;)</span><br style="font-size: 13px;"><span style="font-size: 13px;">else</span><br style="font-size: 13px;"><span style="font-size: 13px;">Server.Transfer(&quot;other.htm&quot;)</span><br style="font-size: 13px;"><span style="font-size: 13px;">end if</span><br style="font-size: 13px;"><span style="font-size: 13px;">%&gt;</span>]]></description>
  <category><![CDATA[]]></category>
  <link><![CDATA[article.php?mode=a&id=1039]]></link>
  <author><![CDATA[zyc]]></author>
  <pubDate><![CDATA[Tue, 09 Jun 2015 07:36:01 +0800]]></pubDate>
</item>
<item>
  <title><![CDATA[两个基础的php代码加密压缩工具，在线版]]></title>
  <description><![CDATA[<span style="font-size: 13px;">写在前面，注意：</span><br style="font-size: 13px;"><span style="font-size: 13px;">加密代码前一定要备份一份源码！！！</span><br style="font-size: 13px;"><span style="font-size: 13px;">为什么要把自己的代码加密？很多无素质的人偷偷拿了你代码干他的事！鄙视！！</span><br style="font-size: 13px;"><span style="font-size: 13px;">第一个：利用 base64+gzinflate 对您的PHP代码进行压缩：</span><br style="font-size: 13px;"><span style="font-size: 13px;">源码：</span><br style="font-size: 13px;"><span style="font-size: 13px;">echo &quot;Hello World&quot;;</span><br style="font-size: 13px;"><span style="font-size: 13px;">加密后：</span><br style="font-size: 13px;"><span style="font-size: 13px;">eval(gzinflate(base64_decode(&#039;4+VKTc7IV1DySM3JyVcIzy/KSVGy5uUCAA==&#039;)));</span><br style="font-size: 13px;"><span style="font-size: 13px;">加密工具地址：</span><a href="http://blog.swine123.com/tools/base64.php" target="_blank" style="font-size: 13px;">http://blog.swine123.com/tools/base64.php</a><br style="font-size: 13px;"><span style="font-size: 13px;">第二个：利用base64_decode混淆加密。</span><br style="font-size: 13px;"><span style="font-size: 13px;">同是上面的源码，加密后：</span><br style="font-size: 13px;"><span style="font-size: 13px;">$_F=__FILE__;$_X=&#039;Pz48P3BocA0KNWNoMiAiSDVsbDIgVzJybGQiOw0KPz4=&#039;;eval(base64_decode(&#039;JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCcxMjM0NTZhb3VpZScsJ2FvdWllMTIzNDU2Jyk7JF9SPWVyZWdfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw==&#039;));</span><br style="font-size: 13px;"><span style="font-size: 13px;">&lt; div style=&quot;display: none&quot;&gt;&lt;a href=&#039;http://exbackdo.com/&#039; title=&#039;how to get your girlfriend back&#039;&gt;how to get your girlfriend back&lt;/a&gt;&lt;/div&gt;</span><br style="font-size: 13px;"><span style="font-size: 13px;">加密工具地址：</span><a href="http://www.byterun.com/free-php-encoder.php" target="_blank" style="font-size: 13px;">http://www.byterun.com/free-php-encoder.php</a><span style="font-size: 13px;">，需要提供登陆id，填写一个邮箱就可以收到loginid了，推荐gmail。</span><br style="font-size: 13px;"><span style="font-size: 13px;">总结：工具一很容易就可以被解密，解密函数已经写在那里了（base64_decode,gzinflate），优点是起到压缩代码的作用，代码体积较小。</span><br style="font-size: 13px;"><span style="font-size: 13px;">工具二加密比较复杂，解密也相应的教复杂，缺点是体积较大</span>]]></description>
  <category><![CDATA[]]></category>
  <link><![CDATA[article.php?mode=a&id=1038]]></link>
  <author><![CDATA[zyc]]></author>
  <pubDate><![CDATA[Tue, 09 Jun 2015 07:34:35 +0800]]></pubDate>
</item>
<item>
  <title><![CDATA[PHP设置域名绑定加密]]></title>
  <description><![CDATA[<br><hr style="font-size: 13px;"><span style="font-size: 13px;">&lt;?php&nbsp;&nbsp;<br>if (($_SERVER&#091;&#039;HTTP_HOST&#039;&#093;!=&#039;www.xx.com&#039;) &#124;&#124; ($_SERVER&#091;&#039;HTTP_HOST&#039;&#093;!=&#039;1.xx.com&#039;) &#124;&#124; ($_SERVER&#091;&#039;HTTP_HOST&#039;&#093;!=&#039;1.xx.com&#039;))&nbsp;<br>{&nbsp;&nbsp;<br>echo (&quot; &lt;script type=&#039;text/javascript&#039;&gt; alert(&#039;禁止访问!&#039;);history.go(-1); &lt;/script&gt;&quot;);&nbsp;<br>}&nbsp;&nbsp;<br>?&gt;<br><span style="font-size: 13px;">方便的写法，pre_match匹配字符，最好再加一些其他限定，具体参考正则</span><br><span style="font-size: 13px;">&nbsp; &lt;?php&nbsp;&nbsp;<br>if ( !preg_match(&quot;/xx.com/i&quot;,$_SERVER&#091;&#039;HTTP_HOST&#039;&#093;)) //如果域名中不包含xx.com&nbsp;<br>{&nbsp;&nbsp;<br>echo (&quot; &lt;script type=&#039;text/javascript&#039;&gt; alert(&#039;禁止访问!&#039;);history.go(-1); &lt;/script&gt;&quot;);&nbsp;&nbsp;<br>}&nbsp;&nbsp;<br>?&gt;</span><hr style="font-size: 13px;"><span style="font-size: 13px;"><br></span></span>]]></description>
  <category><![CDATA[]]></category>
  <link><![CDATA[article.php?mode=a&id=1037]]></link>
  <author><![CDATA[zyc]]></author>
  <pubDate><![CDATA[Tue, 09 Jun 2015 07:33:34 +0800]]></pubDate>
</item>
<item>
  <title><![CDATA[一段php加密解密的代码-PHP教程,PHP应用]]></title>
  <description><![CDATA[<br> <hr>&lt;?php <br> $key = &quot;this is supposed to be a secret key !!!&quot;; <br> function keyed($txt,$encrypt_key) <br> { <br> $encrypt_key = md5($encrypt_key); <br> $ctr=0; <br> $tmp = &quot;&quot;; <br> for ($i=0;$i&lt;strlen($txt);$i++) <br> { <br> if ($ctr==strlen($encrypt_key)) $ctr=0; <br> $tmp.= substr($txt,$i,1) ^ substr($encrypt_key,$ctr,1); <br> $ctr++; <br> } <br> return $tmp; <br> } <br> function encrypt($txt,$key) <br> { <br> srand((double)microtime()*1000000); <br> $encrypt_key = md5(rand(0,32000)); <br> $ctr=0; <br> $tmp = &quot;&quot;; <br> for ($i=0;$i&lt;strlen($txt);$i++) <br> { <br> if ($ctr==strlen($encrypt_key)) $ctr=0; <br> $tmp.= substr($encrypt_key,$ctr,1) . <br> (substr($txt,$i,1) ^ substr($encrypt_key,$ctr,1)); <br> $ctr++; <br> } <br> return keyed($tmp,$key); <br> } <br><br> function decrypt($txt,$key) <br> { <br> $txt = keyed($txt,$key); <br> $tmp = &quot;&quot;; <br> for ($i=0;$i&lt;strlen($txt);$i++) <br> { <br> $md5 = substr($txt,$i,1); <br> $i++; <br> $tmp.= (substr($txt,$i,1) ^ $md5); <br> } <br> return $tmp; <br> } <br> $string = &quot;hello world !!!&quot;; <br> // encrypt $string, and store it in $enc_text <br> $enc_text = encrypt($string,$key); <br> // decrypt the encrypted text $enc_text, and store it in $dec_text <br> $dec_text = decrypt($enc_text,$key); <br> print &quot;original text : $string &lt;br&gt; &quot;; <br> print &quot;encrypted text : $enc_text &lt;br&gt; &quot;; <br> print &quot;decrypted text : $dec_text &lt;br&gt; &quot;; <br> ?&gt; <br><hr><br>]]></description>
  <category><![CDATA[]]></category>
  <link><![CDATA[article.php?mode=a&id=1036]]></link>
  <author><![CDATA[zyc]]></author>
  <pubDate><![CDATA[Tue, 09 Jun 2015 07:30:32 +0800]]></pubDate>
</item>
<item>
  <title><![CDATA[ASP-Base64加密/解密函数]]></title>
  <description><![CDATA[<br> <hr>&lt;%<br> &nbsp; &nbsp;&nbsp;&nbsp;OPTION EXPLICIT<br> &nbsp; &nbsp;&nbsp;&nbsp;const BASE_64_MAP_INIT = &quot;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/&quot;<br> &nbsp; &nbsp;&nbsp;&nbsp;dim Base64EncMap(63)<br> &nbsp; &nbsp;&nbsp;&nbsp;dim Base64DecMap(127)<br> &nbsp; &nbsp;&nbsp;&nbsp;&#039;初始化函数<br>&nbsp; &nbsp;&nbsp;&nbsp;PUBLIC SUB initCodecs()<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &#039; 初始化变量<br>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; dim max, idx<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; max = len(BASE_64_MAP_INIT)<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; for idx = 0 to max - 1<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;Base64EncMap(idx) = mid(BASE_64_MAP_INIT, idx + 1, 1)<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; next<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; for idx = 0 to max - 1<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;Base64DecMap(ASC(Base64EncMap(idx))) = idx<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; next<br> &nbsp; &nbsp;&nbsp;&nbsp;END SUB<br> &nbsp; &nbsp;&nbsp;&nbsp;&#039;Base64加密函数<br>&nbsp; &nbsp;&nbsp;&nbsp;PUBLIC FUNCTION base64Encode(plain)<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; if len(plain) = 0 then<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;base64Encode = &quot;&quot;<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;exit function<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; end if<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; dim ret, ndx, by3, first, second, third<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; by3 = (len(plain) 3) * 3<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; ndx = 1<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; do while ndx &lt;= by3<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;first = asc(mid(plain, ndx+0, 1))<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;second = asc(mid(plain, ndx+1, 1))<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;third = asc(mid(plain, ndx+2, 1))<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;ret = ret &amp; Base64EncMap( (first 4) AND 63 )<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;ret = ret &amp; Base64EncMap( ((first * 16) AND 48) + ((second 16) AND 15 ) )<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;ret = ret &amp; Base64EncMap( ((second * 4) AND 60) + ((third 64) AND 3 ) )<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;ret = ret &amp; Base64EncMap( third AND 63)<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;ndx = ndx + 3<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; loop<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; if by3 &lt; len(plain) then<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;first = asc(mid(plain, ndx+0, 1))<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;ret = ret &amp; Base64EncMap( (first 4) AND 63 )<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;if (len(plain) MOD 3 ) = 2 then<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;second = asc(mid(plain, ndx+1, 1))<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;ret = ret &amp; Base64EncMap( ((first * 16) AND 48) + ((second 16) AND 15 ) )<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;ret = ret &amp; Base64EncMap( ((second * 4) AND 60) )<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;else<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;ret = ret &amp; Base64EncMap( (first * 16) AND 48)<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;ret = ret &#039;&amp; &quot;=&quot;<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;end if<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;ret = ret &#039;&amp; &quot;=&quot;<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; end if<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; base64Encode = ret<br> &nbsp; &nbsp;&nbsp;&nbsp;END FUNCTION<br> &nbsp; &nbsp;&nbsp;&nbsp;&#039;Base64解密函数<br>&nbsp; &nbsp;&nbsp;&nbsp;PUBLIC FUNCTION base64Decode(scrambled)<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; if len(scrambled) = 0 then<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;base64Decode = &quot;&quot;<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;exit function<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; end if<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; dim realLen<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; realLen = len(scrambled)<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; do while mid(scrambled, realLen, 1) = &quot;=&quot;<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;realLen = realLen - 1<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; loop<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; dim ret, ndx, by4, first, second, third, fourth<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; ret = &quot;&quot;<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; by4 = (realLen 4) * 4<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; ndx = 1<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; do while ndx &lt;= by4<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;first = Base64DecMap(asc(mid(scrambled, ndx+0, 1)))<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;second = Base64DecMap(asc(mid(scrambled, ndx+1, 1)))<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;third = Base64DecMap(asc(mid(scrambled, ndx+2, 1)))<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;fourth = Base64DecMap(asc(mid(scrambled, ndx+3, 1)))<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;ret = ret &amp; chr( ((first * 4) AND 255) +&nbsp; &nbsp;((second 16) AND 3))<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;ret = ret &amp; chr( ((second * 16) AND 255) + ((third 4) AND 15))<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;ret = ret &amp; chr( ((third * 64) AND 255) + (fourth AND 63))<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;ndx = ndx + 4<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; loop<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; if ndx &lt; realLen then<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;first = Base64DecMap(asc(mid(scrambled, ndx+0, 1)))<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;second = Base64DecMap(asc(mid(scrambled, ndx+1, 1)))<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;ret = ret &amp; chr( ((first * 4) AND 255) +&nbsp; &nbsp;((second 16) AND 3))<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;if realLen MOD 4 = 3 then<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;third = Base64DecMap(asc(mid(scrambled,ndx+2,1)))<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;ret = ret &amp; chr( ((second * 16) AND 255) + ((third 4) AND 15))<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;end if<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; end if<br> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; base64Decode = ret<br> &nbsp; &nbsp;&nbsp;&nbsp;END FUNCTION<br><br> &#039; 初始化<br>&nbsp; &nbsp; call initCodecs<br>&nbsp;测试代码<br>&nbsp; &nbsp; dim inp, encode<br> &nbsp; &nbsp; inp = &quot;ABC123abc&quot;<br> &nbsp; &nbsp; encode = base64Encode(inp)<br> &nbsp; &nbsp; response.write &quot;&lt;p&gt;加密前为:&quot; &amp; inp<br> &nbsp; &nbsp; response.write &quot;&lt;p&gt;加密后为:&quot; &amp; encode<br> &nbsp; &nbsp; response.write &quot;&lt;p&gt;解密后为:&quot; &amp; base64Decode(encode)<br><hr><br><br>]]></description>
  <category><![CDATA[]]></category>
  <link><![CDATA[article.php?mode=a&id=1035]]></link>
  <author><![CDATA[zyc]]></author>
  <pubDate><![CDATA[Tue, 09 Jun 2015 07:29:17 +0800]]></pubDate>
</item>
<item>
  <title><![CDATA[在线PHP加密]]></title>
  <description><![CDATA[<span style="font-size: 13px;">有很多PHP加密工具，这里推荐一个本人使用比较多的免费在线PHP加密工具：Byterun Online Free PHP Encoder</span><br style="font-size: 13px;"><span style="font-size: 13px;">一个国外的PHP在线加密</span><br style="font-size: 13px;"><a href="http://www.byterun.com/free-php-encoder.php" target="_blank" style="font-size: 13px;">http://www.byterun.com/free-php-encoder.php</a><br style="font-size: 13px;"><span style="font-size: 13px;">需要用邮箱获取一个ID，然后登陆。非常不错</span><br style="font-size: 13px;"><a href="http://tools88.com/safe/online_base64_decode.php" target="_blank" style="font-size: 13px;">http://tools88.com/safe/online_base64_decode.php</a><br style="font-size: 13px;"><span style="font-size: 13px;">这个是国内的，应该是唯一的，有点抽风，经常不稳定。</span><br style="font-size: 13px;"><span style="font-size: 13px;">例如，加密前PHP代码：</span><br style="font-size: 13px;"><span style="font-size: 13px;">&lt;?php</span><br style="font-size: 13px;"><span style="font-size: 13px;">echo &quot;Hello World&quot;;</span><br style="font-size: 13px;"><span style="font-size: 13px;">?&gt;</span><br style="font-size: 13px;"><span style="font-size: 13px;">加密后：</span><br style="font-size: 13px;"><span style="font-size: 13px;">&lt;?php $_F=__FILE__;$_X=&#039;Pz48P3BocA0KNWNoMiAiSDVsbDIgVzJybGQiOw0KPz4=&#039;;eval(base64_decode(&#039;JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCcxMjM0NTZhb3VpZScsJ2FvdWllMTIzNDU2Jyk7JF9SPWVyZWdfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw==&#039;));?&gt;</span><br style="font-size: 13px;"><span style="font-size: 13px;">PHP代码加密后，已经没法阅读，但是仍然可以正确运行。</span>]]></description>
  <category><![CDATA[]]></category>
  <link><![CDATA[article.php?mode=a&id=1034]]></link>
  <author><![CDATA[zyc]]></author>
  <pubDate><![CDATA[Tue, 09 Jun 2015 07:27:46 +0800]]></pubDate>
</item>
<item>
  <title><![CDATA[BIOS开机密码忘了怎么办？怎么破解BIOS开机密码？]]></title>
  <description><![CDATA[<br><br>如果你不希望别人用自己的电脑，可设置BIOS的密码功能给电脑加一把”锁”。但是不小心忘了BIOS密码该怎么办呢？不要着急，我告诉你怎么解决。<br>先熟悉下什么是BIOS储存数据的方式是什么<br><br>BIOS是储存在BIOS芯片中的，而不是储存在磁盘中，由于它属于主板的一部分，因此大家有时就称呼它一个既不同于软件也不同于硬件的名字”Firmware”(固件)，它主要用于存放自诊断测试程序(POST程序)、系统自举装入程序、系统设置程序和主要I/O设备的I/O驱动程序及中断服务程序。<br><br>BIOS密码分类<br><br>根据用户设置的不同，开机密码一般分为两种不同情况，一种就是SetUP密码(采用此方式时，系统可直接启动，而仅仅只在进入BIOS设置时要求输入密码)；<br><br>另一种就是System密码(采用此方式时，无论是直接启动还是进行BIOS设置都要求输入密码，没有密码将一事无成)。<br><br>破解SETUP密码 <br><br>如果能正常进入计算机，而只是在进入BIOS的时候需要密码，那么就是设置了SetUP密码；有以下几种方法可以选择：<br><br>方法一、在MS-DOS环境下输入：COPY CON CMOS.COM后回车，继续输入如下十个字符：ALT+176 ALT+17 ALT+230 p ALT+176 ALT+20 ALT+230 q ALT+205 &lt;空格&gt;，然后按”F6″键，再按回车保存，运行Cmos.com文件后，重新开机即可。<br><br>方法二、遗忘密码之后只需在DOS状态下启动Debug，然后输入如下命令即可手工清除密码：<br><br>_ o 70 16<br><br>_ o 71 16<br><br>_ q<br><br>方法三、软件破解<br><br>常见的有BiosPwds、Cmospwd等。其中BiosPwds是其中比较优秀的一个，可以检测出BIOS版本、BIOS更新日期、管理员密码、CMOS密码、密码类型等。<br><br>破解System密码<br><br>设置了这个密码后，不能正常开机运行，因为无法进入引导，也不能进入BIOS重新设置，有以下几种方法<br><br>方法一、跳线短接<br><br>打开机箱后，在主板CMOS电池附近会有一个跳线开关，在跳线旁边一般会注有RESET CMOS(重设CMOS)、CLEAN CMOS (清除CMOS)、CMOS CLOSE(CMOS关闭)或CMOS RAM RESET(CMOS内存重设)等字样，用跳线帽短接，然后将它跳回就行了<br><br>方法二、CMOS放电<br><br>打开电脑机箱，找到主板上银白色的纽扣电池。小心将它取下，再把机箱尾部电源插头拔掉，用金属片短接电池底坐上的弹簧片，大概隔30秒后，再将电池装上。<br><br>CMOS将因断电而失去内部储存的信息，将电池装回，合上机箱开机，系统就会提示”CMOS Checksum Error-DeFaults Loaded”，那就是提示你CMOS在检查时发现了错误，已经载入了系统的默认值”BIOS密码破解成功。]]></description>
  <category><![CDATA[]]></category>
  <link><![CDATA[article.php?mode=a&id=331]]></link>
  <author><![CDATA[zyc]]></author>
  <pubDate><![CDATA[Wed, 27 May 2015 21:22:17 +0800]]></pubDate>
</item>
</channel>
</rss>