??xml version="1.0" encoding="utf-8" standalone="yes"?>蜜桃视频在线网站,午夜亚洲精品,亚洲欧美日韩精品久久久久http://www.aygfsteel.com/bluebillow/archive/2009/04/28/267834.html生活在别?/dc:creator>生活在别?/author>Tue, 28 Apr 2009 01:35:00 GMThttp://www.aygfsteel.com/bluebillow/archive/2009/04/28/267834.htmlhttp://www.aygfsteel.com/bluebillow/comments/267834.htmlhttp://www.aygfsteel.com/bluebillow/archive/2009/04/28/267834.html#Feedback0http://www.aygfsteel.com/bluebillow/comments/commentRss/267834.htmlhttp://www.aygfsteel.com/bluebillow/services/trackbacks/267834.htmlRedHat Linux操作pȝ修改时区的方?/span>
Most modern Linux distributions have user-friendly programs to set the timezone, often accesible through the program menus or right-clicking the clock in a desktop environment such as KDE or GNOME. Failing that it’s possible to manually change the system timezone in Linux in a few short steps.
It’s possible to change the system timezone in Linux in a few short steps.
Steps
1. Logged in as root, check which timezone your machine is currently using by executing `date`. You’ll see something like “Mon 17 Jan 2005 12:15:08 PM PST -0.461203 seconds”, PST in this case is the current timezone.
2. Change to the directory to /usr/share/zoneinfo, here you will find a list of time zone regions. Choose the most appropriate region, if you live in Canada or the US this directory is the “Americas” directory.
3. If you wish, backup the previous timezone configuration by copying it to a different location. Such as `mv /etc/localtime /etc/localtime-old`.
4. Create a symbolic link from the appropiate timezone to /etc/localtime. Example: `ln -s /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime`.
5. If you have the utility rdate, update the current system time by executing `/usr/bin/rdate -s time.nist.gov`. (This step can be skip!)
6. Set the ZONE entry in the file /etc/sysconfig/clock file (e.g. “America/Los_Angeles”)
7. Set the hardware clock by executing: ` /sbin/hwclock –systohc`
Tips
· On some versions of RedHat Linux, Slackware, Gentoo, SuSE, Debian, Ubuntu, and anything else that is “normal”, the command to display and change the time is ‘date’, not ‘clock’
· On RedHat Linux there is a utility called “Setup” that allows one to select the timezone from a list, but you must have installed the ‘redhat-config-date’ package.
Warnings
· Some applications (such as PHP) have separate timezone settings from the system timezone.
· On some systems, /etc/localtime is actually a symlink to the appropriate file under the /usr/share/zoneinfo directory (rather than a copy of that file).
· On some systems, there is a system utility provided that will prompt for the correct timezone and make the proper changes to the system configuration. For example,Debianprovides the “tzsetup” utility.
Here is an example of changing the timezone: (Logged in as root)
In order to manually change the timezone, you can edit the /etc/sysconfig/clockfile and then make a new soft link to /etc/localtime. Here is an example of changing the timezone manually to “America/Denver”:
1. Select the appropriate time zone from the /usr/share/zoneinfo directory. Time zone names are relative to that directory. In this case, we will select “America/Denver”
2. Edit the /etc/sysconfig/clocktext file so that it looks like this:
ZONE=”America/Denver”
UTC=true
ARC=false
Of course, this assumes that your hardware clock is running UTC time…
3. Delete the following file: /etc/localtime (backup it when you need it !)
4. Create a new soft link for /etc/localtime. Here is an example of step 3 and step 4:
# cd /etc
# ls -al localtime
lrwxrwxrwx 1 root root 39 Mar 28 07:00 localtime -> /usr/share/zoneinfo/America/Los_Angeles
# rm /etc/localtime
# ln -s /usr/share/zoneinfo/America/Denver /etc/localtime
# ls -al localtime
lrwxrwxrwx 1 root root 34 Mar 28 08:59 localtime -> /usr/share/zoneinfo/America/Denver
# date
Fri Mar 28 09:00:04 MST 2003


