<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>Tuky House</title>
		<link>http://airsky.com.ru//</link>
		<description>记录经典囧人和琐碎却重要的东西</description>
		<copyright>Copyright (C) 2004 Security Angel Team [S4T] All Rights Reserved.</copyright>
		<generator>SaBlog-X Version 1.6 Build 20080806</generator>
		<lastBuildDate>Tue, 06 Jan 2009 15:01:35 +0000</lastBuildDate>
		<ttl>30</ttl>
		<item>
			<guid>http://airsky.com.ru//show-80-1.html</guid>
			<title>全国各地各地DNS服务器IP合集</title>
			<author>eric</author>
			<description><![CDATA[<p><font face="Courier New">全国各地电信DNS见下:<br />
----------------------------------------------------------------<br />
北京DNS地址:202.96.199.133 202.96.0.133 202.106.0.20 202.106.148.1 202.97.16.195 <br />
上海DNS地址:202.96.199.132 202.96.199.133 202.96.209.5 202.96.209.6 202.96.209.133 <br />
天津DNS地址:202.99.96.68 10.10.64.68 <br />
广东DNS地址:202.96.128.143 202.96.128.68 202.96.128.110 <br />
深圳DNS地址:202.96.134.133 202.96.154.8 202.96.154.15 <br />
河南DNS地址:202.102.227.68 202.102.245.12 202.102.224.68 <br />
广西DNS地址:202.96.128.68 202.103.224.68 202.103.225.68 <br />
福建DNS地址:218.85.157.99 202.101.115.55 <br />
厦门DNS地址:202.101.103.55 202.101.103.54 <br />
湖南DNS地址:202.103.0.68 202.103.96.68 202.103.96.112 <br />
江苏DNS地址:202.102.15.162 202.102.29.3 202.102.3.141 202.102.24.35<br />
陕西DNS地址:202.100.13.11 202.100.4.16 <br />
西安DNS地址:202.100.4.15 202.100.0.68 <br />
湖北DNS地址:202.103.0.68 202.103.0.117 202.103.24.68 <br />
山东DNS地址:202.102.154.3 202.102.152.3 202.102.128.68 202.102.134.68 <br />
浙江DNS地址:202.96.102.3 202.96.96.68 202.96.104.18 <br />
辽宁DNS地址:202.98.0.68 202.96.75.68 202.96.75.64 202.96.69.38 202.96.86.18 202.96.86.24<br />
安徽DNS地址:202.102.192.68 202.102.199.68 10.89.64.5 <br />
重庆DNS地址:61.128.128.68 10.150.0.1 <br />
黑龙江DNS地址:202.97.229.133 202.97.224.68 <br />
河北DNS地址:202.99.160.68 10.17.128.90 <br />
保定DNS地址:202.99.160.68 202.99.166.4 <br />
吉林DNS地址:202.98.5.68 202.98.14.18 202.98.14.19 <br />
江西DNS地址:202.101.224.68 10.117.32.40 202.109.129.2 202.101.240.36<br />
山西DNS地址:202.99.192.68 202.99.198.6 <br />
新疆DNS地址:61.128.99.133 61.128.99.134 <br />
贵州DNS地址:202.98.192.68 10.157.2.15 <br />
云南DNS地址:202.98.96.68 202.98.160.68 <br />
四川DNS地址:202.98.96.68 61.139.2.69 <br />
重庆DNS地址:61.128.128.68 61.128.192.4 <br />
成都DNS地址:202.98.96.68 202.98.96.69 <br />
内蒙古DNS地址:202.99.224.68 10.29.0.2 <br />
青海DNS地址:202.100.128.68 10.184.0.1 <br />
海南DNS地址:202.100.192.68 202.100.199.8 <br />
宁夏DNS地址:202.100.0.68 202.100.96.68 <br />
甘肃DNS地址:202.100.72.13 10.179.64.1 <br />
香港DNS地址:205.252.144.228 208.151.69.65 <br />
澳门DNS地址:202.175.3.8 202.175.3.3</font></p>
<p><font face="Courier New">全国各地铁通DNS见下:<br />
----------------------------------------------------------------<br />
香港DNS地址:ns1.netvigator.com 205.252.144.228<br />
澳门DNS地址:vassun2.macau.ctm.net 202.175.3.8<br />
深圳DNS地址:ns.shenzhen.gd.cn 202.96.134.133 202.96.154.8 /202.96.154.15<br />
北京DNS地址:ns.bta.net.cn 202.96.0.133 ns.spt.net.cn 202.96.199.133 ns.cn.net 202.97.16.195 202.106.0.20/202.106.148.1<br />
广东DNS地址:ns.guangzhou.gd.cn 202.96.128.143 dns.guangzhou.gd.cn 202.96.128.68<br />
上海DNS地址:ns.sta.net.cn 202.96.199.132/202.96.199.133/202.96.199.133<br />
浙江DNS地址:dns.zj.cninfo.net 202.96.102.3/202.96.96.68/202.96.104.18<br />
陕西DNS地址:ns.snnic.com 202.100.13.11<br />
天津DNS地址:ns.tpt.net.cn 202.99.96.68<br />
辽宁DNS地址:ns.dcb.ln.cn 202.96.75.68 202.96.64.68 202.96.91.58<br />
江苏DNS地址:pub.jsinfo.net 202.102.29.3<br />
四川DNS地址:ns.sc.cninfo.net 61.139.2.69<br />
河北DNS地址:ns.hesjptt.net.cn 202.99.160.68<br />
山西DNS地址:ns.sxyzptt.net.cn 202.99.198.6<br />
吉林DNS地址:ns.jlccptt.net.cn 202.98.0.68<br />
山东DNS地址:202.102.152.3/202.102.128.68<br />
福建DNS地址:dns.fz.fj.cn 202.101.98.55<br />
湖南DNS地址:202.103.100.206<br />
广西DNS地址:10.138.128.40<br />
江西DNS地址:202.109.129.2/202.101.224.68/202.101.240.36<br />
云南DNS地址:ns.ynkmptt.net.cn 202.98.160.68<br />
重庆DNS地址:61.128.128.68<br />
河南DNS地址:202.102.227.68/202.102.224.68/202.102.245.12<br />
新疆DNS地址:61.128.97.73/61.128.97.74<br />
保定DNS地址:202.99.160.68/202.99.166.4<br />
武汉DNS地址:202.103.24.68/202.103.0.117<br />
西安DNS地址:202.100.4.15/202.100.0.68<br />
成都DNS地址:202.98.96.68/202.98.96.69<br />
重庆DNS地址:61.128.192.4<br />
乌鲁木齐DNS地址:61.128.97.73<br />
厦门DNS地址:202.101.103.55</font></p>
<p><font face="Courier New">全国各地网通DNS见下:<br />
---------------------------------------------<br />
香港DNS地址:ns1.netvigator.com 205.252.144.228 <br />
澳门DNS地址:vassun2.macau.ctm.net 202.175.3.8 <br />
深圳DNS地址:ns.shenzhen.gd.cn 202.96.134.133 202.96.154.8 202.96.154.15 <br />
北京DNS地址:ns.bta.net.cn 202.96.0.133 ns.spt.net.cn 202.96.199.133 ns.cn.net 202.97.16.195 202.106.0.20 202.106.148.1 202.106.196.115 <br />
广东DNS地址:ns.guangzhou.gd.cn 202.96.128.143 dns.guangzhou.gd.cn 202.96.128.68 <br />
上海DNS地址:ns.sta.net.cn 202.96.199.132 202.96.199.133 202.96.209.5 202.96.209.133 <br />
浙江DNS地址:dns.zj.cninfo.net 202.96.102.3 202.96.96.68 202.96.104.18 <br />
陕西DNS地址:ns.snnic.com 202.100.13.11 <br />
西安DNS地址:202.100.4.15 202.100.0.68 <br />
天津DNS地址:ns.tpt.net.cn 202.99.96.68 <br />
辽宁DNS地址:ns.dcb.ln.cn 202.96.75.68 202.96.75.64 202.96.64.68 202.96.69.38 202.96.86.18 202.96.86.24 <br />
江苏DNS地址:pub.jsinfo.net 202.102.29.3 202.102.13.141 202.102.24.35 <br />
安徽DNS地址:202.102.192.68 202.102.199.68<br />
四川DNS地址:ns.sc.cninfo.net 61.139.2.69 <br />
重庆DNS地址:61.128.128.68 61.128.192.4 <br />
成都DNS地址:202.98.96.68 202.98.96.69 <br />
河北DNS地址:ns.hesjptt.net.cn 202.99.160.68 <br />
保定DNS地址:202.99.160.68 202.99.166.4 <br />
山西DNS地址:ns.sxyzptt.net.cn 202.99.198.6 补一下.202.99.192.68或66<br />
吉林DNS地址:ns.jlccptt.net.cn 202.98.5.68 <br />
山东DNS地址:202.102.152.3 202.102.128.68 <br />
福建DNS地址:dns.fz.fj.cn 202.101.98.55 <br />
湖南DNS地址:202.103.100.206 <br />
广西DNS地址:10.138.128.40 202.103.224.68 202.103.225.68 <br />
江西DNS地址:202.109.129.2 <br />
云南DNS地址:ns.ynkmptt.net.cn 202.98.160.68 <br />
河南DNS地址:202.102.227.68 202.102.224.68 202.102.245.12 <br />
新疆DNS地址:61.128.97.73 <br />
乌鲁木齐DNS地址:61.128.97.73 61.128.97.74 <br />
武汉DNS地址:202.103.24.68 202.103.0.117 <br />
厦门两个DNS地址:202.101.103.55 202.101.103.54 <br />
山东DNS地址:202.102.134.68 <br />
长沙DNS地址:202.103.96.68 202.103.96.112</font></p>
<p><font face="Courier New">OpenDNS见下:<br />
---------------------------------------------<br />
OpenDNS:208.67.222.222 208.67.220.220</font></p>]]></description>
			<link>http://airsky.com.ru//show-80-1.html</link>
			<category domain="http://airsky.com.ru//category-3-1.html">精品收录</category>
			<pubDate>2009-01-03 23:33</pubDate>
		</item>
		<item>
			<guid>http://airsky.com.ru//show-79-1.html</guid>
			<title>[PHP]实用函数</title>
			<author>eric</author>
			<description><![CDATA[<p>直接来地址，不转了太多了</p>
<p><a href="http://www.im286.com/thread-2234087-1-3.html">http://www.im286.com/thread-2234087-1-3.html</a></p>]]></description>
			<link>http://airsky.com.ru//show-79-1.html</link>
			<category domain="http://airsky.com.ru//category-3-1.html">精品收录</category>
			<pubDate>2009-01-01 01:33</pubDate>
		</item>
		<item>
			<guid>http://airsky.com.ru//show-78-1.html</guid>
			<title>为cPanel安装CSF防火墙</title>
			<author>eric</author>
			<description><![CDATA[<h1>Install CSF Firewall for Cpanel</h1>
<p>CSF firewall commonly known as <strong>C</strong>onfigserver <strong>S</strong>ecurity and <strong>F</strong>irewall has become one of the popular firewall not just because of its easy of use it also provides a cpanel interface and can be easily installed and tuned by any novice users. If you are running cpanel without firewall then CSF firewall is very much recommended, considering the security aspects of your server.</p>
<p>&nbsp;</p>
<p>You can visit the <a target="_blank" href="http://quickproxy.net.ru/index.php?q=aHR0cDovL3d3dy5jb25maWdzZXJ2ZXIuY29tL2NwL2NzZi5odG1s">CSF firewall website</a> for more information. You can also download necessary files there.</p>
<h2>Important Features</h2>
<ul>
    <li>WHM Interface for CPanel</li>
    <li>Firewall Running Status</li>
    <li>Easy to Install and Administer</li>
    <li>Brute Force Attack Prevention</li>
    <li>One Click Server Security Checks</li>
    <li>Port scan prevention and blocking</li>
    <li>Intrusion detection system</li>
    <li>Easy Installation and Configuration</li>
    <li>IP Blocking and more..</li>
</ul>
<p>Let us prepare a linux based server running with cpanel. Note that CSF firewall requires to remove any currently running IP based firewall (APF or other IP tables firewall). It comes with all necessary scripts that will remove APF or IP tables firewall.</p>
<h1>Installation Steps</h1>
<p>1. Download the package <strong><a target="_blank" href="http://quickproxy.net.ru/index.php?q=aHR0cDovL3d3dy5jb25maWdzZXJ2ZXIuY29tL2NwL2NzZi5odG1s">here</a></strong></p>
<p class="box">wget &lt;&lt;path_of_tgz_file&gt;&gt;</p>
<p><strong>2. Untar it</strong></p>
<p class="box">tar -zxf csf.tar.gz</p>
<p><strong>3. Run the Install script.</strong></p>
<p class="box">sh /csf/install.sh</p>
<p>Thats it! wait until the script ends!</p>
<p><strong>4. Remove APF or IPTables Firewall</strong></p>
<p>If you have any existing IP tables firewall remove them using uninstall scripts located at /etc/csf. In this case i was running APF firewall and BFD in my server so i have to remove it.</p>
<p class="box">sh /etc/csf/remove_apf_bfd.sh</p>
<p><strong>5. Start the Firewall in Testing Mode</strong></p>
<p>Start the firewall with the following command.</p>
<p class="box">csf -s<br />
// start the firewall<br />
csf -r<br />
// restart the firewall<br />
csf -f<br />
// flush the rules or stop the firewall.</p>
<p>If you are running a VPS plan, then you might get the error like this</p>
<p><strong>&quot;iptables LKM ip_tables missing so this firewall cannot function unless you enable MONOLITHIC_KERNEL in /etc/csf/csf.conf<br />
Error: aborted, at line 156&quot;</strong></p>
<p><strong>To fix:<br />
</strong>Open the <strong>/etc/csf/csf.conf</strong> and look for a line MONOLITHIC_KERNEL = &quot;0&quot; and <strong>change</strong> to <strong>MONOLITHIC_KERNEL = &quot;1&quot;</strong></p>
<p>Thats all! Now restart the firewall.</p>
<p><strong>7. Specify which ports you want to allow.</strong></p>
<p>It is very important to check the firewall on which ports to open and close all remaining port numbers. Open the /etc/csf/csf.conf and edit the following line with port numbers</p>
<p class="box"># Allow incoming TCP ports<br />
TCP_IN = &quot;20,21,22,25,53,80,110,143,443,465,953,993,995,2077,2078,2082,2083,2087&quot;<br />
# Allow outgoing TCP ports<br />
TCP_OUT = &quot;20,21,22,25,37,43,53,80,110,113,443,587,873,953,2087,2089,2703&quot;<br />
# Allow incoming UDP ports<br />
UDP_IN = &quot;20,21,53,953&quot;<br />
# Allow outgoing UDP ports<br />
# To allow outgoing traceroute add 33434:33523 to this list<br />
UDP_OUT = &quot;20,21,53,113,123,873,953,6277&quot;</p>
<p>21 =&gt; FTP<br />
22 =&gt; SSH<br />
23 =&gt; Telnet<br />
25 =&gt; SMTP Mail Transfer<br />
43 =&gt; WHOIS service<br />
53 =&gt; name server (DNS)<br />
80 =&gt; HTTP (Web server)<br />
110 =&gt; POP protocol (for email)<br />
443 =&gt; HTTP Secure (SSL for https:// ) <br />
995 =&gt; POP over SSL/TLS<br />
9999 =&gt; Urchin<br />
3306 = &gt; MysQL Server<br />
2082 =&gt; CPANEL Default<br />
2083 =&gt; CPANEL - Secure/SSL<br />
2086 =&gt; CPANEL WHM<br />
2087 =&gt; CPANEL WHM - Secure/SSL<br />
2095 =&gt; cpanel webmail<br />
2096 =&gt; cpanel webmail - secure/SSL<br />
Plesk Control Panel =&gt; 8443<br />
DirectAdmin Control Panel =&gt; 2222<br />
Webmin Control Panel =&gt; 10000</p>
<p>For more information about commonly used port numbers refer to <a target="_blank" href="http://quickproxy.net.ru/index.php?q=aHR0cDovL3d3dy5teXNxbC1hcGFjaGUtcGhwLmNvbS9wb3J0cy5odG0%3D"><strong>this article</strong></a></p>
<p><strong>6. Disable the Testing Mode and Start the Firewall</strong></p>
<p>Remember by default the firewall is running in testing mode. You might want to disable the firewall running in testing mode.</p>
<p class="box">nano /etc/csf/csf.conf<br />
<br />
//Look for the first line and set testing mode to &quot;0&quot;<br />
<strong>TESTING = &quot;0&quot;<br />
<br />
</strong>//Now restart the firewall! <br />
csf -r</p>
<h3><strong>In Cpanel</strong></h3>
<p>If you have successfully installed the CSF firewall, then you will find this <strong>CSF Security &amp; Firewall </strong>option within cpanel WHM at the bottom of the menu. Just click on the link and you can also <strong>edit </strong>the firewall settings inside Cpanel, which is very easy to do.</p>
<p><a href="http://airsky.com.ru//attachment.php?id=27" target="_blank"><img src="http://airsky.com.ru//attachments//date_200812/7e8253bf451628c15b476cc79f139fbf.jpg" border="0" alt="大小: 3.32 K&#13;尺寸: 199 x 59&#13;浏览: 0 次&#13;点击打开新窗口浏览全图" width="199" height="59" /></a></p>
<h3>Config Files</h3>
<p><strong>/etc/csf/csf.conf</strong> CSF Firewall configuration file<br />
<strong>/etc/csf/csf.allow</strong> =&gt; Config file to allow IPs<br />
<strong>/etc/csf/csf.deny</strong> =&gt; Config file to deny IPs<br />
<strong>/etc/csf/</strong> =&gt; Alert files with TXT extension are stored within this directory</p>
<h2>Final Steps</h2>
<p>1. Check the status of firewall inside cpanel<br />
2. Harden the firewall security by performing the system security check. To do this go to <strong>Cpanel WHM &gt; CSF Firewall &amp; Security &gt; Check System Security. </strong>There it will list WARNINGS based on your server.</p>
<hr />
<h1>Frequently Asked Questions</h1>
<h2>1. How do i know whether the firewall is running or not?</h2>
<p>Just login to <strong>Cpanel WHM &gt; Config Security &amp; Firewall &gt; Status: Running</strong></p>
<p><a href="http://airsky.com.ru//attachment.php?id=28" target="_blank"><img src="http://airsky.com.ru//attachments/date_200812/thumb_835d25507fdf9ee63f8f69f540f25140.jpg" border="0" alt="大小: 31.83 K&#13;尺寸: 500 x 225&#13;浏览: 0 次&#13;点击打开新窗口浏览全图" width="500" height="225" /></a></p>
<p><strong>Another good idea is to check and see which ports have been opened and closed by firewall.</strong></p>
<p>To look for open ports, just use the following commands in linux and observe which ports are open.</p>
<p class="box">netstat -nap <br />
OR<br />
nmap fuser localhost</p>
<h2>2. How do i Remove the CSF Firewall</h2>
<p>Just run the uninstall script located at <strong>/etc/csf/ </strong>directory</p>
<p class="box">sh /etc/csf/uninstall.sh</p>]]></description>
			<link>http://airsky.com.ru//show-78-1.html</link>
			<category domain="http://airsky.com.ru//category-4-1.html">探索空间</category>
			<pubDate>2008-12-30 03:01</pubDate>
		</item>
		<item>
			<guid>http://airsky.com.ru//show-77-1.html</guid>
			<title>php.ini 配置详解</title>
			<author>eric</author>
			<description><![CDATA[<p>不知道有没有全，但是先收藏了以后查资料用<img alt="" border="0" src="http://airsky.com.ru/images/smiles/prejudice.gif" /></p>
<p>;;;;;;;;;;;;;;<br />
;;&nbsp;&nbsp;&nbsp; Apache&nbsp;&nbsp;&nbsp; ;;<br />
;;;;;;;;;;;;;;<br />
[Apache]<br />
; 仅在将PHP作为Apache模块时才有效。</p>
<p>engine = On<br />
; 是否启用PHP解析引擎。<br />
; 可以在httpd.conf中基于目录或者虚拟主机来打开或者关闭PHP解析引擎。</p>
<p>last_modified = Off<br />
; 是否在Last-Modified应答头中放置该PHP脚本的最后修改时间。</p>
<p>xbithack = Off<br />
; 是否不管文件结尾是什么，都作为PHP可执行位组来解析。</p>
<p>child_terminate = Off<br />
; PHP脚本在请求结束后是否允许使用apache_child_terminate()函数终止子进程。<br />
; 该指令仅在UNIX平台上将PHP安装为Apache1.3的模块时可用。其他情况下皆不存在。</p>
<p><br />
;;;;;;;;;;;;;;;<br />
;;&nbsp;&nbsp;&nbsp; PHP核心&nbsp;&nbsp;&nbsp; ;;<br />
;;;;;;;;;;;;;;;</p>
<p>[PHP-Core-DateTime]<br />
; 前四个配置选项目前仅用于date_sunrise()和date_sunset()函数。</p>
<p>date.default_latitude = 31.7667<br />
; 默认纬度</p>
<p>date.default_longitude = 35.2333<br />
; 默认经度</p>
<p>date.sunrise_zenith = 90.583333<br />
; 默认日出天顶</p>
<p>date.sunset_zenith = 90.583333<br />
; 默认日落天顶</p>
<p>date.timezone =<br />
; 未设定TZ环境变量时用于所有日期和时间函数的默认时区。<br />
; 中国大陆应当使用&quot;PRC&quot;<br />
; 应用时区的优先顺序为：<br />
; 1. 用date_default_timezone_set()函数设定的时区(如果设定了的话)<br />
; 2. TZ 环境变量(如果非空的话)<br />
; 3. 该指令的值(如果设定了的话)<br />
; 4. PHP自己推测(如果操作系统支持)<br />
; 5. 如果以上都不成功，则使用 UTC</p>
<p><br />
[PHP-Core-Assert]</p>
<p>assert.active = On<br />
; 是否启用assert()断言评估</p>
<p>assert.bail = Off<br />
; 是否在发生失败断言时中止脚本的执行</p>
<p>assert.callback =<br />
; 发生失败断言时执行的回调函数</p>
<p>assert.quiet_eval = Off<br />
; 是否使用安静评估(不显示任何错误信息，相当于error_reporting=0)。<br />
; 若关闭则在评估断言表达式的时候使用当前的error_reporting指令值。</p>
<p>assert.warning = On<br />
; 是否对每个失败断言都发出警告</p>
<p><br />
[PHP-Core-SafeMode]<br />
; 安全模式是为了解决共享服务器的安全问题而设立的。<br />
; 但试图在PHP层解决这个问题在结构上是不合理的，<br />
; 正确的做法应当是修改web服务器层和操作系统层。<br />
; 因此在PHP6中废除了安全模式，并打算使用open_basedir指令取代之。</p>
<p>safe_mode = Off<br />
;SYS<br />
; 是否启用安全模式。<br />
; 打开时，PHP将检查当前脚本的拥有者是否和被操作的文件的拥有者相同，<br />
; 相同则允许操作，不同则拒绝操作。</p>
<p>safe_mode_gid = Off<br />
;SYS<br />
; 在安全模式下，默认在访问文件时会做UID比较检查。<br />
; 但有些情况下严格的UID检查反而是不适合的，宽松的GID检查已经足够。<br />
; 如果你想将其放宽到仅做GID比较，可以打开这个参数。</p>
<p>safe_mode_allowed_env_vars = &quot;PHP_&quot;<br />
;SYS<br />
; 在安全模式下，用户仅可以更改的环境变量的前缀列表(逗号分隔)。<br />
; 允许用户设置某些环境变量，可能会导致潜在的安全漏洞。<br />
; 注意: 如果这一参数值为空，PHP将允许用户更改任意环境变量！</p>
<p>safe_mode_protected_env_vars = &quot;LD_LIBRARY_PATH&quot;<br />
;SYS<br />
; 在安全模式下，用户不能更改的环境变量列表(逗号分隔)。<br />
; 这些变量即使在safe_mode_allowed_env_vars指令设置为允许的情况下也会得到保护。</p>
<p>safe_mode_exec_dir = &quot;/usr/local/php/bin&quot;<br />
;SYS<br />
; 在安全模式下，只有该目录下的可执行程序才允许被执行系统程序的函数执行。<br />
; 这些函数是：system, escapeshellarg, escapeshellcmd, exec, passthru, <br />
; proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, shell_exec</p>
<p>safe_mode_include_dir =<br />
;SYS<br />
; 在安全模式下，该组目录和其子目录下的文件被包含时，将跳过UID/GID检查。<br />
; 换句话说，如果此处的值为空，任何UID/GID不符合的文件都不允许被包含。<br />
; 这里设置的目录必须已经存在于include_path指令中或者用完整路径来包含。<br />
; 多个目录之间用冒号(Win下为分号)隔开。<br />
; 指定的限制实际上是一个前缀，而非一个目录名，<br />
; 也就是说&quot;/dir/incl&quot;将允许访问&quot;/dir/include&quot;和&quot;/dir/incls&quot;<br />
; 如果您希望将访问控制在一个指定的目录，那么请在结尾加上斜线。</p>
<p>sql.safe_mode = Off<br />
;SYS<br />
; 是否使用SQL安全模式。<br />
; 如果打开，指定默认值的数据库连接函数将会使用这些默认值代替支持的参数。<br />
; 对于每个不同数据库的连接函数，其默认值请参考相应的手册页面。</p>
<p><br />
[PHP-Core-Safe]</p>
<p>allow_url_fopen = On<br />
;ini<br />
; 是否允许打开远程文件</p>
<p>allow_url_include = Off<br />
;SYS<br />
; 是否允许include/require远程文件。</p>
<p>disable_classes =<br />
;ini<br />
; 该指令接受一个用逗号分隔的类名列表，以禁用特定的类。</p>
<p>disable_functions =<br />
;ini<br />
; 该指令接受一个用逗号分隔的函数名列表，以禁用特定的函数。</p>
<p>enable_dl = On<br />
;SYS<br />
; 是否允许使用dl()函数。dl()函数仅在将PHP作为apache模块安装时才有效。<br />
; 禁用dl()函数主要是出于安全考虑，因为它可以绕过open_basedir指令的限制。<br />
; 在安全模式下始终禁用dl()函数，而不管此处如何设置。</p>
<p>expose_php = On<br />
;ini<br />
; 是否暴露PHP被安装在服务器上的事实(在http头中加上其签名)。<br />
; 它不会有安全上的直接威胁，但它使得客户端知道服务器上安装了PHP。</p>
<p>open_basedir =<br />
;SYS<br />
; 将PHP允许操作的所有文件(包括文件自身)都限制在此组目录列表下。<br />
; 当一个脚本试图打开一个指定目录树之外的文件时，将遭到拒绝。<br />
; 所有的符号连接都会被解析，所以不可能通过符号连接来避开此限制。<br />
; 特殊值'.'指定了存放该脚本的目录将被当做基准目录。<br />
; 但这有些危险，因为脚本的工作目录可以轻易被chdir()改变。<br />
; 对于共享服务器，在httpd.conf中灵活设置该指令将变得非常有用。<br />
; 在Windows中用分号分隔目录，UNIX系统中用冒号分隔目录。<br />
; 作为Apache模块时，父目录中的open_basedir路径将自动被继承。<br />
; 指定的限制实际上是一个前缀，而非一个目录名，<br />
; 也就是说&quot;/dir/incl&quot;将允许访问&quot;/dir/include&quot;和&quot;/dir/incls&quot;，<br />
; 如果您希望将访问控制在一个指定的目录，那么请在结尾加上一个斜线。<br />
; 默认是允许打开所有文件。</p>
<p>[PHP-Core-Error]</p>
<p>error_reporting = E_ALL &amp; ~E_NOTICE<br />
; 错误报告级别是位字段的叠加，推荐使用 E_ALL | E_STRICT<br />
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp; E_ERROR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 致命的运行时错误<br />
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp; E_WARNING&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 运行时警告(非致命性错误)<br />
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4&nbsp;&nbsp;&nbsp; E_PARSE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 编译时解析错误<br />
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8&nbsp;&nbsp;&nbsp; E_NOTICE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 运行时提醒(经常是bug，也可能是有意的)<br />
;&nbsp;&nbsp;&nbsp;&nbsp; 16&nbsp;&nbsp;&nbsp; E_CORE_ERROR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PHP启动时初始化过程中的致命错误<br />
;&nbsp;&nbsp;&nbsp;&nbsp; 32&nbsp;&nbsp;&nbsp; E_CORE_WARNING&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PHP启动时初始化过程中的警告(非致命性错)<br />
;&nbsp;&nbsp;&nbsp;&nbsp; 64&nbsp;&nbsp;&nbsp; E_COMPILE_ERROR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 编译时致命性错<br />
;&nbsp;&nbsp;&nbsp; 128&nbsp;&nbsp;&nbsp; E_COMPILE_WARNING&nbsp;&nbsp;&nbsp;&nbsp; 编译时警告(非致命性错)<br />
;&nbsp;&nbsp;&nbsp; 256&nbsp;&nbsp;&nbsp; E_USER_ERROR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 用户自定义的致命错误<br />
;&nbsp;&nbsp;&nbsp; 512&nbsp;&nbsp;&nbsp; E_USER_WARNING&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 用户自定义的警告(非致命性错误)<br />
; 1024&nbsp;&nbsp;&nbsp; E_USER_NOTICE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 用户自定义的提醒(经常是bug，也可能是有意的)<br />
; 2048&nbsp;&nbsp;&nbsp; E_STRICT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 编码标准化警告(建议如何修改以向前兼容)<br />
; 4096&nbsp;&nbsp;&nbsp; E_RECOVERABLE_ERROR 接近致命的运行时错误，若未被捕获则视同E_ERROR<br />
; 6143&nbsp;&nbsp;&nbsp; E_ALL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 除E_STRICT外的所有错误(PHP6中为8191,即包含所有)</p>
<p>track_errors = Off<br />
; 是否在变量$php_errormsg中保存最近一个错误或警告消息。</p>
<p>display_errors = On<br />
; 是否将错误信息作为输出的一部分显示。<br />
; 在最终发布的web站点上，强烈建议你关掉这个特性，并使用错误日志代替(参看下面)。<br />
; 在最终发布的web站点打开这个特性可能暴露一些安全信息，<br />
; 例如你的web服务上的文件路径、数据库规划或别的信息。</p>
<p>display_startup_errors = Off<br />
; 是否显示PHP启动时的错误。<br />
; 即使display_errors指令被打开，关闭此参数也将不显示PHP启动时的错误。<br />
; 建议你关掉这个特性，除非你必须要用于调试中。</p>]]></description>
			<link>http://airsky.com.ru//show-77-1.html</link>
			<category domain="http://airsky.com.ru//category-4-1.html">探索空间</category>
			<pubDate>2008-12-30 01:11</pubDate>
		</item>
		<item>
			<guid>http://airsky.com.ru//show-76-1.html</guid>
			<title>2008年最漂亮的50个网站</title>
			<author>eric</author>
			<description><![CDATA[<h3><a href="http://www.saizenmedia.com/" target="_blank">Saizen Media</a></h3>
<p><img height="352" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/saizen-media.GIF" width="500" alt="" /></p>
<h3><a href="http://blog.nemstudio.com/" target="_blank">Nem Studio</a></h3>
<p><img height="362" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/nemstudio.jpg" width="500" alt="" /></p>
<h3><a href="http://www.efingo.ro/" target="_blank">Efingo</a></h3>
<p><img height="312" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/efingo.jpg" width="500" alt="" /></p>
<h3><a href="http://www.projectvino.com.au/" target="_blank">Project Vino</a></h3>
<p><img height="345" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/project-vino.jpg" width="500" alt="" /></p>
<h3><a href="http://www.kavoon.com/" target="_blank">Kavoon</a></h3>
<p><img height="385" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/kavoon.jpg" width="500" alt="" /></p>
<h3><a href="http://belvedereinc.net/" target="_blank">Belvedere Inc</a></h3>
<p><img height="344" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/belvedere.jpg" width="500" alt="" /></p>
<h3><a href="http://www.qualityxhtml.com/blog/" target="_blank">Quality XHTML</a></h3>
<p><img height="268" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/quality-xhtml.jpg" width="500" alt="" /></p>
<h3><a href="http://avalonstar.com/blog/" target="_blank">Avalon Star</a></h3>
<p><img height="276" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/avalon-star.jpg" width="500" alt="" /></p>
<h3><a href="http://www.level2d.com/" target="_blank">Level 2D</a></h3>
<p><img height="309" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/level2d.jpg" width="500" alt="" /></p>
<h3><a href="http://mediaboom.com/" target="_blank">mediaBOOM</a></h3>
<p><img height="373" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/media-boom.jpg" width="500" alt="" /></p>
<h3><a href="http://www.sensisoft.com/" target="_blank">Sensi Soft</a></h3>
<p><img height="396" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/sensi-soft.jpg" width="500" alt="" /></p>
<h3><a href="http://www.fivecentstand.com/" target="_blank">Five Cent Stand</a></h3>
<p><img height="335" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/5-cent-stand.jpg" width="500" alt="" /></p>
<h3><a href="http://blogsolid.com/" target="_blank">Blogsolid</a></h3>
<p><img height="320" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/blogsolid.jpg" width="500" alt="" /></p>
<h3><a href="http://www.darasgarden.com/" target="_blank">Dana&rsquo;s Garden</a></h3>
<p><img height="329" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/danas-garden.jpg" width="500" alt="" /></p>
<h3><a href="http://lonnroth.info/" target="_blank">OLDesign</a></h3>
<p><img height="364" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/trickeries.jpg" width="500" alt="" /></p>
<h3><a href="http://fortysevenmedia.com/" target="_blank">FortySeven Media</a></h3>
<p><img height="335" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/fortyseven-design.jpg" width="500" alt="" /></p>
<h3><a href="http://aviary.com/home" target="_blank">A.viary</a></h3>
<p><img height="288" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/aviary.jpg" width="500" alt="" /></p>
<h3><a href="http://www.kulturbanause.de/" target="_blank">Kulturbanause</a></h3>
<p><img height="343" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/kulturbanause.jpg" width="500" alt="" /></p>
<h3><a href="http://www.noedesign.com/2008/index.php" target="_blank">Noe Design Studio</a></h3>
<p><img height="351" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/noe-design-studio.jpg" width="500" alt="" /></p>
<h3><a href="http://www.20cmrecords.com/20cmrecords.html" target="_blank">20CM Records</a></h3>
<p><img height="348" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/20cm-records.jpg" width="500" alt="" /></p>
<h3><a href="http://michelledinan.com/" target="_blank">Michelle Dinan</a></h3>
<p><img height="400" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/michelle-dinan.jpg" width="500" alt="" /></p>
<h3><a href="http://www.freelenz.at/" target="_blank">Freelenz</a></h3>
<p><img height="289" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/freelenz.jpg" width="500" alt="" /></p>
<h3><a href="http://www.pixelcriminals.com/container/" target="_blank">Pixel Criminals</a></h3>
<p><img height="362" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/pixel-criminals.jpg" width="500" alt="" /></p>
<h3><a href="http://gavmack.co.uk/" target="_blank">Gavin Mackintosh</a></h3>
<p><img height="368" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/gavmack.jpg" width="500" alt="" /></p>
<h3><a href="http://deanoakley.com/" target="_blank">Dean Oakley</a></h3>
<p><img height="368" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/dean-oakley.jpg" width="500" alt="" /></p>
<h3><a href="http://www.coalmarch.com/" target="_blank">Coalmarch</a></h3>
<p><img height="350" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/coalmarch.jpg" width="500" alt="" /></p>
<h3><a href="http://www.jeffsarmiento.com/" target="_blank">Jeff Sarmiento</a></h3>
<p><img height="356" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/jeff-sarmiento.jpg" width="500" alt="" /></p>
<h3><a href="http://www.bonsaistudios.com/" target="_blank">Bonsai Studios</a></h3>
<p><img height="382" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/bonsai-studios.jpg" width="500" alt="" /></p>
<h3><a href="http://www.hicksdesign.co.uk/" target="_blank">Hicks Design</a></h3>
<p><img height="283" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/hicks-design.jpg" width="500" alt="" /></p>
<h3><a href="http://www.okapistudio.com/" target="_blank">Okapi Studio</a></h3>
<p><img height="345" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/okapi-studio.jpg" width="500" alt="" /></p>
<h3><a href="http://www.narfstuff.co.uk/" target="_blank">Narf Stuff</a></h3>
<p><img height="378" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/narf-stuff.jpg" width="500" alt="" /></p>
<h3><a href="http://www.karimzurita.com/" target="_blank">Karim Zurita</a></h3>
<p><img height="387" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/karim-zurita.jpg" width="500" alt="" /></p>
<h3><a href="http://www.sevenedge.be/" target="_blank">Sevenedge</a></h3>
<p><img height="374" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/seven-edge.jpg" width="500" alt="" /></p>
<h3><a href="http://www.outdooritalia.it/" target="_blank">Outdoor Italia</a></h3>
<p><img height="344" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/outdoor-italia.jpg" width="500" alt="" /></p>
<h3><a href="http://www.designpicks.de/" target="_blank">Designpicks</a></h3>
<p><img height="352" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/design-picks.jpg" width="500" alt="" /></p>
<h3><a href="http://www.jay-han.com/" target="_blank">Jayhan</a></h3>
<p><img height="331" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/jay-han.jpg" width="500" alt="" /></p>
<h3><a href="http://www.onvo.co.uk/" target="_blank">Onvo</a></h3>
<p><img height="318" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/onvo.jpg" width="500" alt="" /></p>
<h3><a href="http://www.aurum3.com/" target="_blank">Aurum 3</a></h3>
<p><img height="317" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/aurum3.jpg" width="500" alt="" /></p>
<h3><a href="http://www.dawghousedesignstudio.com/" target="_blank">Dawghouse Studio</a></h3>
<p><img height="307" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/dowghouse.gif" width="500" alt="" /></p>
<h3><a href="http://tjmapes.com/" target="_blank">TJ Mapes</a></h3>
<p><img height="369" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/tjmapes.jpg" width="500" alt="" /></p>
<h3><a href="http://www.mkleyne.nl/" target="_blank">MK Leyne</a></h3>
<p><img height="374" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/mkleyne.jpg" width="500" alt="" /></p>
<h3><a href="http://www.newzealandtravelblog.co.nz/" target="_blank">New Zealand Travel Blog</a></h3>
<p><img height="295" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/travel-blog.jpg" width="500" alt="" /></p>
<h3><a href="http://www.daniel-rico.com/" target="_blank">Daniel Rico</a></h3>
<p><img height="341" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/daniel-rico.jpg" width="500" alt="" /></p>
<h3><a href="http://www.alifelski.com/" target="_blank">Ali Felki</a></h3>
<p><img height="262" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/ali-felski.jpg" width="500" alt="" /></p>
<h3><a href="http://www.studio7designs.com/blog/" target="_blank">Eco Design Blog</a></h3>
<p><img height="315" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/eco-design-blog.jpg" width="500" alt="" /></p>
<h3><a href="http://vikiworks.com/" target="_blank">Vikiworks Studio</a></h3>
<p><img height="292" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/viki-works.jpg" width="500" alt="" /></p>
<h3><a href="http://www.komodomedia.com/" target="_blank">Komodo Media</a></h3>
<p><img height="255" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/komodo-media.jpg" width="500" alt="" /></p>
<h3><a href="http://www.dollarshort.org/" target="_blank">Dollar Short</a></h3>
<p><img height="340" src="http://blog.bingo929.com/wp-content/uploads/2008/12/2008-beautiful-web/dollar-short.jpg" width="500" alt="" /></p>
<h3><a href="http://www.simplyfired.com/" target="_blank">Simply Fired</a></h3>]]></description>
			<link>http://airsky.com.ru//show-76-1.html</link>
			<category domain="http://airsky.com.ru//category-3-1.html">精品收录</category>
			<pubDate>2008-12-23 01:43</pubDate>
		</item>
		<item>
			<guid>http://airsky.com.ru//show-75-1.html</guid>
			<title>Server Security Configuration</title>
			<author>eric</author>
			<description><![CDATA[<p>================================================================================ \<br />
<strong>-------------------------------:[Server Security]:--------------------------------</strong><br />
\=============================================================================== =/<br />
<br />
###################################<br />
#-----------:[INFO]:--------------#<br />
#---------------------------------#<br />
#Title: &quot;Server Security&quot; #<br />
#Author: QKrun1x #<br />
#E-Mail: qkrun1x@hotmail.com #<br />
#Date: 2008-06-16 #<br />
###################################<br />
<br />
<br />
##############################################################<br />
#-------------------------:[SUMMARY]:------------------------#<br />
#------------------------------------------------------------#<br />
#1) Upgrade Apache/PHP, MySQL, OpenSSH, OpenSSL, cP/WHM etc #<br />
#2) cP/WHM Configuration #<br />
#3) SSH Access #<br />
#4) Mod_Security #<br />
#5) Firewall #<br />
#6) DDoS Protection #<br />
#7) Rootkit #<br />
#8) PHP Configuration #<br />
#9) Other #<br />
#10)The End #<br />
##############################################################<br />
<br />
<br />
Hello to everybody, first of all I'm sorry for my bad english but is not my<br />
mother language.<br />
<br />
I wrote tutorial about webservers security, how to secure webservers...<br />
I use Cent OS 5, Apache and cP/WHM and I will explain how to secure them<br />
<br />
Let's start :)<br />
<br />
<br />
#############################################################<br />
#<br />
1) Upgrade Apache/PHP, MySQL, OpenSSH, OpenSSL cP/WHM etc #<br />
#<br />
#############################################################<br />
<br />
Update your Apache/PHP, MySQL, OpenSSH, OpenSSL, cP/WHM... and be sure that you running the latest secured version.<br />
<br />
<br />
############################<br />
#<br />
2) cP/WHM Configuration #<br />
#<br />
############################<br />
<br />
WHM - Server setup - Tweak Security:<br />
-------------------------------------<br />
Enable php open_basedir protection<br />
Enable mod_userdir protection<br />
Disable Compilers for all accounts(except root)<br />
Enable Shell Bomb/memory Protection<br />
<br />
WHM - Account Functions:<br />
-------------------------<br />
Disable cPanel Demo Mode<br />
Disable shell access for all accounts(except root)<br />
<br />
WHM - Service Configuration - FTP Configuration:<br />
-------------------------------------------------<br />
Disable anonymous FTP access<br />
<br />
WHM - MySQL:<br />
-------------<br />
Set some MySQL password(Don't set the same password like for the root access)<br />
-If you don't set MySQL password and if someone upload shell(E.G c99) on some site on server he will be able to login into db with username &quot;root&quot; without password<br />
and delete/edit/download any db on that server<br />
<br />
WHM - Server Setup:<br />
--------------------<br />
Go to Server Setup and enable suEXEC and PHPsuEXEC<br />
When PHP runs as an Apache Module it executes as the user/group of the webserver which is usually &quot;nobody&quot; or &quot;apache&quot;.<br />
PHPsuEXEC changes this so scripts are run as a CGI. Than means scripts are executed as the user that created them.<br />
With PHPsuEXEC script permissions can't be set to 777(read/write/execute at user/group/world level)<br />
<br />
<br />
###################<br />
#<br />
3) SSH Access #<br />
#<br />
###################<br />
<br />
Change SSH port(set something like 1334)<br />
<br />
You can change it in /etc/ssh/sshd_conf<br />
<br />
There is a lot of script kiddiez with brute forcers and they will try to crack our ssh pass because they know username is root, port is 22<br />
But we are smarter, we changed SSH port :)<br />
Also, their &quot;brute forcing&quot; can reduce server load, that means our sites(hosted on that server) will be slower<br />
<br />
SSH Legal Message<br />
edit /etc/motd, write in motd something like that:<br />
&quot;ALERT! That is a secured area. Your IP is logged. Administrator has been notified&quot;<br />
<br />
When someone login into SSH he will see that message:<br />
ALERT! That is a secured area. Your IP is logged. Administrator has been notified<br />
<br />
And at the end restart SSH, type &quot;service sshd restart&quot; into SSH<br />
<br />
<br />
####################<br />
#<br />
4) Mod_Security #<br />
#<br />
####################<br />
<br />
Mod_Security is a web application firewall and he can help us to secure our sites against RFI, LFI, XSS, SQL Injection etc<br />
<br />
If you use cP/WHM you can easly enable Mod_security in WHM - Plugins - Enable Mod_Security and save<br />
<br />
Now I will explain how to install Mod_security from source.<br />
You can't install Mod_Security if you don't have libxml2 and http-devel libraries. <br />
Also, you need to enable mod_unique_id in apache modules, but don't worry, I will explain how to do it :)<br />
<br />
Login into SSH and type...<br />
<br />
----------------------------------------------------<br />
yum install libxml2 libxml2-devel httpd-devel<br />
----------------------------------------------------<br />
<br />
libxml2 libxml2-devel httpd-devel should be installed now<br />
<br />
then you need to edit httpd.conf file, you can find it here:<br />
/etc/httpd/conf/httpd.conf<br />
<br />
You need to add this in your httpd.conf file<br />
LoadModule unique_id_module modules/mod_unique_id.so<br />
<br />
Now download the latest version of mod_security for apache2 from <a target="_blank" href="http://www.modsecurity.org/">http://www.modsecurity.org</a><br />
<br />
login into SSH and type...<br />
<br />
-----------------------------------------------------------------------------<br />
cd /root/downloads<br />
wget <a target="_blank" href="http://www.modsecurity.org/download/modsecurity-apache_2.1.7.tar.gz">http://www.modsecurity.org/download/mods...1.7.tar.gz</a><br />
tar zxf modsecurity-apache_2.1.7.tar.gz<br />
cd modsecurity-apache_2.1.7<br />
cd apache2<br />
------------------------------------------------------------------------------<br />
<br />
Now we need to edit Makefile, file is located here:<br />
/root/download/modsecurity-apache_2.1.7/apache2/<br />
<br />
change &quot;top_dir =&quot; with &quot;top_dir = /usr/lib/httpd&quot;<br />
<br />
then type:<br />
-------------------<br />
make<br />
make install<br />
-------------------<br />
<br />
<br />
---------------------------------------------------------<br />
# /etc/httpd/conf/httpd.conf<br />
<br />
LoadModule unique_id_module modules/mod_unique_id.so<br />
LoadFile /usr/lib/libxml2.so<br />
LoadModule security2_module modules/mod_security2.so<br />
Include /etc/httpd/conf/modsecurity.conf<br />
---------------------------------------------------------<br />
<br />
go at the end of httpd.conf and place an include for our config/rules file...<br />
Include /etc/httpd/conf/modsecurity.conf<br />
<br />
<br />
Content of /etc/httpd/conf/modsecurity.conf<br />
------------------------------------------------------------------------------------------------------------------------<br />
&lt;IfModule mod_security.c&gt;<br />
# Only inspect dynamic requests<br />
# (YOU MUST TEST TO MAKE SURE IT WORKS AS EXPECTED)<br />
SecFilterEngine DynamicOnly<br />
<br />
# Reject requests with status 403<br />
SecFilterDefaultAction &quot;deny,log,status:403&quot;<br />
<br />
# Some sane defaults<br />
SecFilterScanPOST On<br />
SecFilterCheckURLEncoding On<br />
SecFilterCheckCookieFormat On<br />
SecFilterCheckUnicodeEncoding Off<br />
<br />
# Accept almost all byte values<br />
SecFilterForceByteRange 1 255<br />
<br />
# Server masking is optional<br />
# SecServerSignature &quot;Microsoft-IIS/5.0&quot;<br />
<br />
SecUploadDir /tmp<br />
SecUploadKeepFiles Off<br />
<br />
# Only record the interesting stuff<br />
SecAuditEngine RelevantOnly<br />
SecAuditLog logs/audit_log<br />
<br />
# You normally won't need debug logging<br />
SecFilterDebugLevel 0<br />
SecFilterDebugLog logs/modsec_debug_log<br />
<br />
# Only accept request encodings we know how to handle<br />
# we exclude GET requests from this because some (automated)<br />
# clients supply &quot;text/html&quot; as Content-Type<br />
SecFilterSelective REQUEST_METHOD &quot;!^GET$&quot; chain<br />
SecFilterSelective HTTP_Content-Type &quot;!(^$|^application/x-www-form-urlencoded$|^multipart/form-data)&quot;<br />
<br />
# Require Content-Length to be provided with<br />
# every POST request<br />
SecFilterSelective REQUEST_METHOD &quot;^POST$&quot; chain<br />
SecFilterSelective HTTP_Content-Length &quot;^$&quot;<br />
<br />
# Don't accept transfer encodings we know we don't handle<br />
# (and you don't need it anyway)<br />
SecFilterSelective HTTP_Transfer-Encoding &quot;!^$&quot;<br />
<br />
# WEB-ATTACKS /bin/sh command attempt<br />
SecFilter &quot;/bin/sh&quot;<br />
<br />
# WEB-ATTACKS ps command attempt<br />
SecFilterSelective THE_REQUEST &quot;/bin/ps&quot;<br />
<br />
# WEB-ATTACKS /bin/ps command attempt<br />
# SecFilterSelective THE_REQUEST &quot;ps\x20&quot;<br />
<br />
# WEB-ATTACKS wget command attempt<br />
SecFilter &quot;wget\x20&quot;<br />
<br />
# WEB-ATTACKS uname -a command attempt<br />
SecFilter &quot;uname\x20-a&quot;<br />
<br />
# WEB-ATTACKS /usr/bin/id command attempt<br />
SecFilter &quot;/usr/bin/id&quot;<br />
<br />
# WEB-ATTACKS id command attempt<br />
SecFilter &quot;\;id&quot;<br />
<br />
# WEB-ATTACKS echo command attempt<br />
SecFilter &quot;/bin/echo&quot;<br />
<br />
# WEB-ATTACKS kill command attempt<br />
SecFilter &quot;/bin/kill&quot;<br />
<br />
# WEB-ATTACKS chmod command attempt<br />
SecFilter &quot;/bin/chmod&quot;<br />
<br />
# WEB-ATTACKS chgrp command attempt<br />
SecFilter &quot;/chgrp&quot;<br />
<br />
# WEB-ATTACKS chown command attempt<br />
SecFilter &quot;/chown&quot;<br />
<br />
# WEB-ATTACKS chsh command attempt<br />
SecFilter &quot;/usr/bin/chsh&quot;<br />
<br />
# WEB-ATTACKS tftp command attempt<br />
SecFilter &quot;tftp\x20&quot;<br />
<br />
# WEB-ATTACKS gcc command attempt<br />
SecFilter &quot;gcc\x20-o&quot;<br />
<br />
# WEB-ATTACKS cc command attempt<br />
#SecFilter &quot;cc\x20&quot;<br />
<br />
# WEB-ATTACKS /usr/bin/cpp command attempt<br />
SecFilter &quot;/usr/bin/cpp&quot;<br />
<br />
# WEB-ATTACKS cpp command attempt<br />
SecFilter &quot;cpp\x20&quot;<br />
<br />
# WEB-ATTACKS /usr/bin/g++ command attempt<br />
SecFilter &quot;/usr/bin/g\+\+&quot;<br />
<br />
# WEB-ATTACKS g++ command attempt<br />
SecFilter &quot;g\+\+\x20&quot;<br />
<br />
# WEB-ATTACKS bin/python access attempt<br />
SecFilter &quot;bin/python&quot;<br />
<br />
# WEB-ATTACKS python access attempt<br />
SecFilter &quot;python\x20&quot;<br />
<br />
# WEB-ATTACKS bin/tclsh execution attempt<br />
SecFilter &quot;bin/tclsh&quot;<br />
<br />
# WEB-ATTACKS tclsh execution attempt<br />
SecFilter &quot;tclsh8\x20&quot;<br />
<br />
# WEB-ATTACKS bin/nasm command attempt<br />
SecFilter &quot;bin/nasm&quot;<br />
<br />
# WEB-ATTACKS nasm command attempt<br />
SecFilter &quot;nasm\x20&quot;<br />
<br />
# WEB-ATTACKS /usr/bin/perl execution attempt<br />
SecFilter &quot;/usr/bin/perl&quot;<br />
<br />
# WEB-ATTACKS perl execution attempt<br />
SecFilter &quot;perl\x20&quot;<br />
<br />
# WEB-ATTACKS traceroute command attempt<br />
SecFilter &quot;traceroute\x20&quot;<br />
<br />
# WEB-ATTACKS ping command attempt<br />
SecFilter &quot;/bin/ping&quot;<br />
<br />
# WEB-ATTACKS netcat command attempt<br />
SecFilter &quot;nc\x20&quot;<br />
<br />
# WEB-ATTACKS nmap command attempt<br />
SecFilter &quot;nmap\x20&quot;<br />
<br />
# WEB-ATTACKS xterm command attempt<br />
SecFilter &quot;/usr/X11R6/bin/xterm&quot;<br />
<br />
# WEB-ATTACKS X application to remote host attempt<br />
SecFilter &quot;\x20-display\x20&quot;<br />
<br />
# WEB-ATTACKS lsof command attempt<br />
SecFilter &quot;lsof\x20&quot;<br />
<br />
# WEB-ATTACKS rm command attempt<br />
SecFilter &quot;rm\x20&quot;<br />
<br />
# WEB-ATTACKS mail command attempt<br />
SecFilter &quot;/bin/mail&quot;<br />
<br />
# WEB-ATTACKS /bin/ls command attempt<br />
SecFilterSelective THE_REQUEST &quot;/bin/ls&quot;<br />
<br />
# WEB-ATTACKS /etc/inetd.conf access<br />
SecFilter &quot;/etc/inetd\.conf&quot; log,pass<br />
<br />
# WEB-ATTACKS /etc/motd access<br />
SecFilter &quot;/etc/motd&quot; log,pass<br />
<br />
# WEB-ATTACKS /etc/shadow access<br />
SecFilter &quot;/etc/shadow&quot; log,pass<br />
<br />
# WEB-ATTACKS conf/httpd.conf attempt<br />
SecFilter &quot;conf/httpd\.conf&quot; log,pass<br />
<br />
# WEB-ATTACKS .htgroup access<br />
SecFilterSelective THE_REQUEST &quot;\.htgroup&quot; log,pass<br />
<br />
# WEB-CGI rksh access<br />
SecFilterSelective THE_REQUEST &quot;/rksh&quot;<br />
<br />
# WEB-CGI bash access<br />
SecFilterSelective THE_REQUEST &quot;/bash&quot; log,pass<br />
<br />
# WEB-CGI perl command attempt<br />
SecFilterSelective THE_REQUEST &quot;/perl\?&quot;<br />
<br />
# WEB-CGI zsh access<br />
SecFilterSelective THE_REQUEST &quot;/zsh&quot;<br />
<br />
# WEB-CGI csh access<br />
SecFilterSelective THE_REQUEST &quot;/csh&quot;<br />
<br />
# WEB-CGI tcsh access<br />
SecFilterSelective THE_REQUEST &quot;/tcsh&quot;<br />
<br />
# WEB-CGI rsh access<br />
SecFilterSelective THE_REQUEST &quot;/rsh&quot;<br />
<br />
# WEB-CGI ksh access<br />
SecFilterSelective THE_REQUEST &quot;/ksh&quot;<br />
<br />
# WEB-CGI icat access<br />
SecFilterSelective THE_REQUEST &quot;/icat&quot; log,pass<br />
<br />
# WEB-CGI /cgi-bin/ls access<br />
SecFilterSelective THE_REQUEST &quot;/cgi-bin/ls&quot; log,pass<br />
<br />
# WEB-CLIENT Javascript document.domain attempt<br />
SecFilter &quot;document\.domain\(&quot;<br />
<br />
# WEB-CLIENT Javascript URL host spoofing attempt<br />
SecFilter &quot;javascript\://&quot;<br />
<br />
# WEB-MISC cross site scripting \(img src=javascript\) attempt<br />
SecFilter &quot;img src=javascript&quot;<br />
<br />
# WEB-MISC .htpasswd access<br />
SecFilter &quot;\.htpasswd&quot;<br />
<br />
# WEB-MISC http directory traversal<br />
SecFilter &quot;\.\.\\&quot;<br />
<br />
# WEB-MISC http directory traversal<br />
SecFilter &quot;\.\./&quot;<br />
<br />
# WEB-MISC ls%20-l<br />
SecFilter &quot;ls\x20-l&quot;<br />
<br />
# WEB-MISC /etc/passwd<br />
SecFilter &quot;/etc/passwd&quot;<br />
<br />
# WEB-MISC .htaccess access<br />
SecFilter &quot;\.htaccess&quot;<br />
<br />
# WEB-MISC cd..<br />
SecFilter &quot;cd\.\.&quot;<br />
<br />
# WEB-MISC /.... access<br />
SecFilter &quot;/\.\.\.\.&quot;<br />
<br />
# WEB-MISC cat%20 access<br />
SecFilter &quot;cat\x20&quot;<br />
<br />
# WEB-MISC long basic authorization string<br />
SecFilter &quot;Authorization\: Basic &quot;<br />
<br />
# WEB-MISC .history access<br />
SecFilterSelective THE_REQUEST &quot;/\.history&quot;<br />
<br />
# WEB-MISC .bash_history access<br />
SecFilterSelective THE_REQUEST &quot;/\.bash_history&quot;<br />
<br />
# WEB-MISC *%0a.pl access<br />
SecFilterSelective THE_REQUEST &quot;/*\x0a\.pl&quot;<br />
<br />
# WEB-MISC apache ?M=D directory list attempt<br />
SecFilterSelective THE_REQUEST &quot;/\?M=D&quot; log,pass<br />
<br />
# WEB-MISC server-status access<br />
SecFilterSelective THE_REQUEST &quot;/server-status&quot; log,pass<br />
<br />
# WEB-MISC Transfer-Encoding\: chunked<br />
<br />
SecFilter &quot;chunked&quot;<br />
<br />
# WEB-MISC perl post attempt<br />
SecFilterSelective THE_REQUEST &quot;/perl/&quot; chain<br />
SecFilter &quot;POST&quot;<br />
<br />
# WEB-MISC mod_gzip_status access<br />
SecFilterSelective THE_REQUEST &quot;/mod_gzip_status&quot; log,pass<br />
<br />
# WEB-PHP squirrel mail spell-check arbitrary command attempt<br />
SecFilterSelective THE_REQUEST &quot;/squirrelspell/modules/check_me\.mod\.php&quot; chain<br />
SecFilter &quot;SQSPELL_APP\[&quot;<br />
<br />
# WEB-PHP squirrel mail theme arbitrary command attempt<br />
SecFilterSelective THE_REQUEST &quot;/left_main\.php&quot; chain<br />
SecFilter &quot;cmdd=&quot;<br />
<br />
# WEB-PHP phpbb quick-reply.php arbitrary command attempt<br />
SecFilterSelective THE_REQUEST &quot;/quick-reply\.php&quot; chain<br />
SecFilter &quot;phpbb_root_path=&quot;<br />
<br />
# WEB-PHP phpbb quick-reply.php access<br />
SecFilterSelective THE_REQUEST &quot;/quick-reply\.php&quot; log,pass<br />
SecFilterSelective THE_REQUEST &quot;\.php&quot; chain<br />
SecFilter &quot;path=http\://&quot;<br />
<br />
# WEB-PHP Mambo uploadimage.php upload php file attempt<br />
SecFilterSelective THE_REQUEST &quot;/uploadimage\.php&quot; chain<br />
SecFilter &quot;\.php&quot;<br />
<br />
# WEB-PHP Mambo upload.php upload php file attempt<br />
SecFilterSelective THE_REQUEST &quot;/upload\.php&quot; chain<br />
SecFilter &quot;\.php&quot;<br />
<br />
# WEB-PHP Mambo uploadimage.php access<br />
SecFilterSelective THE_REQUEST &quot;/uploadimage\.php&quot; log,pass<br />
<br />
# WEB-PHP Mambo upload.php access<br />
SecFilterSelective THE_REQUEST &quot;/upload\.php&quot; log,pass<br />
<br />
# WEB-PHP phpBB privmsg.php access<br />
SecFilterSelective THE_REQUEST &quot;/privmsg\.php&quot; log,pass<br />
<br />
# WEB-PHP test.php access<br />
SecFilterSelective THE_REQUEST &quot;/test\.php&quot; log,pass<br />
<br />
# WEB-PHP phpBB viewtopic.php<br />
SecFilterSelective THE_REQUEST &quot;viewtopic.php&quot; chain <br />
SecFilterSelective &quot;THE_REQUEST|ARG_VALUES&quot; &quot;(system|exec|passthru|cmd|fopen|exit|fwrite)&quot; deny,log<br />
<br />
# EXTRAS<br />
<br />
SecFilter &quot;/boot&quot;<br />
SecFilter &quot;/dev&quot;<br />
SecFilter &quot;/etc&quot;<br />
SecFilter &quot;/initrd&quot;<br />
SecFilter &quot;/lost+found&quot;<br />
SecFilter &quot;/mnt&quot;<br />
SecFilter &quot;/proc&quot;<br />
SecFilter &quot;/root&quot;<br />
SecFilter &quot;/sbin&quot;<br />
SecFilter &quot;/tmp&quot;<br />
SecFilter &quot;/usr/local/apache&quot;<br />
SecFilter &quot;/var/spool&quot;<br />
SecFilter &quot;/bin/cc&quot;<br />
SecFilter &quot;/bin/gcc&quot;<br />
SecFilter &quot;&lt;[[:space:]]*script&quot;<br />
SecFilter &quot;&lt;(.|\n)+&gt;&quot;<br />
SecFilter &quot;delete[[:space:]]+from&quot;<br />
SecFilter &quot;insert[[:space:]]+into&quot;<br />
SecFilter &quot;select.+from&quot;<br />
<br />
&lt;/IfModule&gt;<br />
------------------------------------------------------------------------------------------------------------------------<br />
<br />
<br />
Now restart httpd, type &quot;service httpd restart&quot; into SSH<br />
<br />
<br />
#####################<br />
#<br />
5) Firewall #<br />
#<br />
#####################<br />
<br />
We will install APF (Advanced Policy Firewall) now...<br />
APF is a policy based iptables firewall system designed for ease of use and configuration<br />
<br />
Let's begin!<br />
<br />
Login into SSH and type<br />
----------------------------------------------------------------<br />
cd /root/downloads<br />
wget <a target="_blank" href="http://www.rfxnetworks.com/downloads/apf-current.tar.gz">http://www.rfxnetworks.com/downloads/apf-current.tar.gz</a><br />
tar -xvzf apf-current.tar.gz <br />
cd apf-0.9.5-1 // or whatever the latest version is<br />
./install.sh<br />
----------------------------------------------------------------<br />
<br />
--------------------------------------------------------<br />
Installing APF 0.9.5-1: Completed.<br />
<br />
Installation Details:<br />
Install path: /etc/apf/<br />
Config path: /etc/apf/conf.apf<br />
Executable path: /usr/local/sbin/apf<br />
AntiDos install path: /etc/apf/ad/<br />
AntiDos config path: /etc/apf/ad/conf.antidos<br />
DShield Client Parser: /etc/apf/extras/dshield/<br />
---------------------------------------------------------<br />
<br />
Now we need to configure our new firewall...<br />
We need to edit apf.conf<br />
That is located here: /etc/apf/conf.apf<br />
<br />
If you use cP/WHM, like me, you need to configure apf like this(to we can access cP/WHM<br />
because firewall will block our cP/WHM ports and we will not be able to access cP/WHM)<br />
<br />
----------------------------------------------------------------------------------------<br />
Common ingress (inbound) ports<br />
# Common ingress (inbound) TCP ports -3000_3500 = passive port range for Pure FTPD<br />
IG_TCP_CPORTS=&quot;21,22,25,53,80,110,143,443,2082,2083, 2086,2087, 2095, 2096,3000_3500&quot;<br />
#<br />
# Common ingress (inbound) UDP ports<br />
IG_UDP_CPORTS=&quot;53&quot;<br />
<br />
Common egress (outbound) ports<br />
# Egress filtering [0 = Disabled / 1 = Enabled]<br />
EGF=&quot;1&quot;<br />
<br />
# Common egress (outbound) TCP ports<br />
EG_TCP_CPORTS=&quot;21,25,80,443,43,2089&quot;<br />
#<br />
# Common egress (outbound) UDP ports<br />
EG_UDP_CPORTS=&quot;20,21,53&quot;<br />
-----------------------------------------------------------------------------------------<br />
<br />
Then... (apf.conf)<br />
<br />
----------------------<br />
FIND: DEVM=&quot;1&quot;<br />
CHANGE TO: DEVM=&quot;0&quot;<br />
----------------------<br />
<br />
now start apf, type in ssh<br />
<br />
-----------<br />
apf -s<br />
-----------<br />
<br />
Some other apf commands:<br />
---------------------------<br />
apf -s - start apf<br />
apf -r - restart apf<br />
apf -f - flush firewall<br />
apf -st - firewall status<br />
apf -d IP - bann IP<br />
apf -u IP - unbann IP<br />
---------------------------<br />
<br />
<br />
#########################<br />
#<br />
6) DDoS Protection #<br />
#<br />
#########################<br />
<br />
We will install mod_evasive and DDoS Deflate to prevent DDoS attacks on our server<br />
<br />
###################<br />
# Mod Evasive #<br />
###################<br />
<br />
ModEvasive module for apache offers protection against DDoS (denial of service attacks) on your server. <br />
<br />
To install it login into SSH and type<br />
<br />
---------------------------------------------------------------------------------<br />
cd /root/dawnloads<br />
wget <a target="_blank" href="http://www.zdziarski.com/projects/mod_evasive/mod_evasive_1.10.1.tar.gz">http://www.zdziarski.com/projects/mod_ev...0.1.tar.gz</a><br />
tar zxf mode_evasive-1.10.1.tar.gz<br />
cd mod_evasive<br />
<br />
then type...<br />
/usr/sbin/apxs -cia mod_evasive20.c<br />
---------------------------------------------------------------------------------<br />
<br />
When mod_evasive is installed, place the following lines in your httpd.conf (/etc/httpd/conf/httpd.conf)<br />
<br />
--------------------------------<br />
&lt;IfModule mod_evasive20.c&gt;<br />
DOSHashTableSize 3097<br />
DOSPageCount 2<br />
DOSSiteCount 50<br />
DOSPageInterval 1<br />
DOSSiteInterval 1<br />
DOSBlockingPeriod 10<br />
&lt;/IfModule&gt;<br />
--------------------------------<br />
<br />
<br />
####################<br />
# DDoS Deflate #<br />
####################<br />
<br />
Installation<br />
-----------------------------------------------------------<br />
wget <a target="_blank" href="http://www.inetbase.com/scripts/ddos/install.sh">http://www.inetbase.com/scripts/ddos/install.sh</a><br />
chmod 0700 install.sh<br />
./install.sh<br />
-----------------------------------------------------------<br />
<br />
Uninstalling<br />
-----------------------------------------------------------<br />
wget <a target="_blank" href="http://www.inetbase.com/scripts/ddos/uninstall.ddos">http://www.inetbase.com/scripts/ddos/uninstall.ddos</a><br />
chmod 0700 uninstall.ddos<br />
./uninstall.ddos<br />
-----------------------------------------------------------<br />
<br />
<br />
###################<br />
#<br />
7) Rootkit #<br />
#<br />
###################<br />
<br />
Ok, we will install RKHunter now:<br />
<br />
Rootkit scanner is scanning tool to ensure you for about 99.9%* you're clean of nasty tools. <br />
This tool scans for rootkits, backdoors and local exploits by running tests like:<br />
- MD5 hash compare<br />
- Look for default files used by rootkits<br />
- Wrong file permissions for binaries<br />
- Look for suspected strings in LKM and KLD modules<br />
- Look for hidden files<br />
- Optional scan within plaintext and binary files<br />
<br />
Instalation:<br />
<br />
Login into SSH and type<br />
<br />
-----------------------------------------------------------<br />
cd /root/downloads<br />
wget <a target="_blank" href="http://downloads.rootkit.nl/rkhunter-1.2.7.tar.gz">http://downloads.rootkit.nl/rkhunter-1.2.7.tar.gz</a><br />
tar -zxvf rkhunter-1.2.7.tar.gz<br />
cd rkhunter-1.2.7<br />
./installer.sh <br />
-----------------------------------------------------------<br />
<br />
<br />
############################<br />
#<br />
8) PHP Configuration #<br />
#<br />
############################<br />
<br />
We need to edit php.ini<br />
php.ini is located here /usr/local/lib/php.ini<br />
----------------------------------------------------------<br />
safe_mode = On<br />
expose_php = Off<br />
magic_quotes = On<br />
register_globals = off<br />
display errors = off<br />
disable_functions = show_source, system, proc_terminate, <br />
shell_exec, exec, passthru, proc_open, phpinfo, popen<br />
-----------------------------------------------------------<br />
<br />
Or if you running cP/WHM you can configure it here:<br />
<br />
WHM - Service Configuration - PHP Configuration Editor<br />
<br />
<br />
###############<br />
#<br />
9) Other #<br />
#<br />
###############<br />
<br />
If you use bind DNS server then we need to edit named.conf file<br />
named.conf is located here: /etc/named.conf<br />
<br />
and add<br />
recursion no; under Options<br />
----------------------------<br />
Options{<br />
recursion no;<br />
----------------------------<br />
<br />
Now restart bind<br />
type into SSH<br />
-----------------------<br />
service named restart<br />
-----------------------<br />
<br />
That will prevent lookups from dnstools.com and similar services and reduce server load<br />
<br />
Now we will prevent IP spoofing, to do it we need to edit host.conf file<br />
This file is located here: /etc/host.conf<br />
Add that in host.conf<br />
------------------<br />
order bind,hosts<br />
nospoof on<br />
------------------<br />
<br />
Hide the Apache version number:<br />
<br />
edit httpd.conf (/etc/httpd/conf/httpd.conf)<br />
-----------------------<br />
ServerSignature Off<br />
-----------------------<br />
<br />
Disable telnet:<br />
<br />
Edit file: /etc/xinetd.d/telnet<br />
------------------<br />
disable = yes<br />
------------------<br />
<br />
###############<br />
#<br />
10) The End #<br />
#<br />
###############</p>]]></description>
			<link>http://airsky.com.ru//show-75-1.html</link>
			<category domain="http://airsky.com.ru//category-4-1.html">探索空间</category>
			<pubDate>2008-12-20 10:24</pubDate>
		</item>
		<item>
			<guid>http://airsky.com.ru//show-74-1.html</guid>
			<title>cPanel &amp; WHM系统破解版</title>
			<author>eric</author>
			<description><![CDATA[<p>看英文介绍啰嗦了一堆不知道是哪个版本，下下来一看，CP9.98，可能就是CP10了，看来CP11还算比较强大的，没人破的了呵呵，收藏下这个破解版本的下载</p>
<p>DownLoad:<a href="http://im286.googlecode.com/files/cPanel%5B1%5D.cPanel.Pro.rar" target="_blank">http://im286.googlecode.com/files/cPanel%5B1%5D.cPanel.Pro.rar</a></p>
<p>估计是落伍哪个MJJ提供的&nbsp;<img alt="" border="0" src="http://airsky.com.ru/images/smiles/laugh.gif" /></p>]]></description>
			<link>http://airsky.com.ru//show-74-1.html</link>
			<category domain="http://airsky.com.ru//category-3-1.html">精品收录</category>
			<pubDate>2008-12-16 10:16</pubDate>
		</item>
		<item>
			<guid>http://airsky.com.ru//show-73-1.html</guid>
			<title>PW首页最后发表加长HACK</title>
			<author>eric</author>
			<description><![CDATA[<p>首先我不需要版主列表，竖排板块在 风格/index.htm 删除：</p>
<div class="codeText">
<div class="codeHead">XML/HTML代码</div>
<ol class="dp-xml">
    <li class="alt"><span><span class="tag">&lt;</span><span class="tag-name">td</span><span>&nbsp;</span><span class="attribute">width</span><span>=</span><span class="attribute-value">&quot;15%&quot;</span><span>&nbsp;</span><span class="attribute">class</span><span>=</span><span class="attribute-value">&quot;y-style&quot;</span><span class="tag">&gt;</span><span>版主</span><span class="tag">&lt;/</span><span class="tag-name">td</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li>
</ol>
</div>
<p>还有：</p>
<div class="codeText">
<div class="codeHead">XML/HTML代码</div>
<ol class="dp-xml">
    <li class="alt"><span><span class="tag">&lt;</span><span class="tag-name">td</span><span>&nbsp;</span><span class="attribute">class</span><span>=</span><span class="attribute-value">&quot;y-style&quot;</span><span>&nbsp;</span><span class="attribute">style</span><span>=</span><span class="attribute-value">&quot;word-break:&nbsp;keep-all;word-wrap:no-wrap&quot;</span><span class="tag">&gt;</span><span>&lt;!-- &nbsp;&nbsp;</span></span></li>
    <li class=""><span>EOT; &nbsp;&nbsp;</span></li>
    <li class="alt"><span>if($db_adminshow&nbsp;&amp;&amp;&nbsp;$forums[admin]){print&nbsp;</span><span class="tag">&lt;</span><span class="tag">&lt;</span><span class="tag">&lt;</span><span class="tag-name">EOT</span><span>&nbsp;&nbsp;</span></li>
    <li class=""><span>--</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></li>
    <li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="tag">&lt;</span><span class="tag-name">select</span><span>&nbsp;</span><span class="attribute">name</span><span>=</span><span class="attribute-value">&quot;admin&quot;</span><span>&nbsp;</span><span class="attribute">onchange</span><span>=</span><span class="attribute-value">&quot;Ajump(this.options[this.selectedIndex].value)&quot;</span><span>&nbsp;</span><span class="attribute">style</span><span>=</span><span class="attribute-value">&quot;width:80px;&quot;</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></li>
    <li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="tag">&lt;</span><span class="tag-name">option</span><span>&nbsp;</span><span class="attribute">value</span><span>=</span><span class="attribute-value">&quot;&quot;</span><span class="tag">&gt;</span><span>&nbsp;版主列表</span><span class="tag">&lt;/</span><span class="tag-name">option</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></li>
    <li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;</span></li>
    <li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$forums[admin] &nbsp;&nbsp;</span></li>
    <li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;</span></li>
    <li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="tag">&lt;/</span><span class="tag-name">select</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></li>
    <li class="alt"><span>&lt;!-- &nbsp;&nbsp;</span></li>
    <li class=""><span>EOT; &nbsp;&nbsp;</span></li>
    <li class="alt"><span>}else{print&nbsp;</span><span class="tag">&lt;</span><span class="tag">&lt;</span><span class="tag">&lt;</span><span class="tag-name">EOT</span><span>&nbsp;&nbsp;</span></li>
    <li class=""><span>--</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></li>
    <li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$forums[admin] &nbsp;&nbsp;</span></li>
    <li class=""><span>&lt;!-- &nbsp;&nbsp;</span></li>
    <li class="alt"><span>EOT; &nbsp;&nbsp;</span></li>
    <li class=""><span>}print&nbsp;</span><span class="tag">&lt;</span><span class="tag">&lt;</span><span class="tag">&lt;</span><span class="tag-name">EOT</span><span>&nbsp;&nbsp;</span></li>
    <li class="alt"><span>--</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="tag">&lt;/</span><span class="tag-name">td</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></li>
</ol>
</div>
<p>如果是横排则删除：</p>
<div class="codeText">
<div class="codeHead">XML/HTML代码</div>
<ol class="dp-xml">
    <li class="alt"><span><span class="tag">&lt;</span><span class="tag-name">td</span><span>&nbsp;</span><span class="attribute">colspan</span><span>=</span><span class="attribute-value">&quot;3&quot;</span><span>&nbsp;</span><span class="attribute">style</span><span>=</span><span class="attribute-value">&quot;padding:2px&nbsp;0&nbsp;2px&nbsp;12px;&nbsp;&quot;</span><span class="tag">&gt;</span><span>&nbsp;版主&nbsp;: &nbsp;&nbsp;</span></span></li>
    <li class=""><span>&lt;!-- &nbsp;&nbsp;</span></li>
    <li class="alt"><span>EOT; &nbsp;&nbsp;</span></li>
    <li class=""><span>if($db_adminshow&nbsp;&amp;&amp;&nbsp;$forums[admin]){print&nbsp;</span><span class="tag">&lt;</span><span class="tag">&lt;</span><span class="tag">&lt;</span><span class="tag-name">EOT</span><span>&nbsp;&nbsp;</span></li>
    <li class="alt"><span>--</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></li>
    <li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="tag">&lt;</span><span class="tag-name">select</span><span>&nbsp;</span><span class="attribute">name</span><span>=</span><span class="attribute-value">&quot;admin&quot;</span><span>&nbsp;</span><span class="attribute">onchange</span><span>=</span><span class="attribute-value">&quot;Ajump(this.options[this.selectedIndex].value)&quot;</span><span>&nbsp;</span><span class="attribute">style</span><span>=</span><span class="attribute-value">&quot;width:80px;&quot;</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></li>
    <li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="tag">&lt;</span><span class="tag-name">option</span><span>&nbsp;</span><span class="attribute">value</span><span>=</span><span class="attribute-value">&quot;&quot;</span><span class="tag">&gt;</span><span>&nbsp;版主列表</span><span class="tag">&lt;/</span><span class="tag-name">option</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></li>
    <li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;</span></li>
    <li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$forums[admin] &nbsp;&nbsp;</span></li>
    <li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;</span></li>
    <li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="tag">&lt;/</span><span class="tag-name">select</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></li>
    <li class=""><span>&lt;!-- &nbsp;&nbsp;</span></li>
    <li class="alt"><span>EOT; &nbsp;&nbsp;</span></li>
    <li class=""><span>}else{print&nbsp;</span><span class="tag">&lt;</span><span class="tag">&lt;</span><span class="tag">&lt;</span><span class="tag-name">EOT</span><span>&nbsp;&nbsp;</span></li>
    <li class="alt"><span>--</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></li>
    <li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$forums[admin] &nbsp;&nbsp;</span></li>
    <li class="alt"><span>&lt;!-- &nbsp;&nbsp;</span></li>
    <li class=""><span>EOT; &nbsp;&nbsp;</span></li>
    <li class="alt"><span>}print&nbsp;</span><span class="tag">&lt;</span><span class="tag">&lt;</span><span class="tag">&lt;</span><span class="tag-name">EOT</span><span>&nbsp;&nbsp;</span></li>
    <li class=""><span>--</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></li>
    <li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="tag">&lt;/</span><span class="tag-name">td</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></li>
</ol>
</div>
<p>具体代码论坛不同可能有差异。</p>
<p>删掉版主一列后，最后发帖显得很长，我们同意修改下index.htm，找到：</p>
<div class="codeText">
<div class="codeHead">XML/HTML代码</div>
<ol class="dp-xml">
    <li class="alt"><span><span>.t&nbsp;table&nbsp;tr.tr2&nbsp;td.f{width:20%}&nbsp;&nbsp;</span></span></li>
</ol>
</div>
<p>20%改成你想用的宽度</p>
<p>接着是改最后发表标题长度,修改index.php，找到</p>
<div class="codeText">
<div class="codeHead">PHP代码</div>
<ol class="dp-c">
    <li class="alt"><span><span class="vars">$forums</span><span>[</span><span class="string">'t'</span><span>]&nbsp;=&nbsp;substrs(</span><span class="vars">$forums</span><span>[</span><span class="string">'t'</span><span>],26);&nbsp;&nbsp;</span></span></li>
</ol>
</div>
<p>把26改成你想要的<strong>字节数</strong>，记住一个汉字是2字节</p>
<p>再修改require/postfunc.php和require/postmodify.php</p>
<p>查找数字26，同样全部替换成你想要的字节数，别人列的行数：</p>
<blockquote dir="ltr" style="margin-right: 0px">
<p>102行：<br />
&nbsp; &nbsp; &nbsp; &nbsp; $subject&nbsp; = substrs($atc_title,26);<br />
110行：<br />
&nbsp; &nbsp; &nbsp; &nbsp; $subject&nbsp; = $atc_title ? substrs($atc_title,26) : 'Re:'.addslashes(substrs($replytitle,26));<br />
117行：<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$subject = addslashes(substrs($rt['subject'],26));<br />
120行：<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$subject = 'Re:'.addslashes(substrs($rt['subject'],26));</p>
</blockquote>
<p>到此修改完毕，会员重新顶贴或者修改帖子即可更新字节数，没有找到更新缓存即可更新最后发表字节数的方法</p>]]></description>
			<link>http://airsky.com.ru//show-73-1.html</link>
			<category domain="http://airsky.com.ru//category-4-1.html">探索空间</category>
			<pubDate>2008-12-16 03:41</pubDate>
		</item>
		<item>
			<guid>http://airsky.com.ru//show-72-1.html</guid>
			<title>5秒后弹窗代码</title>
			<author>eric</author>
			<description><![CDATA[<div class="codeText">
<div class="codeHead">JavaScript代码</div>
<ol class="dp-c">
    <li class="alt"><span><span>&lt;script&nbsp;language=</span><span class="string">'javascript'</span><span>&gt; &nbsp;&nbsp;</span></span></li>
    <li class=""><span class="keyword">var</span><span>&nbsp;sVarPopWin=</span><span class="keyword">true</span><span>; &nbsp;&nbsp;</span></li>
    <li class="alt"><span class="keyword">function</span><span>&nbsp;PlayJsAdPopWin() &nbsp;&nbsp;</span></li>
    <li class=""><span>{ &nbsp;&nbsp;</span></li>
    <li class="alt"><span class="keyword">if</span><span>(&nbsp;sVarPopWin&nbsp;) &nbsp;&nbsp;</span></li>
    <li class=""><span>{ &nbsp;&nbsp;</span></li>
    <li class="alt"><span>popwin=window.open(</span><span class="string">&quot;您需要弹的网站地址&quot;</span><span>,</span><span class="string">&quot;&quot;</span><span>,</span><span class="string">&quot;height=300,&nbsp;width=360&quot;</span><span>); &nbsp;&nbsp;</span></li>
    <li class=""><span>} &nbsp;&nbsp;</span></li>
    <li class="alt"><span>} &nbsp;&nbsp;</span></li>
    <li class=""><span>setTimeout(</span><span class="string">&quot;PlayJsAdPopWin()&quot;</span><span>,&nbsp;16000&nbsp;); &nbsp;&nbsp;</span></li>
    <li class="alt"><span>&lt;/script&gt; &nbsp;&nbsp;</span></li>
    <li class=""><span>&nbsp;&nbsp;</span></li>
    <li class="alt"><span>上面的代码中有一句 &nbsp;&nbsp;</span></li>
    <li class=""><span>&nbsp;&nbsp;</span></li>
    <li class="alt"><span>popwin=window.open(</span><span class="string">&quot;您需要弹的网站地址&quot;</span><span>,</span><span class="string">&quot;&quot;</span><span>,</span><span class="string">&quot;height=300,&nbsp;width=360&quot;</span><span>); &nbsp;&nbsp;</span></li>
    <li class=""><span>&nbsp;&nbsp;</span></li>
    <li class="alt"><span>后面的&nbsp;height=300,&nbsp;width=360&nbsp;是您需要弹出的页面大小。 &nbsp;&nbsp;</span></li>
    <li class=""><span>&nbsp;&nbsp;</span></li>
    <li class="alt"><span>如果您想直接弹出网页可以用下面的代码。 &nbsp;&nbsp;</span></li>
    <li class=""><span>&nbsp;&nbsp;</span></li>
    <li class="alt"><span>&lt;script&nbsp;language=</span><span class="string">'javascript'</span><span>&gt; &nbsp;&nbsp;</span></li>
    <li class=""><span class="keyword">var</span><span>&nbsp;sVarPopWin=</span><span class="keyword">true</span><span>; &nbsp;&nbsp;</span></li>
    <li class="alt"><span class="keyword">function</span><span>&nbsp;PlayJsAdPopWin() &nbsp;&nbsp;</span></li>
    <li class=""><span>{ &nbsp;&nbsp;</span></li>
    <li class="alt"><span class="keyword">if</span><span>(&nbsp;sVarPopWin&nbsp;) &nbsp;&nbsp;</span></li>
    <li class=""><span>{ &nbsp;&nbsp;</span></li>
    <li class="alt"><span>popwin=window.open(</span><span class="string">&quot;您需要弹的网站地址&quot;</span><span>,</span><span class="string">&quot;&quot;</span><span>); &nbsp;&nbsp;</span></li>
    <li class=""><span>} &nbsp;&nbsp;</span></li>
    <li class="alt"><span>} &nbsp;&nbsp;</span></li>
    <li class=""><span>setTimeout(</span><span class="string">&quot;PlayJsAdPopWin()&quot;</span><span>,&nbsp;16000&nbsp;); &nbsp;&nbsp;</span></li>
    <li class="alt"><span>&lt;/script&gt; &nbsp;&nbsp;</span></li>
</ol>
</div>]]></description>
			<link>http://airsky.com.ru//show-72-1.html</link>
			<category domain="http://airsky.com.ru//category-3-1.html">精品收录</category>
			<pubDate>2008-12-15 12:01</pubDate>
		</item>
		<item>
			<guid>http://airsky.com.ru//show-71-1.html</guid>
			<title>终于搞定了他娘的Blue242</title>
			<author>eric</author>
			<description><![CDATA[<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;不好意思各位，今天哥哥又来YY了，bluespacetechnologies这个服务器好像被某西亚老给挂马了，我日他大爷的，我研究了很久PHP.INI都读烂了没发现他加哪，谁让我是土鸡，都是靠自己土学出来的，LINUX服务器基本构造我都不懂是啥样的，结果把服务器文件翻了一大遍，还进SSH玩了好久，我发现这个SSH他奶奶的命令真烦，惊云同志吧上面主站直接给删了，都没能吧广告去掉。。今天终于给土鸡爷爷找到这个畜生吧他加的东西，找到了，至于怎么找了懒得YY了，上次那篇Mail()本来无聊写玩的，被群雄YY出去了晕。</p>
<p>具体位置：</p>
<blockquote dir="ltr" style="margin-right: 0px">
<p>Service -- Configuration -- Apache -- Include Editor</p>
</blockquote>
<p>(其实我上次有找到这里，没详细点进去）里面有三个：</p>
<blockquote dir="ltr" style="margin-right: 0px">
<p><a name="pmi">Pre Main Include</a>，<a name="pre">Pre VirtualHost Include</a>，<a name="post">Post VirtualHost Include</a></p>
</blockquote>
<p>他是加在了<a name="post">Post VirtualHost Include</a>，具体在2.29还是all version我忘了，我们看看<a name="post">Post </a><a name="post">Post VirtualHost Include</a>的解释：</p>
<blockquote dir="ltr" style="margin-right: 0px">
<p><a name="post"><strong>Post VirtualHost Include</strong></a><strong>：</strong>Entering information in this text area will add content to the Apache configuration file (httpd.conf) right after the last VirtualHost entry.</p>
</blockquote>
<p>就是说你所添加的内容将会加到httpd.conf的最后一个cPanel用户信息后面，我前几天把httpd.conf下到电脑咋没查找到？<img alt="" border="0" src="http://airsky.com.ru/images/smiles/cry.gif" /></p>
<p>万恶的广告代码展示下：</p>
<div class="codeText">
<div class="codeHead">PHP代码</div>
<ol class="dp-c">
    <li class="alt"><span><span>&lt;IfModule&nbsp;mod_layout.c&gt; &nbsp;&nbsp;</span></span></li>
    <li class=""><span>&nbsp;&nbsp;</span></li>
    <li class="alt"><span>AddOutputFilter&nbsp;LAYOUT&nbsp;htm&nbsp;html&nbsp;shtml &nbsp;&nbsp;</span></li>
    <li class=""><span>&nbsp;&nbsp;</span></li>
    <li class="alt"><span>LayoutHeader&nbsp;/home/deltabs/public_html/ads/header.php &nbsp;&nbsp;</span></li>
    <li class=""><span>LayoutFooter&nbsp;/home/deltabs/public_html/ads/footer.php &nbsp;&nbsp;</span></li>
    <li class="alt"><span>LayoutIgnoreTag&nbsp;&lt;frame&gt; &nbsp;&nbsp;</span></li>
    <li class=""><span>&nbsp;&nbsp;</span></li>
    <li class="alt"><span>&lt;/IfModule&gt; &nbsp;&nbsp;</span></li>
    <li class=""><span>&nbsp;&nbsp;</span></li>
    <li class="alt"><span>php_value&nbsp;auto_prepend_file&nbsp;</span><span class="string">&quot;/home/deltabs/public_html/ads/header.php&quot;</span><span>&nbsp; &nbsp;&nbsp;</span></li>
    <li class=""><span>php_value&nbsp;auto_append_file&nbsp;</span><span class="string">&quot;/home/deltabs/public_html/ads/footer.php&quot;</span><span>&nbsp;&nbsp;</span></li>
</ol>
</div>
<p>把它去掉，重启apache，大功告成，有来踩这篇文章的兄弟顺便问候帮我问候下加广告那人的祖宗18代，害了这么多用户，发表此文的同时242下线中，囧<img alt="" border="0" src="http://airsky.com.ru/images/smiles/sweat.gif" /></p>]]></description>
			<link>http://airsky.com.ru//show-71-1.html</link>
			<category domain="http://airsky.com.ru//category-4-1.html">探索空间</category>
			<pubDate>2008-12-11 20:31</pubDate>
		</item>
		<item>
			<guid>http://airsky.com.ru//show-70-1.html</guid>
			<title>常用Shell命令</title>
			<author>eric</author>
			<description><![CDATA[<p><strong>1.ls&nbsp; 列出目录下的文件</strong>，不同类型的文件颜色不同，例如蓝色是文件夹，白色是文件<br />
[root@restoretmp steph]# ls<br />
file.html public_html&nbsp; test<br />
[root@restoretmp steph]#<br />
参数：<br />
<strong>ls -a</strong> 列出所有文件，包括隐藏文件<br />
[root@restoretmp steph]# ls -a<br />
.&nbsp; ..&nbsp; .bash_logout&nbsp; .bash_profile&nbsp; .bashrc&nbsp; file.html public_html&nbsp; test<br />
[root@restoretmp steph]#<br />
<strong>ls -l&nbsp; </strong>列出所有者 size 文件权限 修改日期<br />
<strong>ls -R</strong>&nbsp; 递归列出所有子目录的内容<br />
<br />
<span style="color: #0000ff"><strong>2. cd&nbsp; 转移目录</strong></span><br />
<strong>cd /home/steph</strong> 将转移到/home/steph<br />
<strong>cd ..&nbsp; </strong>上移一个目录<br />
<strong>cd</strong> 回到根目录<br />
<br />
<span style="color: #0000ff"><strong>3. 建立新文件和文件夹</strong></span><br />
<strong>touch new-filename</strong>&nbsp; 建立新文件<br />
<strong>mkdir new-directory</strong>&nbsp; 建立新目录<br />
<br />
<span style="color: #0000ff"><strong>4.删除文件和目录</strong></span><br />
<strong>rm filename</strong>&nbsp; 删除名为 filename的文件<br />
<strong>rmdir foldername</strong> 删除名为foldername的目录<br />
<br />
<span style="color: #0000ff"><strong>5.修改文件夹权限</strong></span><br />
<strong>chmod 755 foldername</strong>&nbsp; 将把名为foldername的文件夹的权限修改为755<br />
<br />
<span style="color: #0000ff"><strong>6.修改用户</strong></span><br />
<strong>chown steph:steph file.html</strong>&nbsp; 把file.html的用户修改为steph:steph</p>
<div class="tpc_content"><font size="5"><strong>2. 压缩和解压缩文件</strong></font><br />
<strong><span style="color: #ff0000">gzip 和 gunzip</span></strong><br />
<br />
<strong>压缩: </strong><br />
gzip&nbsp; filename<br />
<br />
文件即会被压缩，并被保存为 filename.gz<br />
<br />
<strong>解压缩: </strong><br />
<br />
gunzip filename.gz<br />
<br />
filename.gz 会被删除，而继之以 filename<br />
<br />
可以通过命令man gip 和man gunzip获得命令的详细说明.<br />
<br />
<strong><span style="color: #ff0000">zip 和 unzip</span></strong><br />
<br />
<strong>要使用 zip 来压缩文件，在 shell 提示下键入下面的命令：</strong><br />
<br />
zip -r filename.zip filesdir<br />
<br />
在这个例子里，filename.zip 代表你创建的文件，filesdir 代表你想放置新 zip 文件的目录。-r 选项指定你想递归地（recursively）包括所有包括在 filesdir 目录中的文件。<br />
<br />
<strong>要解压缩 zip 文件的内容，键入以下命令：</strong><br />
<br />
unzip filename.zip<br />
<br />
你可以使用 zip 命令同时处理多个文件和目录，方法是将它们逐一列出，并用空格间隔：<br />
<br />
zip -r filename.zip file1 file2 file3 /usr/work/school <br />
<br />
上面的命令把 file1、file2、 file3、以及 /usr/work/school 目录的内容（假设这个目录存在）压缩起来，然后放入 filename.zip 文件中。</div>
<div class="tpc_content">&nbsp;</div>
<div class="tpc_content">
<div class="tpc_content"><font size="5"><strong>Vi指令大全----编辑文件</strong></font><br />
<strong>进入vi的命令</strong><br />
vi filename: 打开或新建文件，并将光标置于第一行首<br />
vi +n filename: 打开文件，并将光标置于第n行首<br />
vi + filename: 打开文件，并将光标置于最后一行首<br />
vi +/pattern filename: 打开文件，并将光标置于第一个与pattern匹配的串处<br />
vi -r filename: 在上次正用vi编辑时发生系统崩溃，恢复filename<br />
vi filename....filename: 打开多个文件，依次进行编辑<br />
<br />
<strong>移动光标类命令</strong><br />
h: 光标左移一个字符<br />
l: 光标右移一个字符<br />
space: 光标右移一个字符<br />
Backspace: 光标左移一个字符<br />
k或Ctrl+p: 光标上移一行<br />
j或Ctrl+n: 光标下移一行<br />
Enter: 光标下移一行<br />
w或W : 光标右移一个字至字首<br />
b或B : 光标左移一个字至字首<br />
e或E : 光标右移一个字至字尾<br />
): 光标移至句尾<br />
(: 光标移至句首<br />
}: 光标移至段落开头<br />
{: 光标移至段落结尾<br />
nG: 光标移至第n行首<br />
n+: 光标下移n行<br />
n-: 光标上移n行<br />
n$: 光标移至第n行尾<br />
H: 光标移至屏幕顶行<br />
M: 光标移至屏幕中间行<br />
L: 光标移至屏幕最后行<br />
0: 光标移至当前行首<br />
$: 光标移至当前行尾<br />
<br />
<strong>屏幕翻滚类命令</strong><br />
Ctrl+u: 向文件首翻半屏<br />
Ctrl+d: 向文件尾翻半屏<br />
Ctrl+f: 向文件尾翻一屏<br />
Ctrl＋b: 向文件首翻一屏<br />
nz: 将第n行滚至屏幕顶部，不指定n时将当前行滚至屏幕顶部。<br />
<br />
<strong>插入文本类命令</strong><br />
i: 在光标前<br />
I: 在当前行首<br />
a: 光标后<br />
A: 在当前行尾<br />
o: 在当前行之下新开一行<br />
O: 在当前行之上新开一行<br />
r: 替换当前字符<br />
R: 替换当前字符及其后的字符，直至按ESC键<br />
s: 从当前光标位置处开始，以输入的文本替代指定数目的字符<br />
S: 删除指定数目的行，并以所输入文本代替之<br />
ncw或nCW: 修改指定数目的字<br />
nCC: 修改指定数目的行<br />
<br />
<strong>删除命令</strong><br />
ndw或ndW: 删除光标处开始及其后的n-1个字<br />
do: 删至行首<br />
d$: 删至行尾<br />
ndd: 删除当前行及其后n-1行<br />
x或X: 删除一个字符，x删除光标后的，而X删除光标前的<br />
Ctrl+u: 删除输入方式下所输入的文本<br />
<br />
<strong>搜索及替换命令</strong><br />
/pattern: 从光标开始处向文件尾搜索pattern<br />
?pattern: 从光标开始处向文件首搜索pattern<br />
n: 在同一方向重复上一次搜索命令<br />
N: 在反方向上重复上一次搜索命令<br />
:s/p1/p2/g: 将当前行中所有p1均用p2替代<br />
:n1,n2s/p1/p2/g: 将第n1至n2行中所有p1均用p2替代<br />
:g/p1/s//p2/g: 将文件中所有p1均用p2替换<br />
<br />
<strong>选项设置</strong><br />
all: 列出所有选项设置情况<br />
term: 设置终端类型<br />
ignorance: 在搜索中忽略大小写<br />
list: 显示制表位(Ctrl+I)和行尾标志($)<br />
number: 显示行号<br />
report: 显示由面向行的命令修改过的数目<br />
terse: 显示简短的警告信息<br />
warn: 在转到别的文件时若没保存当前文件则显示NO write信息<br />
nomagic: 允许在搜索模式中，使用前面不带&ldquo;\&rdquo;的特殊字符<br />
nowrapscan: 禁止vi在搜索到达文件两端时，又从另一端开始<br />
mesg: 允许vi显示其他用户用write写到自己终端上的信息<br />
<br />
<strong>最后行方式命令</strong><br />
:n1,n2 co n3: 将n1行到n2行之间的内容拷贝到第n3行下<br />
:n1,n2 m n3:将n1行到n2行之间的内容移至到第n3行下<br />
:n1,n2 d: 将 n1行到n2行之间的内容删除<br />
:w: 保存当前文件<br />
:e filename: 打开文件filename进行编辑<br />
:x: 保存当前文件并退出<br />
:q: 退出vi<br />
:q!: 不保存文件并退出vi<br />
:!command: 执行shell命令command<br />
:n1,n2 w!command: 将文件中n1行至n2行的内容作为command的输入并执行之，<br />
若不指定n1，n2，则表示将整个文件内容作为command的输入<br />
:r!command: 将命令command的输出结果放到当前行<br />
<br />
<strong>寄存器操作</strong><br />
&quot;?nyy: 将当前行及其下n行的内容保存到寄存器？中，其中?为一个字母，n为一个数字<br />
&quot;?nyw: 将当前行及其下n个字保存到寄存器？中，其中?为一个字母，n为一个数字<br />
&quot;?nyl: 将当前行及其下n个字符保存到寄存器？中，其中?为一个字母，n为一个数字<br />
&quot;?p: 取出寄存器？中的内容并将其放到光标位置处。这里？可以是一个字母，也可以是一个数字<br />
ndd: 将当前行及其下共n行文本删除，并将所删内容放到1号删除寄存器中</div>
</div>]]></description>
			<link>http://airsky.com.ru//show-70-1.html</link>
			<category domain="http://airsky.com.ru//category-3-1.html">精品收录</category>
			<pubDate>2008-12-08 13:42</pubDate>
		</item>
		<item>
			<guid>http://airsky.com.ru//show-69-1.html</guid>
			<title>PHP上传文件类型合集</title>
			<author>eric</author>
			<description><![CDATA[<p>* &nbsp; application/octet-stream &nbsp; &nbsp; &nbsp; //应用程序 &nbsp; <br />
&nbsp; 323 &nbsp; text/h323 &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; acx &nbsp; application/internet-property-stream &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; ai &nbsp; application/postscript &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; aif &nbsp; audio/x-aiff &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; aifc &nbsp; audio/x-aiff &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; aiff &nbsp; audio/x-aiff &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; asf &nbsp; video/x-ms-asf &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; asr &nbsp; video/x-ms-asf &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; asx &nbsp; video/x-ms-asf &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; au &nbsp; audio/basic &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; avi &nbsp; video/x-msvideo &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; axs &nbsp; application/olescript &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; bas &nbsp; text/plain &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; bcpio &nbsp; application/x-bcpio &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; bin &nbsp; application/octet-stream &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; bmp &nbsp; image/bmp &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; c &nbsp; text/plain &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; cat &nbsp; application/vnd.ms-pkiseccat &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; cdf &nbsp; application/x-cdf &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; cer &nbsp; application/x-x509-ca-cert &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; class &nbsp; application/octet-stream &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; clp &nbsp; application/x-msclip &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; cmx &nbsp; image/x-cmx &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; cod &nbsp; image/cis-cod &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; cpio &nbsp; application/x-cpio &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; crd &nbsp; application/x-mscardfile &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; crl &nbsp; application/pkix-crl &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; crt &nbsp; application/x-x509-ca-cert &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; csh &nbsp; application/x-csh &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; css &nbsp; text/css &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; dcr &nbsp; application/x-director &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; der &nbsp; application/x-x509-ca-cert &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; dir &nbsp; application/x-director &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; dll &nbsp; application/x-msdownload &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; dms &nbsp; application/octet-stream &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; doc &nbsp; application/msword &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; dot &nbsp; application/msword &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; dvi &nbsp; application/x-dvi &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; dxr &nbsp; application/x-director &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; eps &nbsp; application/postscript &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; etx &nbsp; text/x-setext &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; evy &nbsp; application/envoy &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; exe &nbsp; application/octet-stream &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; fif &nbsp; application/fractals &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; flr &nbsp; x-world/x-vrml &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; gif &nbsp; image/gif &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; gtar &nbsp; application/x-gtar &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; gz &nbsp; application/x-gzip &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; h &nbsp; text/plain &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; hdf &nbsp; application/x-hdf &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; hlp &nbsp; application/winhlp &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; hqx &nbsp; application/mac-binhex40 &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; hta &nbsp; application/hta &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; htc &nbsp; text/x-component &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; htm &nbsp; text/html &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; html &nbsp; text/html &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; htt &nbsp; text/webviewhtml &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; ico &nbsp; image/x-icon &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; ief &nbsp; image/ief &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; iii &nbsp; application/x-iphone &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; ins &nbsp; application/x-internet-signup &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; isp &nbsp; application/x-internet-signup &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; jfif &nbsp; image/pipeg &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; jpe &nbsp; image/jpeg &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; jpeg &nbsp; image/jpeg &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; jpg &nbsp; image/jpeg &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; js &nbsp; application/x-javascript &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; latex &nbsp; application/x-latex &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; lha &nbsp; application/octet-stream &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; lsf &nbsp; video/x-la-asf &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; lsx &nbsp; video/x-la-asf &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; lzh &nbsp; application/octet-stream &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; m13 &nbsp; application/x-msmediaview &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; m14 &nbsp; application/x-msmediaview &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; m3u &nbsp; audio/x-mpegurl &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; man &nbsp; application/x-troff-man &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; mdb &nbsp; application/x-msaccess &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; me &nbsp; application/x-troff-me &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; mht &nbsp; message/rfc822 &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; mhtml &nbsp; message/rfc822 &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; mid &nbsp; audio/mid &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; mny &nbsp; application/x-msmoney &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; mov &nbsp; video/quicktime &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; movie &nbsp; video/x-sgi-movie &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; mp2 &nbsp; video/mpeg &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; mp3 &nbsp; audio/mpeg &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; mpa &nbsp; video/mpeg &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; mpe &nbsp; video/mpeg &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; mpeg &nbsp; video/mpeg &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; mpg &nbsp; video/mpeg &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; mpp &nbsp; application/vnd.ms-project &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; mpv2 &nbsp; video/mpeg &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; ms &nbsp; application/x-troff-ms &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; mvb &nbsp; application/x-msmediaview &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; nws &nbsp; message/rfc822 &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; oda &nbsp; application/oda &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; p10 &nbsp; application/pkcs10 &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; p12 &nbsp; application/x-pkcs12 &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; p7b &nbsp; application/x-pkcs7-certificates &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; p7c &nbsp; application/x-pkcs7-mime &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; p7m &nbsp; application/x-pkcs7-mime &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; p7r &nbsp; application/x-pkcs7-certreqresp &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; p7s &nbsp; application/x-pkcs7-signature &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; pbm &nbsp; image/x-portable-bitmap &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; pdf &nbsp; application/pdf &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; pfx &nbsp; application/x-pkcs12 &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; pgm &nbsp; image/x-portable-graymap &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; pko &nbsp; application/ynd.ms-pkipko &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; pma &nbsp; application/x-perfmon &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; pmc &nbsp; application/x-perfmon &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; pml &nbsp; application/x-perfmon &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; pmr &nbsp; application/x-perfmon &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; pmw &nbsp; application/x-perfmon &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; pnm &nbsp; image/x-portable-anymap &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; pot, &nbsp; application/vnd.ms-powerpoint &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; ppm &nbsp; image/x-portable-pixmap &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; pps &nbsp; application/vnd.ms-powerpoint &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; ppt &nbsp; application/vnd.ms-powerpoint &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; prf &nbsp; application/pics-rules &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; ps &nbsp; application/postscript &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; pub &nbsp; application/x-mspublisher &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; qt &nbsp; video/quicktime &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; ra &nbsp; audio/x-pn-realaudio &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; ram &nbsp; audio/x-pn-realaudio &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; ras &nbsp; image/x-cmu-raster &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; rgb &nbsp; image/x-rgb &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; rmi &nbsp; audio/mid &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; roff &nbsp; application/x-troff &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; rtf &nbsp; application/rtf &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; rtx &nbsp; text/richtext &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; scd &nbsp; application/x-msschedule &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; sct &nbsp; text/scriptlet &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; setpay &nbsp; application/set-payment-initiation &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; setreg &nbsp; application/set-registration-initiation &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; sh &nbsp; application/x-sh &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; shar &nbsp; application/x-shar &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; sit &nbsp; application/x-stuffit &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; snd &nbsp; audio/basic &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; spc &nbsp; application/x-pkcs7-certificates &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; spl &nbsp; application/futuresplash &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; src &nbsp; application/x-wais-source &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; sst &nbsp; application/vnd.ms-pkicertstore &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; stl &nbsp; application/vnd.ms-pkistl &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; stm &nbsp; text/html &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; sv4cpio &nbsp; application/x-sv4cpio &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; sv4crc &nbsp; application/x-sv4crc &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; t &nbsp; application/x-troff &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; tar &nbsp; application/x-tar &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; tcl &nbsp; application/x-tcl &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; tex &nbsp; application/x-tex &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; texi &nbsp; application/x-texinfo &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; texinfo &nbsp; application/x-texinfo &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; tgz &nbsp; application/x-compressed &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; tif &nbsp; image/tiff &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; tiff &nbsp; image/tiff &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; tr &nbsp; application/x-troff &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; trm &nbsp; application/x-msterminal &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; tsv &nbsp; text/tab-separated-values &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; txt &nbsp; text/plain &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; uls &nbsp; text/iuls &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; ustar &nbsp; application/x-ustar &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; vcf &nbsp; text/x-vcard &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; vrml &nbsp; x-world/x-vrml &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; wav &nbsp; audio/x-wav &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; wcm &nbsp; application/vnd.ms-works &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; wdb &nbsp; application/vnd.ms-works &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; wks &nbsp; application/vnd.ms-works &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; wmf &nbsp; application/x-msmetafile &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; wps &nbsp; application/vnd.ms-works &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; wri &nbsp; application/x-mswrite &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; wrl &nbsp; x-world/x-vrml &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; wrz &nbsp; x-world/x-vrml &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; xaf &nbsp; x-world/x-vrml &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; xbm &nbsp; image/x-xbitmap &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; xla &nbsp; application/vnd.ms-excel &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; xlc &nbsp; application/vnd.ms-excel &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; xlm &nbsp; application/vnd.ms-excel &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; xls &nbsp; application/vnd.ms-excel &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; xlt &nbsp; application/vnd.ms-excel &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; xlw &nbsp; application/vnd.ms-excel &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; xof &nbsp; x-world/x-vrml &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; xpm &nbsp; image/x-xpixmap &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; xwd &nbsp; image/x-xwindowdump &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; z &nbsp; application/x-compress &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; zip &nbsp; application/zip</p>]]></description>
			<link>http://airsky.com.ru//show-69-1.html</link>
			<category domain="http://airsky.com.ru//category-3-1.html">精品收录</category>
			<pubDate>2008-12-07 19:03</pubDate>
		</item>
		<item>
			<guid>http://airsky.com.ru//show-68-1.html</guid>
			<title>PW版块链接新窗口打开HACK</title>
			<author>eric</author>
			<description><![CDATA[<p>首先，请先备份index.php文件和模板中的index.htm文件</p>
<p>然后打开index.php</p>
<p>找到</p>
<div class="codeText">
<div class="codeHead">PHP代码</div>
<ol class="dp-c">
    <li class="alt"><span><span>,fd.lastpost&nbsp;&nbsp;</span></span></li>
</ol>
</div>
<p>后面加上</p>
<div class="codeText">
<div class="codeHead">PHP代码</div>
<ol class="dp-c">
    <li class="alt"><span><span>,fe.forumset&nbsp;</span><span class="keyword">as</span><span>&nbsp;ifoutlink&nbsp;&nbsp;</span></span></li>
</ol>
</div>
<p>再找到</p>
<div class="codeText">
<div class="codeHead">PHP代码</div>
<ol class="dp-c">
    <li class="alt"><span><span>LEFT&nbsp;JOIN&nbsp;pw_forumdata&nbsp;fd&nbsp;USING(fid)&nbsp;&nbsp;</span></span></li>
</ol>
</div>
<p>后面加上</p>
<div class="codeText">
<div class="codeHead">PHP代码</div>
<ol class="dp-c">
    <li class="alt"><span><span>&nbsp;LEFT&nbsp;JOIN&nbsp;pw_forumsextra&nbsp;fe&nbsp;ON&nbsp;fd.fid=fe.fid&nbsp;&nbsp;</span></span></li>
</ol>
</div>
<p><font color="#ff0000">（注意前面有个空格）</font></p>
<p>继续找到</p>
<div class="codeText">
<div class="codeHead">PHP代码</div>
<ol class="dp-c">
    <li class="alt"><span><span class="vars">$forums</span><span>[</span><span class="string">'type'</span><span>]&nbsp;=&nbsp;</span><span class="vars">$forum</span><span>[</span><span class="vars">$forums</span><span>[</span><span class="string">'fid'</span><span>]][</span><span class="string">'type'</span><span>];&nbsp;&nbsp;</span></span></li>
</ol>
</div>
<p>下面插入</p>
<div class="codeText">
<div class="codeHead">PHP代码</div>
<ol class="dp-c">
    <li class="alt"><span><span class="vars">$forums</span><span>[</span><span class="string">'ifoutlink'</span><span>]&nbsp;=&nbsp;unserialize(</span><span class="vars">$forums</span><span>[</span><span class="string">'ifoutlink'</span><span>]); &nbsp;&nbsp;</span></span></li>
    <li class=""><span class="vars">$forums</span><span>[</span><span class="string">'ifoutlink'</span><span>]&nbsp;=&nbsp;</span><span class="vars">$forums</span><span>[</span><span class="string">'ifoutlink'</span><span>][</span><span class="string">'link'</span><span>]; &nbsp;&nbsp;</span></li>
    <li class="alt"><span class="vars">$forums</span><span>[</span><span class="string">'ifoutlink'</span><span>]&nbsp;?&nbsp;</span><span class="vars">$forums</span><span>[</span><span class="string">'ifoutlink'</span><span>]&nbsp;=&nbsp;</span><span class="string">'&nbsp;target=\&quot;_blank\&quot;'</span><span>&nbsp;:&nbsp;</span><span class="vars">$forums</span><span>[</span><span class="string">'ifoutlink'</span><span>]&nbsp;=&nbsp;</span><span class="string">''</span><span>;&nbsp;&nbsp;</span></li>
</ol>
</div>
<p>最后找到</p>
<div class="codeText">
<div class="codeHead">PHP代码</div>
<ol class="dp-c">
    <li class="alt"><span><span class="string">'newtitle'</span><span>&nbsp;=&gt;&nbsp;</span><span class="vars">$forums</span><span>[</span><span class="string">'newtitle'</span><span>]&nbsp;&nbsp;</span></span></li>
</ol>
</div>
<p>后面加上</p>
<div class="codeText">
<div class="codeHead">PHP代码</div>
<ol class="dp-c">
    <li class="alt"><span><span>,</span><span class="string">'ifoutlink'</span><span>&nbsp;=&gt;&nbsp;</span><span class="vars">$forums</span><span>[</span><span class="string">'ifoutlink'</span><span>]&nbsp;&nbsp;</span></span></li>
</ol>
</div>
<p>到此index.php修改完毕，保存。</p>
<p>&nbsp;</p>
<p>然后打开打开template/你的风格/index.htm，记得所有带index.htm的风格都要修改</p>
<p>找到</p>
<div class="codeText">
<div class="codeHead">XML/HTML代码</div>
<ol class="dp-xml">
    <li class="alt"><span><span class="tag">&lt;</span><span class="tag-name">a</span><span>&nbsp;</span><span class="attribute">href</span><span>=</span><span class="attribute-value">&quot;thread.php?fid=$forums[fid]&quot;</span><span>&nbsp;</span><span class="attribute">class</span><span>=</span><span class="attribute-value">&quot;fnamecolor&quot;</span><span>&nbsp;&nbsp;</span></span></li>
</ol>
</div>
<p>后面加上</p>
<div class="codeText">
<div class="codeHead">XML/HTML代码</div>
<ol class="dp-xml">
    <li class="alt"><span><span>&nbsp;$forums[ifoutlink]&nbsp;&nbsp;</span></span></li>
</ol>
</div>
<p><font color="#ff0000">（注意前面有个空格）</font></p>
<p>再找到</p>
<div class="codeText">
<div class="codeHead">XML/HTML代码</div>
<ol class="dp-xml">
    <li class="alt"><span><span class="tag">&lt;</span><span class="tag-name">h3</span><span>&nbsp;</span><span class="attribute">class</span><span>=</span><span class="attribute-value">&quot;b&quot;</span><span class="tag">&gt;</span><span class="tag">&lt;</span><span class="tag-name">a</span><span>&nbsp;</span><span class="attribute">href</span><span>=</span><span class="attribute-value">&quot;thread.php?fid=$forums[fid]&quot;</span><span>&nbsp;&nbsp;</span></span></li>
</ol>
</div>
<p>后面加上</p>
<div class="codeText">
<div class="codeHead">XML/HTML代码</div>
<ol class="dp-xml">
    <li class="alt"><span><span>&nbsp;$forums[ifoutlink]&nbsp;&nbsp;</span></span></li>
</ol>
</div>
<p><font color="#ff0000">（注意前面有个空格）</font></p>
<p>到此index.htm修改完毕</p>]]></description>
			<link>http://airsky.com.ru//show-68-1.html</link>
			<category domain="http://airsky.com.ru//category-4-1.html">探索空间</category>
			<pubDate>2008-12-05 13:17</pubDate>
		</item>
		<item>
			<guid>http://airsky.com.ru//show-67-1.html</guid>
			<title>搞笑签名111句</title>
			<author>eric</author>
			<description><![CDATA[<div class="t_msgfont" id="postmessage_31708900">1、Iphone，手机中的战斗机！M8，手机中的拖拉机~~~<br />
<br />
2、你的手机比话费还便宜<br />
<br />
3、爸爸就象亲人一样爱我!!<br />
<br />
4、天下之大哪有你这样的芳草~~~<br />
<br />
5、如果明天就是世界末日，为什么今天就有人想自杀？回答:去天堂占位置<br />
<br />
6、爸：&ldquo;你只知道花钱，可知道钱得来不易吗？&rdquo; 我：&ldquo;怎么不知道？每次向你要钱都要听一番教训。&rdquo; ~~~~<br />
<br />
7、钱如果花了那就是钱，如果不花&hellip;那就是纸&hellip;&hellip;<br />
<br />
8、我家住在黄土高坡~哦哦~ 　　 　　你家住在女厕所~<br />
<br />
9、问世间情为何物，直教人吃饭想吐。~~~~~~~~~~<br />
<br />
10、某日发现手机不见了，翻遍包包以及屋中各个角落，未果。遂郁闷地跌坐地上，从口袋掏出手机，给大家群发短信：我手机丢了~~~~~~~囧rz.......<br />
<br />
11、掐着一只大公鸡的脖子却不敢下刀，踌躇良久，那只鸡竟然被俺掐死了~~~~~~<br />
<br />
12、对付潇洒的人，就要比他更潇洒；对付英俊的人，就要&hellip;&hellip;毁他的容！~~~~~~~~<br />
<br />
13、提问：为什么暑假一定比寒假长？回答：因为热胀冷缩~~~~~~~~~~~~~~~~<br />
<br />
14、一切只能装在C盘的软件都是可耻的<br />
<br />
15、提问:一个智力问题。228的后面是什么？103的后面是什么？85的后面是什么？3个答案都一样！给我答案就好。回答:的。~~~~~~~~~~<br />
<br />
16、餐馆点的是黄瓜皮蛋汤 结果上来的是 黄瓜皮+蛋汤 囧！~~~~~~~~<br />
<br />
17、一个钥匙在路上走 走着走着突然说 我是屈原啊吾将上下而求锁啊~~~~~~~<br />
<br />
18、江湖传闻:琼瑶阿姨要写还珠格格姐妹篇---《施瓦辛格格》~~<br />
<br />
19、灵感不是曹操，说来就来。~~~~~~~~~~~~~~<br />
<br />
20、人！贵在对对方有自知之明！~~~~~~~~~<br />
<br />
21、初从文，廿六乃成，负债十万。觅生计，十年无休，披星戴月秉烛达旦，蓄十万。不足购房，遂投股市，翌年缩至万余，抑郁成疾。医保曰，不符大病之条例，拒赔。乃倾其所有入院一周，无药自愈。友怜之，赊<font size="2">三鹿</font>一包，冲而饮，卒。<br />
<br />
22、二农戏猪~<br />
<br />
23、有一个路人跑过去拍一个小孩子的肩膀并问他:这里是哪里啊?小孩回答说:这里是我的肩膀.....^0^<br />
<br />
24、学海无涯,回头是岸。。。<br />
<br />
25、达芬奇密码的上面是什么？ 回答:达芬奇帐号.............~~~~~~~<br />
<br />
26、冬天很冷，大雪封山，一个猎人遇到一头熊。猎人说，我饿了，熊说，我也饿了。然后他们都不饿了。<br />
<br />
27、我是中国2008年度十大杰出青年排名第十一位的那个人，我的公司在世界500强企业中排名第501位。<br />
<br />
28、我小姨很认真的和我妈说：姐啊，辛辛苦苦生个女儿，干嘛不生个好看点的。。。<br />
<br />
29、新闻：佟大为妻子产下一女。评论：这个佟大，真了不起！！！<br />
<br />
30、快看，不明真相的围观群众&mdash;&mdash;槑槑槑槑槑槑槑~~~~~~~~~~~<br />
<br />
31、恶心妈妈报着恶心哭的很伤心，为什么呢？因为恶心死了&hellip;&hellip;~~~~~~~~~~~~~~~~~~<br />
<br />
32、白日依山自尽，黄河入海人流。。。。<br />
<br />
33、我自横刀向天笑 笑完我就去睡觉~~~~~~~~~~~<br />
<br />
34、杨利伟：党在太空的支部将是世界最高党支部~~~~~~orz<br />
<br />
35、老师问：有没有知道史上得金牌数最多的人是谁？　　<br />
底下一同学冷冷道：岳飞，12块&hellip;&hellip;　　<br />
答前苏联女子体操运动员拉里莎&middot;拉蒂尼娜，9金的，拖出去斩了！<br />
<br />
36、昨晚梦见自己抢银行,早上起来觉得及其郁闷！因为昨晚忘了晚上梦里抢银行的好几套绝佳的方案了<br />
<br />
37、大脸：总有一天我水桶腰变水蛇腰给你们看！大毛：蟒蛇白&hellip;&hellip;<br />
<br />
38、有钱人终成眷属<br />
<br />
39、提问:钢铁侠死了变成什么?回答: 铁轨（铁鬼）~~~~~~~~~~~~~~~~&lt;br /&gt;<br />
40、用&quot;要么....要么.....&quot;造句。<br />
小明:冰淇淋三块啊,要么....要么.?<br />
<br />
41、话说中国和古巴的排球赛中场休息时放的音乐是..社会主义好...<br />
<br />
42、收银员说:没零钱,找你两个塑料袋吧。。。<br />
<br />
43、问:阴间和阳间的中间在那里？答案:太平间<br />
<br />
44、总有一天，我们都不需要做任何事情；总有一天，任何事情都不需要我们；总有一天，没有我们的总有一天。<br />
<br />
45、皇上，您还记得那年大明湖畔的夏雨荷吗?~~~~~~~~~<br />
<br />
46、隐着身上线....<br />
<br />
47、十三太饱<br />
<br />
48、唐伯虎荡秋千。。。-_-!<br />
<br />
49、其人造诣极深,堪称中国文坛的大种马。<br />
<br />
50、某人欲拜师学武至恒山某处,见门前牌匾大书&ldquo;恒山派&rdquo;,大为兴奋。近前细看,底下还有&ldquo;出所&rdquo;二字。<br />
<br />
51、你若撒野,今生我把酒恕不奉陪。<br />
<br />
52、南无摩托罗拉~<br />
<br />
53、人工智能和天然愚蠢无法相提并论--因为我们主张纯天然。<br />
<br />
54、老师:&ldquo;小明,请上来做这道2元一次方程。&rdquo;<br />
小明:&ldquo;老师~~~~ 我只有一块钱.....&rdquo;<br />
<br />
55、一妾皆有可能~~~<br />
<br />
56、清水出芙蓉姐姐.....<br />
<br />
57、在新东方这么多年 我也没被投诉过，只有一次有个孩子想上厕所，我说&quot;Goahead&quot; 结果他没去。第二天我就被投诉了。我说为什么呀？原来那孩子把&quot;Go ahead&quot;(去吧)理解成&quot;Go ahead&quot;(去你个头!)了，我冤枉啊...<br />
<br />
58、早起的人有早饭吃，晚起的人有&hellip;&hellip;晚饭吃&hellip;<br />
<br />
59、我们这里不打折，但是可以把你打折（sh&eacute;）。<br />
<br />
60、重庆一派出所欠费，110报警电话竟停机20天。~~~~~~~~~~~~~~~~~~~~~~&middot;<br />
<br />
61、古人说：&ldquo;女为悦己者容。&rdquo; 其实，应该是&ldquo;女为己悦者容。&rdquo;<br />
<br />
62、你说下辈子如果我还记得你，我们死也不要在一起&hellip;<br />
<br />
63、看到你的排名呢，我就知道你们班有多少人了。<br />
<br />
64、古道西风遛马。夕阳西下,牵着媳妇回家<br />
<br />
65、此恨绵绵无绝期,要多傻逼多傻逼&hellip;&hellip;<br />
<br />
66、台湾一乞丐用讨来的钱买中400万大奖，酬谢施主10万元。~~~~~~~~~~~~~~<br />
<br />
67、高中的时候学校安了监视器，有学生不爽，在摄像头上贴了一张林志颖的照片。数日后开学生大会时，校长愤怒：&ldquo;不知是哪位同学，趴在监视器上不下来，好几天了！你不饿吗~~~~~~~~~~<br />
<br />
68、无心插柳柳橙汁,一人做事薏仁汤,酒逢叉圈千杯少,话不投机养乐多,柳暗花明鱿鱼羹,清粥小菜万重山。<br />
<br />
69、中国为什么没有牛顿？因为牛顿变成了牛群&hellip;&hellip;&hellip;&hellip;<br />
　<br />
70、情同**口蹄疫<br />
<br />
71、先生,麻烦您给我一例煎饼果子,七分熟,少少辣,多一些sauce,嗯,还有,extra egg,谢谢。<br />
<br />
72、难道真的&ldquo;唵嘛呢叭咪吽&rdquo;要翻译成&ldquo;allmoney go my home&rdquo;了～～～～～～～～～～～<br />
<br />
73、在网上销声匿迹N天，不知有汉，无论魏晋。<br />
<br />
74、五花肉吃着吃着，就会变成你身上同等体积的一砣肉～～～～～～～～～～<br />
<br />
75、没有猩猩的夜里,我用猴子吸引你。。。<br />
<br />
76、鲁提辖拳打陈冠希。~~~~~~~~~~~~~~~~~~~~~<br />
<br />
77、&ldquo;今天早上地铁里，我差点被挤成照片...&rdquo;　　&ldquo;照片有什么可怕的 可怕的是和恶心的男人搞成合影！&rdquo;<br />
<br />
76、乡愁,是一张粉粉的车票~~我在后头,票贩子在前头！！<br />
<br />
77、美国一对夫妇用不同指甲油区分四胞胎。～～～～～～～～～～这个方法好冷啊。。。<br />
<br />
78、老师:嗯 劳有所得 不是老了有所得<br />
<br />
79、女:你是什么座的？ 男:我是肉做的<br />
<br />
80、我的人生有A面也有B面 你的人生有S面也有B面~~~~~~~~~~~~~~~<br />
<br />
81、风萧萧兮张韶涵，壮士一去兮杨玉环～～～～～～～～～～～Orz....<br />
<br />
82、xixi and haha were good friends.one day haha died.xixi went to his grave and said,&quot;haha,you died&quot;....<br />
<br />
83、对牛弹琴不算什么能耐，对牛谈情才叫真本事。～～～～～～～囧<br />
<br />
84、别人简介自己的时候，我总会很羡慕的说，你的工作不错啊，一定年薪过万吧～～<br />
<br />
85、提问：1，2，3能组成的最大数是多少？回答： 3的21次方～～～～～～～～～。。<br />
<br />
86、恐怖分子的出生在哪儿？回答：B区 。。。。CS漂过<br />
<br />
87、一只乌龟从一堆大便上走过，却只在上面留下3个脚印。为什么？？ 因为它一只手捏着鼻子！！！<br />
<br />
88、有钱的捧个钱场，没钱的捧个火葬场<br />
<br />
89、提问：一个女孩子在洗澡，另一个男孩闯进来，女孩最想遮住哪 回答：男孩的眼睛～～～～～～～～<br />
<br />
90、这年头什么都靠不住..只有我自己靠得住..简称：我靠..<br />
<br />
91、师傅领进门，重修在个人。~~~~~~~~~~~~~<br />
<br />
92、我这一生只有两件事不会,这也不会,那也不会<br />
<br />
93、愚人节，为了吃个应景的东西，So 我就吃了美人鱼。......<br />
<br />
94、If you don't have a smile ,I will give you one of mine<br />
<br />
95、老外上中文课的笔记<br />
<br />
Dear Tim,<br />
shall by too dull doll by too jack won,<br />
dolphin long can Jim shall by too low,<br />
shall by too when dull low, doll car low,<br />
dolphin long doll Ham Eason<br />
&ldquo;more power!&rdquo;<br />
=========================<br />
中文原文:<br />
第二题<br />
小白兔到大白兔家玩，<br />
大灰狼看见小白兔了，<br />
小白兔闻到了，逃开了，<br />
大灰狼大喊一声<br />
&ldquo;莫跑！&rdquo;<br />
<br />
96、老虎不发威，你当我是hello kitty啊！XP不发威，你当我是DOS啊！<br />
<br />
97、乱世出英雄，和平生派克～～<br />
<br />
98、孩子把玩具当朋友，成人把朋友当玩具。～～～～～～～～～～<br />
<br />
99、最近喉咙痛。昨晚去买阿莫西林，看到哈药出了果味的阿莫西林，我就买了。回来一吃&hellip;的确是果味的，但是是榴莲&hellip;<br />
<br />
100、只有在大排长龙时，才能真正意识到自己是龙的传人。～～～～～～～～～～～～囧<br />
<br />
101、问：有一天26个英文字母去公园散步,D走失了,后来是哪两个字母找到他的?答：A和B，因为AB C（see）D.<br />
<br />
<span class="t_tag" href="tag.php?name=102" onclick="tagshow(event)">102</span>、拉屎最低配置：钱江晚报一份；建议配置：体坛周报一份+草纸一张；豪华配置：中华一根+花花公子一本+草纸若干。<br />
<br />
103、路漫漫其修远兮，不如我们打的吧<br />
<br />
104、Impossible? I'm possible<br />
<br />
105、佛说：&quot;前世500次回车才换来今生一次双击.&quot;<br />
<br />
106、有件西服上的标签：Made in Yidali ....<br />
<br />
107、我们可以避开一头大象，却避不开一只蚊子。。。～～～～～～～～～～～～<br />
<br />
108、我们在一起神侃，说以后有钱了怎么花，我同事大声说，我要买一件&ldquo;雕牌大衣&rdquo;<br />
<br />
109、我把妈妈买给外公的东西吃了<br />
被骂<br />
我顶了一句：早说是孝敬外公的嘛，我还以为是孝敬我的呢&hellip;&hellip;<br />
被追杀<br />
<br />
110、高一时一个很聪明的同学干的：上地理课，老师见他穿着羽绒服趴在桌上睡着了，就叫他起来回答问题，但叫了几次没回应，于是走到跟前一看：那家伙居然把羽绒服放在桌子上做伪装，自己蹲在地上不知道在玩什么。。。<br />
<br />
111、美中不足---翻译：American Chinese not enough</div>]]></description>
			<link>http://airsky.com.ru//show-67-1.html</link>
			<category domain="http://airsky.com.ru//category-3-1.html">精品收录</category>
			<pubDate>2008-12-04 01:35</pubDate>
		</item>
		<item>
			<guid>http://airsky.com.ru//show-66-1.html</guid>
			<title>无语的Mail()</title>
			<author>eric</author>
			<description><![CDATA[<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 大半夜了，又来给鸡窝写点什么了，今天花了半天整顿CHF的精品区，实在TMD累，还绞尽脑汁写了篇肺腑之言，就是CHF的一些感受和想法，很多兄弟都来支持了，可是就是精品区整理的东西似乎没人再去关注，不只是我太急了还是大伙还是不懂精品区<img alt="" border="0" src="http://airsky.com.ru/images/smiles/sweat.gif" /></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 其实教程和优秀空间资源，我在搜索和论坛认证间徘徊了有段时间，是发布于公众让更多人欣赏，让百度google多多收录，还是致力于做一个精品区，小规模的认证分享，最终我选择了后者，因为虽然CHF大部分访问量来自百度，但是这些人对CHF来说可能绝大部分只是个过客，或者说他们没能看懂CHF是做什么的，百度收录呵呵这个我就不想说了，百度蜘蛛天天就会在CHF的首页爬来爬去，SB一样，内页除了水区基本没有更新，今天有个所谓&ldquo;非主流&rdquo;，发了个京东商城的软文贴，百度竟然2个小时内就收录了，对自己合作伙伴内容的收速度堪比GOOGLE，百度的收录希望能够保持，精品区打算把好资源都转进去，好好盘活CHF的精品区。</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;接着说说晚上干嘛了，前几天我申请了个空间，地址我这就不放了，其实这空间不是近几天才出的只是无耻的老外把上次申请的给删了,BS他一下，这次我重新申请，然后放了一两天没见帮我开通，不耐烦了去他坛子问有没有ADMIN在线，随便吼下这家伙还真跑出来问我什么事，狂汗下<img alt="" border="0" src="http://airsky.com.ru/images/smiles/sweat.gif" />，我就说老兄帮忙激活下空间嘛，他问了我做啥用的，我回答WP，他说好的帮我开通了，加上句别忘了在底部加上HOST BY XXX，我当时回答OF Course了呵呵。</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 拿到空间了想开始做坏事，但是想想这死老外还在线，我就装乖，把我上次&ldquo;偷&rdquo;的WP博客数据传上去，用临时地址打开哇靠封IP了被，只好挂上VPN去搞，传完了发现这BLOG一篇文章都没有，只有HELLO WORLD，我真想把它改成HELLO,F*U*C*K,TNND。第二天我继续