针对中国时区Q修Ҏ作如?/div>
1.   修改文g /etc/sysconfig/clock内容Q?strong>
ZONE=Asia/Shanghai
UTC=false
ARC=false
2.     rm /etc/localtime
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
q有其他Ҏ修改时区Q不q是Z囑Ş化界面的命oQ?tzselect ?/span> timeconfig
本文为镜像,原脓在此:http://www.btk4ever.com/?p=10443


]]>无线|络WEP加密破解达成http://www.aygfsteel.com/bluebillow/archive/2009/04/28/267833.html生活在别?/dc:creator>生活在别?/author>Tue, 28 Apr 2009 01:33:00 GMThttp://www.aygfsteel.com/bluebillow/archive/2009/04/28/267833.htmlhttp://www.aygfsteel.com/bluebillow/comments/267833.htmlhttp://www.aygfsteel.com/bluebillow/archive/2009/04/28/267833.html#Feedback0http://www.aygfsteel.com/bluebillow/comments/commentRss/267833.htmlhttp://www.aygfsteel.com/bluebillow/services/trackbacks/267833.html

朋友搬到个新地方,没有宽带?但是能收C加密的无U网l?挺想y网的,本h׃是所?#8220;挨踢”人士Q自当义不容辞出手相助?

我也只是想了解下WEP破解q事Q目的也只是提醒大家一下要加强无线|络安全Q千万不要干啥非法的事情Q当然有本事的话Q就把屁股擦q净?

其实前两q我q道WEP加密是极不安全的,而且也出于好奇做q密钥破解的试Q但是由于破解Y件特别挑|卡Q结果自然就是半途而废了。这ơ到|上 再度查了点相兌料,发现q事情已然变得相当的单了,基本上只需?BackTrack3 可以搞定了。Backtrack 是一个黑客操作系l,其实也算是一个linux的黑客版Q主要是安装了很多实用的软g和黑客工P偏向于安全R入方面的?

我是下蝲了一个BackTrack3 的usb版本Qƈ且下了最新的扫描工具spoonwep2Q系l自带的是spoonwep也能用,但是据说新版更好使,更方面。整个过E挺单的Q机器设 |成usb可引导启动,然后启动q入usb上的BackTrackpȝQ都是图形界面的Q打开spoonwep2工具Q扫描周围的无线信号Q选择信号? 的,有客Lq接Qƈ且DATA包比较多的信h破解吧,q样应该可以快点Q据说XX分钟p破解了。没有客Lq接的无U信P据说有些AP也是同样? 以破解的Q无非是d方式的变化以及花费的旉更长而已?

我的l历是,晚上10点多开始破一个无U信P{了一个多时Q进度开始变~慢Q因为本来连着的两个客L下线了,估计困搞M…Q很无奈Q我也不 能傻{,只得也睡觉去了。第二天早上hQ?o点多的时候,才抓满了要求的数据包Q整个密钥破解过E倒是瞬间完成Q然后我看到的密码是”1111111″ ,? rzQ看来设无线密码的h都很懒。这个过E还是挺漫长的,可能是没选择Ҏ的d方式Q导致数据包获取的过E很ѝ假如有客户端在BT下蝲Q估计快? 多,要是只是qq聊天Q那p耗很久了。不q整个过E,已经相当的傻瓜化了?

q事也不能说的太l,想了解详l的人,|上查去?Z提供一?a linkindex="118" target="_blank">教程?

至于如何加强无线安全Q有q么几点Q网上找的)

如果你需要你的AP很难被破解,Q?br /> 1Q用WPA 加密方式Qƈ且用不可能被字典猜到的密码Q目前还是基本可靠的
2Q如果只支持 WEP加密Q那么,量考虑用隐?SSID的方式,q样可以增加破解隑ֺ
3Q如果只支持 WEP加密Q那么,可以考虑使用中文名字作ؓSSIDQ这样基本问题不大?br /> 4Q一般破解时候,大家都会选择常用的频道,例如 6频道Q? W三步显C频道的时候,你的AP也会被列出来Q那么第一个目标失败的时候,黑客往往会选择W二个容易下手的目标Q?但是如果你选择?? 4、这些奇怪的频道Q那么狠客往往懒得重新q入该频道的监控模式Q你可以逃过一劫。不q, 某些廉hAPQ往往? 频道做了优化Q这个频道信h?#8230;.q就没办法了?br /> 5Q有I换换你的密码:Q?/strong>

q有其他几点也可以做Q如减低信号、关闭DHCP、MAC地址l定Q当然这些措施也只是增加隑ֺ而已?/strong>

最后提一下,y网是有风险的,无线信号不加密的Qh家未必就是大善h或者菜鸟,而且q有Z门钓鱼的Q加大信P讄单密码,专门{蹭|的人来Q数据包一抓,{着被玩吧?/span>

本文为镜像,原脓在此:http://www.btk4ever.com/?p=10423



]]>
Live Space Mover –live space转移到wordpress http://www.aygfsteel.com/bluebillow/archive/2009/02/17/255143.html生活在别?/dc:creator>生活在别?/author>Tue, 17 Feb 2009 09:00:00 GMThttp://www.aygfsteel.com/bluebillow/archive/2009/02/17/255143.htmlhttp://www.aygfsteel.com/bluebillow/comments/255143.htmlhttp://www.aygfsteel.com/bluebillow/archive/2009/02/17/255143.html#Feedback0http://www.aygfsteel.com/bluebillow/comments/commentRss/255143.htmlhttp://www.aygfsteel.com/bluebillow/services/trackbacks/255143.html

考虑把Live Space的日志{UdWordpress 架的blog去,郁闷的是Live Spaceq不支持通用的导出格式,要是一条条日志复制q去的话Q这工作量也实在是够吓h的。只好到|上找解军_法了Q真搞不定的话,只能攑ּLive Space的日志了。结果很不幸Q被我找个一个Live Space Mover的工P很华丽的搞定了动q的工作。在此向作者Wei Wei致敬了,随便介绍推广一下?/span>

Live Space Mover 工具的说明在q里Q?a >http://b2.broom9.com/?page_id=519

q个工具是通过Python脚本抓取live space的日志和留言Q保存ؓwordpress支持的通用xml文g。最后将文g通过wordpress后台理提供的导入功能,日志迁U过厅R?/span>

具体操作步骤参照作者blog里的user guideQ非常详l的?/span>

大致q程是这P

1.安装Python的环境,q下载Beautiful Soup的类?/span>

2.Google Code下蝲最q的Live Space Mover 工具Q几个python脚本Q?/span>

3.按照作者的要求Q对spaceq行讄Q主要是开放访问权限和讄日期格式

4.命o行方式执行脚本,开始日志抓取(脚本参数参照user guideQ?/span>

–如执行过E出现超时或者假L况(我都到?#8230;Q?关闭重新执行脚本卛_Q工hcache文gQ会从断点开始l的

5.生成的xml文g导入wordprss

工具目前q有一点瑕疵,下面q段话来自作者的blogQ关于目前工h法解决问题的说明Q看来又是live space的怨念?/span>

After the live space updates in Dec 2008 (live space mover version 1.7), there are some limitations for comments, including:

1. can’t get the accurate time of comments, sometimes even incorrect;

2. can’t get the email and url of comment authors.

These are both due to the ridiculous design of Live Space. If you have any idea about how to solve these 2 problems, please let me know.

本文为镜像,原脓在此:http://www.btk4ever.com/?p=10025



]]>
crontab 执行q问题http://www.aygfsteel.com/bluebillow/archive/2009/02/17/255140.html生活在别?/dc:creator>生活在别?/author>Tue, 17 Feb 2009 08:55:00 GMThttp://www.aygfsteel.com/bluebillow/archive/2009/02/17/255140.htmlhttp://www.aygfsteel.com/bluebillow/comments/255140.htmlhttp://www.aygfsteel.com/bluebillow/archive/2009/02/17/255140.html#Feedback0http://www.aygfsteel.com/bluebillow/comments/commentRss/255140.htmlhttp://www.aygfsteel.com/bluebillow/services/trackbacks/255140.html已部|的一个JAVAE序最q需要改成定期执行,于是放到crontab调度Q结果遇C中文q问题。脚本在shell环境下直接运行没有问 题。到|上收了一下,到q个问题的还真不,l论是crontab执行时不会携带用L环境变量Q缺׃些系l变量。需要在脚本里额外添加缺q环境? 量,针对中文问题Q需要声?LANG参数

在脚本开头增加:
LANG=”zh_CN.GB18030″
export LANG

׃是中文问题,讄的编码要和系l设|的一_具体可以?etc/sysconfig/i18n 查看对应的环境变?/p> 本文为镜像:原帖在此Q?a title="http://www.btk4ever.com/?p=10040" >http://www.btk4ever.com/?p=10040

]]>
手动删除oracle9i数据?- delete a databasehttp://www.aygfsteel.com/bluebillow/archive/2008/11/11/239841.html生活在别?/dc:creator>生活在别?/author>Tue, 11 Nov 2008 03:49:00 GMThttp://www.aygfsteel.com/bluebillow/archive/2008/11/11/239841.htmlhttp://www.aygfsteel.com/bluebillow/comments/239841.htmlhttp://www.aygfsteel.com/bluebillow/archive/2008/11/11/239841.html#Feedback0http://www.aygfsteel.com/bluebillow/comments/commentRss/239841.htmlhttp://www.aygfsteel.com/bluebillow/services/trackbacks/239841.html据说在oracle 10g的版本,在数据库实例正常启动open的情况下Q直接通过命ocM" drop database 'dbname' "q种方式可以删除一个数据库实例?/div>
q里说的是oracle 9i的情况下Q不依赖其他工具的情况下Q手工删除一个数据库实例?/div>
操作步骤为网上查来的Qƈl过我验证通过Q操作之前请保该实例已l被停止Q具体步骤见下:
========================
To delete a database,
First:
Select "rm -f "||name from v$controlfile
union
select "rm -f "||name from v$datafile
union
select "rm -f "||member from v$logfile;
Second:
Clean up above output & make it executable
Third:
If installation follows OFA standard:
remove directory $ORACLE_BASE/admin/$ORACLE_SID
Fourth:
Delete archive log directory (if archive mode)
============================
 


]]>手工新徏数据?- create a databasehttp://www.aygfsteel.com/bluebillow/archive/2008/11/11/239839.html生活在别?/dc:creator>生活在别?/author>Tue, 11 Nov 2008 03:47:00 GMThttp://www.aygfsteel.com/bluebillow/archive/2008/11/11/239839.htmlhttp://www.aygfsteel.com/bluebillow/comments/239839.htmlhttp://www.aygfsteel.com/bluebillow/archive/2008/11/11/239839.html#Feedback0http://www.aygfsteel.com/bluebillow/comments/commentRss/239839.htmlhttp://www.aygfsteel.com/bluebillow/services/trackbacks/239839.html找一靠q教程来跟着做,是相当重要,不然׃吃药Q网上文章都是抄来抄ȝQ不然怎么ȝ都不知道个?/div>
我比较衰Q找了一不是很靠谱的来做,l果到了不小问题?/div>
关于手工建库Q参照下面两,应该是比较靠q?/div>
原帖地址Q?a >http://superman-chenzs.itpub.net/post/29327/279430
另外一比较靠q文章Q地址如下Q?a >http://www.ixdba.net/hbcms/article/14/336.html
===============================================

Red Hat Enterprise 3 + Oracle 10g Release 2

$su – oracle

1--- 讄pȝ环境变量Q?/span>

ORACLE_HOME=/opt/oracle/product/10.2

ORACLE_BASE=/opt/oracle

ORACLE_SID=dbtest

......

2--- pȝ规划Q?/span>

实例名称ORACLE_SID=dbtest

数据库名U?/span>DB_NAME=dbtest

3--- 手工创徏如下目录Q?/span>

/opt/oracle/admin/dbtest/cdump

/opt/oracle/admin/dbtest/bdump

/opt/oracle/admin/dbtest/udump

/opt/oracle/admin/dbtest/pfile

/opt/oracle/oradata/dbtest/

/opt/oracle/oradata/dbtest/archive

4--- 建立密码文gQ?/span>

orapwd file=/opt/oracle/product/10.2/dbs/orapwd_dbtest password=superman

5---修改参数文gQ?/span>

格式Q?/span>/opt/oracle/product/10.2/dbs/init.ora

实例Q?/span>/opt/oracle/product/10.2/dbs/initdbtest.ora

内容如下Q?/span>

---------------------------------------------------

dbtest.__db_cache_size=331350016

dbtest.__java_pool_size=4194304

dbtest.__large_pool_size=8388608

dbtest.__shared_pool_size=138412032

dbtest.__streams_pool_size=0

*._kgl_large_heap_warning_threshold=8388608

*.audit_file_dest='/opt/oracle/admin/dbtest/adump'

*.background_dump_dest='/opt/oracle/admin/dbtest/bdump'

*.compatible='10.2.0.1.0'

*.control_files='/opt/oracle/oradata/dbtest/control01.ctl','/opt/oracle/oradata/dbtest/control02.ctl','/opt/oracle/oradata/dbtest/control03.ctl'

*.core_dump_dest='/opt/oracle/admin/dbtest/cdump'

*.db_2k_cache_size=33554432

*.db_block_size=8192

*.db_domain=''

*.db_file_multiblock_read_count=128

*.db_files=4000

*.db_name='dbtest'

*.db_recovery_file_dest_size=4294967296

*.db_recovery_file_dest=''

*.log_archive_dest='/opt/oracle/oradata/dbtest/archive'

*.log_checkpoints_to_alert=FALSE

*.open_cursors=300

*.parallel_execution_message_size=65535

*.parallel_max_servers=128

*.pga_aggregate_target=209715200

*.processes=150

*.recyclebin='OFF'

*.remote_login_passwordfile='EXCLUSIVE'

*.replication_dependency_tracking=FALSE

*.session_cached_cursors=100

*.sga_target=500m

*.shared_pool_size=100m

*.undo_management='AUTO'

*.undo_retention=0

*.undo_tablespace='UNDOTS'

*.user_dump_dest='/opt/oracle/admin/dbtest/udump'

*.workarea_size_policy='AUTO'

_allow_resetlogs_corruption=true

---------------------------------------------------

可将此文件复制到Q?/span>/opt/oracle/admin/dbtest/pfile/init.ora

6--- 登陆oracleQ?/span>

> sqlplus “/ as sysdba”

7--- 启动实例Q?/span>

SQL> startup nomount pfile=/opt/oracle/admin/dbtest/pfile/init.ora

8--- 创徏数据库的脚本Q?/span>

-----------------------------------------------------------

CREATE DATABASE dbtest

LOGFILE

GROUP 1 ('/opt/oracle/oradata/dbtest/redo01.log','/opt/oracle/oradata/dbtest/redo01_1.log') size 100m reuse,

GROUP 2 ('/opt/oracle/oradata/dbtest/redo02.log','/opt/oracle/oradata/dbtest/redo02_1.log') size 100m reuse,

GROUP 3 ('/opt/oracle/oradata/dbtest/redo03.log','/opt/oracle/oradata/dbtest/redo03_1.log') size 100m reuse

MAXLOGFILES 50

MAXLOGMEMBERS 5

MAXLOGHISTORY 200

MAXDATAFILES 500

MAXINSTANCES 5

ARCHIVELOG

CHARACTER SET UTF8

NATIONAL CHARACTER SET UTF8

DATAFILE '/opt/oracle/oradata/dbtest/system01.dbf' SIZE 1000M EXTENT MANAGEMENT LOCAL

SYSAUX DATAFILE '/opt/oracle/oradata/dbtest/sysaux01.dbf' SIZE 1000M

UNDO TABLESPACE UNDOTS DATAFILE '/opt/oracle/oradata/dbtest/undo.dbf' SIZE 500M

DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE '/opt/oracle/oradata/dbtest/temp.dbf' SIZE 500M

;

-----------------------------------------------------------

9--- q行如下文g(安装下面的先后顺?font face="Times New Roman">)Q?/strong>

/opt/oracle/product/10.2/rdbms/admin/catalog.sql

/opt/oracle/product/10.2/rdbms/admin/catproc.sql

10--- 创徏相关表空间与用户Q?/strong>

CREATE TABLESPACE USERS DATAFILE '/opt/oracle/oradata/dbtest/users01.dbf' SIZE 1000M;---数据表空?/font>

CREATE TABLESPACE INDX DATAFILE '/opt/oracle/oradata/dbtest/indx01.dbf' SIZE 1000M;---在徏立烦引的时候把此表I间作ؓ存储I间Q即单独用一个表I间来存储烦引,q是个好习惯Q虽然我们没有办法徏立一个默认的索引表空_

CREATE USER test IDENTIFIED BY test DEFAULT TABLESPACE users ;---试用户

GRANT CONNECT,RESOURCE TO test;

11--- 一Ҏ意的地方Q?/strong>

1>.相关文g的目录要讄正确Q有数据文gQ控制文Ӟ参数文g{,q有是它们的位|要与控制文件中指定的要一致?/font>

2>.init.ora中的undo_tablespace的名字必要?/font>create database的相同,包括大小写等注意。否则很ȝQ报的错误你都不知道是不是在忽悠你!MQ一句话Q控制文件中的内容要?/font>init文g中的内容以及要和实际文g的实际情况要相同?/font>

3>.分析数据库出错可以到/opt/oracle/admin/dbtest/bdump/alert_dbtest.log中查找?/font>

===============================================

 补充Q?/span>

   我碰到的一个问题,在普通用户sqlplusdӞ到下面的告警提C?/span>  

    Error accessing PRODUCT_USER_PROFILE
Warning: Product user profile information not loaded!
You may need to run PUPBLD.SQL as SYSTEM

 h照提C,以SYSTEM用户dSQL*PlusQ然后执行PUPBLD.SQLQ这个文仉常?ORACLE_HOME/sqlplus/admin目录中?br /> SQL> @$ORACLE_HOME/sqlplus/admin/pupbld.sql



]]>Linux下分割与合ƈ文g的方?/title><link>http://www.aygfsteel.com/bluebillow/archive/2008/11/11/239829.html</link><dc:creator>生活在别?/dc:creator><author>生活在别?/author><pubDate>Tue, 11 Nov 2008 03:25:00 GMT</pubDate><guid>http://www.aygfsteel.com/bluebillow/archive/2008/11/11/239829.html</guid><wfw:comment>http://www.aygfsteel.com/bluebillow/comments/239829.html</wfw:comment><comments>http://www.aygfsteel.com/bluebillow/archive/2008/11/11/239829.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/bluebillow/comments/commentRss/239829.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/bluebillow/services/trackbacks/239829.html</trackback:ping><description><![CDATA[<div>切割合ƈ文g在linux下用split和cat可以完成。下面D些实例进行说明?br /> <span style="font-weight: bold;">1.文g切割</span><span style="font-weight: bold;"><br /> </span>文g切割模式分ؓ两种Q?/div> <div>     文本文g</div> <div>     二进制模式?/div> <div><span style="font-weight: bold;">1.1文本模式</span><br /> 文本模式只适用于文本文Ӟ用这U模式切割后的每个文仉是可ȝ。文本模式又分ؓ两种Q?br />      按最大文件大切Ԍ<br />      按文本行数切剌Ӏ?/div> <div><span style="font-weight: bold;">1.1.1最大文件大切?/span></div> <div>split -C 5k duanxin split</div> <div>文本文件duanxin按每块最?k的大进行切Ԍ不打行。输出文件名cMsplitaa, splitab……<br /> <span style="font-weight: bold;">1.1.2 按文本行数切?/span></div> <div>split -l 100 duanxin split</div> <div>每个分块100行,不考虑大小。日志分析时应该有用?br /> <span style="font-weight: bold;">1.2 二进制模?/span></div> <div>split -b 5k duanxin split</div> <div>每个分块Q当Ӟ最后一个不保证Q大都?kQ基本不可读。Q何类型文仉可以用这U切割模式?span style="font-weight: bold;"><br /> 2.文g合ƈ</span></div> <div>cat split* >newduanxin</div> <div>不管用什么方式切Ԍ合ƈҎ不变?br /> <span style="font-weight: bold;">3.其它<br /> </span>split可以?a选项指定输出文g名的长度。如<br /> split -l 100 -a 3 duanxin split<br /> 则输出文件出cM于splitaaa,splitaab。不指定旉认ؓ2?br /> ?b?C指定分块大小Ӟ可用的单位有Qb for 512bytes, k for 1Kbytes, m for 1 Megbytes.<br /> <br /> <span style="font-weight: bold;">参考资?/span><br /> man split</div> <div>原帖地址Q?a >http://herofit.blogspot.com/2006/10/linux_10.html</a></div> <div>-----------------------------------------------------------</div> <div><font color="#0070c0">找东西的时候发现网上都是讲q个的,随手脓一下,据说分割q可以用DD命o</font></div> <div><font color="#0070c0">我的需求用split好像是搞不定的,希望从文本的指定行数q行分割Q最l找C个方法,见下Q?/font></div> <div><strong><font color="#ff0000">sed -n '1001,2000p' ur-file >newfile</font></strong></div> <div><font color="#0070c0">随后发玎ͼsed有用Q有兴趣的自׃解吧Q附送一个介lsed用法的文章:</font></div> <div><a ><font color="#0070c0">http://blog.chinaunix.net/u/15010/showart_243352.html</font></a></div> <img src ="http://www.aygfsteel.com/bluebillow/aggbug/239829.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/bluebillow/" target="_blank">生活在别?/a> 2008-11-11 11:25 <a href="http://www.aygfsteel.com/bluebillow/archive/2008/11/11/239829.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>微Y7月安全补丁重|TCP/IPq发?/title><link>http://www.aygfsteel.com/bluebillow/archive/2008/07/11/214338.html</link><dc:creator>生活在别?/dc:creator><author>生活在别?/author><pubDate>Fri, 11 Jul 2008 13:46:00 GMT</pubDate><guid>http://www.aygfsteel.com/bluebillow/archive/2008/07/11/214338.html</guid><wfw:comment>http://www.aygfsteel.com/bluebillow/comments/214338.html</wfw:comment><comments>http://www.aygfsteel.com/bluebillow/archive/2008/07/11/214338.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/bluebillow/comments/commentRss/214338.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/bluebillow/services/trackbacks/214338.html</trackback:ping><description><![CDATA[<p> </p> <p>今天晚上上网Q打开|页都很困难Q查了查发现开着BTQ关掉以后就正常?br /> q种鸟事情,以前也碰到过Q应该是TCP/IPq发q接数的问题Q一查果然又被重|到?0?br /> 昨天?0P是微软每月发布安全补丁的日子Q记得是有装补丁个,估计是那个补丁搞得g?br /> 各位打了补丁的同志,M改下pȝq接数吧Q?/p> <img src ="http://www.aygfsteel.com/bluebillow/aggbug/214338.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/bluebillow/" target="_blank">生活在别?/a> 2008-07-11 21:46 <a href="http://www.aygfsteel.com/bluebillow/archive/2008/07/11/214338.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>阉割版Gtalkhttp://www.aygfsteel.com/bluebillow/archive/2008/07/09/213701.html生活在别?/dc:creator>生活在别?/author>Wed, 09 Jul 2008 08:33:00 GMThttp://www.aygfsteel.com/bluebillow/archive/2008/07/09/213701.htmlhttp://www.aygfsteel.com/bluebillow/comments/213701.htmlhttp://www.aygfsteel.com/bluebillow/archive/2008/07/09/213701.html#Feedback0http://www.aygfsteel.com/bluebillow/comments/commentRss/213701.htmlhttp://www.aygfsteel.com/bluebillow/services/trackbacks/213701.html     今天试图在gtalk上传个文Ӟ捣腾半天也耍不hQ最后惊奇的发现Q原来中文版的gtalk是被阉割q的Q少掉了不少功能。话_google.cn也就是谷歌,也是被阉割过的,在这个和谐的国度里,q你输入google.comQ你也去不了惛_的地方,p里有伟大的GFW和DNS挟持。百度么Q天生就阉掉的,h臛_q有行字“据当地法律法规和政策Q部分搜索结果未予显C?#8221;让你知道q玩意是太监Q百度么看上L个女人?br />     我ƈ不是google饭,但是google有些服务我倒一直在用。gmail、gtalk、reader、bookmark、picasaQ还有那个工hQ有些东西用hq挺爽的。但是你一旦知道,你常用的东西Q有些是被阉割过的,M有点疙瘩个。当Ӟ有些阉割不能怪罪我们伟大的和谐国Q比如把gmail语言换成英文Q就会多出选项个?br />     最后顺带提一下电q阉割版,内地的剪刀手功力是相当的深厚,不仅可以把那玩意割掉Q还不经意留下几个彩蛋,提升一下片子的深度Q赞一C?br />     最后的最后,问候一记GFWQ上个月几个|站又上不去了,qsourceforge也走掉了Q罪q罪q!


]]>
用telnet发送电子邮?zt)http://www.aygfsteel.com/bluebillow/archive/2008/06/12/207304.html生活在别?/dc:creator>生活在别?/author>Thu, 12 Jun 2008 02:28:00 GMThttp://www.aygfsteel.com/bluebillow/archive/2008/06/12/207304.htmlhttp://www.aygfsteel.com/bluebillow/comments/207304.htmlhttp://www.aygfsteel.com/bluebillow/archive/2008/06/12/207304.html#Feedback0http://www.aygfsteel.com/bluebillow/comments/commentRss/207304.htmlhttp://www.aygfsteel.com/bluebillow/services/trackbacks/207304.html原帖地址在此Q?a title="http://www.geektalks.cn/article.php?story=20080602125246318" >http://www.geektalks.cn/article.php?story=20080602125246318


?/span>telnet发电子邮件的目的很多Q我们暂且假设一番:如果你不q落入恐怖䆾子之手,他们只有一台瘦得不行的电脑QM除了telnetE序啥都没有Q在恐怖䆾子去吃羊肉馍而疏于照看你的大好时机,你如何发电子邮g通知外界呢?



当然Q首先你要有一个支持中l{发的SMTP的帐Pq运的是Q现在即使免费的邮箱也会提供q个?/p>

假设你有一个geekx@126.com的邮,密码是xgeekQ则会话如下Q?U色的话是你要说?/span>Q?/span>

 $ telnet smtp.126.com 25 # 25 为标准SMTP端口

Trying 220.181.15.111...
Connected to smtp.126.com (220.181.15.111).
Escape character is '^]'.
220 126.com Anti-spam GT for Coremail System (126com[071018])

helo 126.com # 打个招呼?/span>

250 OK
auth login Q?SMTP需要认?/span>
334 dXNlcm5hbWU6 # q是个base64~码的明文,译q来?#8220;username:"
Z2Vla3g= # base64~码的明文,译q来?#8220;geekx"
334 UGFzc3dvcmQ6 # q是个base64~码的明文,译q来?#8220;password:"
eGdlZWs= # base64~码的明文,译q来?#8220;xgeek"
235 Authentication successful
mail from:<geekx@126.com>
250 Mail OK
rcpt to:<superman@savetheworld.com> # 发给XXX
250 Mail OK
data Q开始写?/span>
354 End data with <CR><LF>.<CR><LF>

subject:Help!!
                                  #q里IZ行再写正?br /> The world is under attack,

Terrorists are eating yang—rou—pao—mo...
                                  Q写完信后空一?br /> .                  Q写一个句点表CZ的结?/span>
250 Mail OK queued as smtp1,C8mowLC7fAy8GydISdAtCw==.834S2 1210522683
quit
221 Bye #SMTP姐跟你说再?br />
Connection closed by foreign host.

那么Q如何知道你的用户名和密码的base64~码呢?当然是预先要记在脑子里,如果实在C下的话,用uuencode译一下吧Q?/span>

 $ echo -n 'geekx' | uuencode -m xxx # -m 指定 base64~码

begin-base64 664 xxx
Z2Vla3g=
====

好了Q在恐怖䆾子吃完午饭回来之前,你已l成功地把信发给h啦?/span>



]]>
վ֩ģ壺 | | | | | ľ| °Ͷ| | ƺ| | ϰ| | ʯ| | | | Ϸ| | | ƽ| | Ϸ| ƽ| | ̩| ɽ| | ɰ| ˫| ξ| | | ˮ| ̩| ˷| ǭ| | | Ȫ| ׿| ɽ|