Dec 05

新建一个 项,默认值类型为REG_DWORD。

例如允许一个网站使用cookie

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\P3P\History\域名

这个键值的 默认值 为 REG_DWORD类型的 0×0001

用RegEdit手动操作无法做到。只有通过.reg文件导入来完成。

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\P3P\History\dormforce.net]@=dword:00000001

ps 最近教学评估,11:30 辅导员要查寝,我回去晚了怕被抓住,所以被逼在外边通宵 -_-!

Dec 04

感谢文明用语的投递

首先呢
不要把黑客拿来说事,
8褂(卦)到一定程度就可以鸟

另外,M8抄袭Iphone我不Care,但是就算是说借鉴也不可以这么无耻,
我觉得带着谦逊的态度表示自己向对方学习了也未尝不可,
泱泱大国,不需要这样让人看不起吧?
~_~

齐天大圣无聊地到此一游(我很谦逊的说,这段我借鉴了西游记)

1.jpg

Nov 21

nirsoft出品,必属精品。URLProtocolView是nirsoft在2007年推出的一款软件,可以查看Windows内已经注册的Asynchronous Pluggable Protocols

UrlProtocolView

什么是Asynchronous Pluggable Protocols(APP)呢?举个例子,网页里点击一个eMule的超链接,
ed2k://|file|BBC.Planet.Earth.03of11.Fresh.Water.720p.Divx6.Ac3.avi|2302461952|bd651d4325e14182f101697e18f08391|/
系统是怎么启动eMule的呢?我们通过注册表可以看到HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ed2k\shell\open\command指向"D:\下载工具\eMule\EMULE.EXE" "%1"那么相当于我们在命令行里运行了>"D:\下载工具\eMule\EMULE.EXE" "|file|BBC.Planet.Earth.03of11.Fresh.Water.720p.Divx6.Ac3.avi|2302461952|bd651d4325e14182f101697e18f08391|/"。这就是APP

APP可能导致很多安全隐患,例如几个月前沸沸扬扬的Mozilla URI漏洞

扫描了一下,我的Vista下注册的APP是相当的多啊。

==================================================URL Name          : calltoStatus            : EnabledDescription       : URL:Callto ProtocolCommand-Line      : "D:\\Chat\\Skype\\Skype.exe" "/callto:"%l""Product Name      : SkypeCompany Name      : Skype Technologies S.A.==================================================
==================================================URL Name          : collStatus            : EnabledDescription       : URL:Directory Opus File CollectionCommand-Line      : D:\\Downloads\\DOpusInstall\\Disk1\\data1\\dopusrt.exe /ddeProduct Name      : SkypeCompany Name      : Skype Technologies S.A.==================================================
==================================================URL Name          : ed2kStatus            : EnabledDescription       : URL: ed2k ProtocolCommand-Line      : "D:\\下载工具\\eMule\\EMULE.EXE" "%1"Product Name      : eMuleCompany Name      : http://www.emule-project.net==================================================
==================================================URL Name          : Explorer.AssocProtocol.search-msStatus            : EnabledDescription       : Windows Search ProtocolCommand-Line      : %SystemRoot%\\Explorer.exe /separate,/idlist,%I,%LProduct Name      : Microsoft? Windows? Operating SystemCompany Name      : Microsoft Corporation==================================================
==================================================URL Name          : fileStatus            : EnabledDescription       : URL:File ProtocolCommand-Line      : %SystemRoot%\\Explorer.exe /separate,/idlist,%I,%LProduct Name      : Microsoft? Windows? Operating SystemCompany Name      : Microsoft Corporation==================================================
==================================================URL Name          : FirefoxURLStatus            : EnabledDescription       : Firefox URLCommand-Line      : D:\\浏览器~1\\FIREFOX\\FIREFOX.EXE -requestPending -osint -url "%1"Product Name      : FirefoxCompany Name      : Mozilla Corporation==================================================
==================================================URL Name          : ftpStatus            : EnabledDescription       : URL:File Transfer ProtocolCommand-Line      : "C:\\Program Files\\Internet Explorer\\iexplore.exe"%1Product Name      : Windows? Internet ExplorerCompany Name      : Microsoft Corporation==================================================
==================================================URL Name          : gopherStatus            : EnabledDescription       : URL:Gopher ProtocolCommand-Line      : D:\\浏览器~1\\FIREFOX\\FIREFOX.EXE -requestPending -osint -url "%1"Product Name      : FirefoxCompany Name      : Mozilla Corporation==================================================
==================================================URL Name          : gtalkStatus            : EnabledDescription       : URL:Gopher ProtocolCommand-Line      : "D:\\Chat\\Google Talk\\googletalk.exe" "/%1"Product Name      : Google TalkCompany Name      : Google==================================================
==================================================URL Name          : httpStatus            : EnabledDescription       : URL:HyperText Transfer ProtocolCommand-Line      : "C:\\Program Files\\Internet Explorer\\iexplore.exe" -nohomeProduct Name      : Windows? Internet ExplorerCompany Name      : Microsoft Corporation==================================================
==================================================URL Name          : httpsStatus            : EnabledDescription       : URL:HyperText Transfer Protocol with PrivacyCommand-Line      : "C:\\Program Files\\Internet Explorer\\iexplore.exe" -nohomeProduct Name      : Windows? Internet ExplorerCompany Name      : Microsoft Corporation==================================================
==================================================URL Name          : IE.FTPStatus            : EnabledDescription       : URL:File Transfer ProtocolCommand-Line      : "C:\\Program Files\\Internet Explorer\\iexplore.exe"%1Product Name      : Windows? Internet ExplorerCompany Name      : Microsoft Corporation==================================================
==================================================URL Name          : IE.HTTPStatus            : EnabledDescription       : URL:HyperText Transfer ProtocolCommand-Line      : "C:\\Program Files\\Internet Explorer\\iexplore.exe" -nohomeProduct Name      : Windows? Internet ExplorerCompany Name      : Microsoft Corporation==================================================
==================================================URL Name          : IE.HTTPSStatus            : EnabledDescription       : URL:HyperText Transfer Protocol with PrivacyCommand-Line      : "C:\\Program Files\\Internet Explorer\\iexplore.exe" -nohomeProduct Name      : Windows? Internet ExplorerCompany Name      : Microsoft Corporation==================================================
==================================================URL Name          : IMToStatus            : EnabledDescription       : IMToProtocolCommand-Line      : "D:\\Chat\\Tencent\\QQ2007\\Timwp.exe" "%1"Product Name      : QQOneClickApp 应用程序Company Name      :==================================================
==================================================URL Name          : ircStatus            : EnabledDescription       : URL:IRC ProtocolCommand-Line      : "D:\\Chat\\SysReset\\mirc.exe" -noconnectProduct Name      : mIRCCompany Name      : mIRC Co. Ltd.==================================================
==================================================URL Name          : joostStatus            : EnabledDescription       : URL:IRC ProtocolCommand-Line      : "C:\\Program Files\\Joost\\xulrunner\\tvprunner.exe""C:\\Program Files\\Joost\\application.ini" "%1"Product Name      : JoostCompany Name      : Joost Technologies B.V.==================================================
==================================================URL Name          : lastfmStatus            : EnabledDescription       : URL:lastfmCommand-Line      : "D:\\Media\\Players\\last.fm\\LastFM.exe" "%1"Product Name      : Last.fmCompany Name      : Last.fm==================================================
==================================================URL Name          : LDAPStatus            : EnabledDescription       : URL:LDAP ProtocolCommand-Line      : "%ProgramFiles%\\Windows Mail\\wab.exe" "/ldap:%1"Product Name      : Microsoft? Windows? Operating SystemCompany Name      : Microsoft Corporation==================================================
==================================================URL Name          : mailtoStatus            : EnabledDescription       : URL:Mail ProtocolCommand-Line      : "d:\\chat\\google talk\\googletalk.exe" /mailto %1Product Name      : Google TalkCompany Name      : Google==================================================
==================================================URL Name          : mapiStatus            : EnabledDescription       : URL:Mail ProtocolCommand-Line      : "d:\\chat\\google talk\\googletalk.exe" /mailto %1Product Name      : Google TalkCompany Name      : Google==================================================
==================================================URL Name          : mazeStatus            : EnabledDescription       : URL: maze ProtocolCommand-Line      : "D:\\下载工具\\Maze\\Maze,1.exe" "%1"Product Name      : Google TalkCompany Name      : Google==================================================
==================================================URL Name          : msdigitallockerStatus            : EnabledDescription       : URL:Digital Locker ProtocolCommand-Line      : "%SystemRoot%\\DigitalLocker\\digitalx.exe" %1Product Name      : digital locker assistantCompany Name      : Microsoft Corporation==================================================
==================================================URL Name          : newsStatus            : EnabledDescription       : URL:News ProtocolCommand-Line      : "%ProgramFiles%\\Windows Mail\\WinMail.exe" /newsurl:"%1"Product Name      : Microsoft(R) Windows(R) Operating SystemCompany Name      : Microsoft Corporation==================================================
==================================================URL Name          : nntpStatus            : EnabledDescription       : URL:NNTP ProtocolCommand-Line      : "%ProgramFiles%\\Windows Mail\\WinMail.exe" /newsurl:"%1"Product Name      : Microsoft(R) Windows(R) Operating SystemCompany Name      : Microsoft Corporation==================================================
==================================================URL Name          : OneIndexStatus            : EnabledDescription       : Microsoft Office OneNote Protocol Handler forWindows Desktop SearchCommand-Line      : "%ProgramFiles%\\Windows Mail\\WinMail.exe" /newsurl:"%1"Product Name      : Microsoft(R) Windows(R) Operating SystemCompany Name      : Microsoft Corporation==================================================
==================================================URL Name          : OneNoteStatus            : EnabledDescription       : URL:OneNote ProtocolCommand-Line      : D:\\PROGRA~2\\MICROS~2\\Office12\\ONENOTE.EXE /hyperlink "%1"Product Name      : Microsoft Office OneNoteCompany Name      : Microsoft Corporation==================================================
==================================================URL Name          : picasaStatus            : EnabledDescription       : Picasa Command protocolCommand-Line      : "D:\\Program Files\\Picasa2\\Picasa2.exe" "%1"Product Name      : PicasaCompany Name      : Google Inc.==================================================
==================================================URL Name          : pnmStatus            : EnabledDescription       : RealNetworks 流协议Command-Line      : D:\\Media\\Players\\RealPlayer\\RealPlay.exe "%1"Product Name      : RealPlayer (32-bit)Company Name      : RealNetworks, Inc.==================================================
==================================================URL Name          : ppstreamStatus            : EnabledDescription       : URL:ppstream ProtocolCommand-Line      : "D:\\Networks\\PPStream\\PPStream.exe" -ppstream %1Product Name      :Company Name      : PPStream.com==================================================
==================================================URL Name          : QSKStatus            : EnabledDescription       : QSKProtocolCommand-Line      : "D:\\Chat\\Tencent\\QQ2007\\Timwp.exe" "%1"Product Name      : QQOneClickApp 应用程序Company Name      :==================================================
==================================================URL Name          : RealPlayer.AutoPlay.6Status            : EnabledDescription       : RealPlayer MP3/VCD 自动播放Command-Line      : D:\\Media\\Players\\RealPlayer\\RealPlay.exe /autoplay"%1"Product Name      : RealPlayer (32-bit)Company Name      : RealNetworks, Inc.==================================================
==================================================URL Name          : RealPlayer.CDBurn.6Status            : EnabledDescription       : RealPlayer 空白 CD 自动播放Command-Line      : D:\\Media\\Players\\RealPlayer\\RealPlay.exe /burn"%1"Product Name      : RealPlayer (32-bit)Company Name      : RealNetworks, Inc.==================================================
==================================================URL Name          : rloginStatus            : EnabledDescription       : URL:RLogin ProtocolCommand-Line      : url.dll,TelnetProtocolHandler %lProduct Name      : RealPlayer (32-bit)Company Name      : RealNetworks, Inc.==================================================
==================================================URL Name          : rtspStatus            : EnabledDescription       : 实时流协议Command-Line      : D:\\Media\\Players\\RealPlayer\\RealPlay.exe "%1"Product Name      : RealPlayer (32-bit)Company Name      : RealNetworks, Inc.==================================================
==================================================URL Name          : search-msStatus            : EnabledDescription       : Windows Search ProtocolCommand-Line      : %SystemRoot%\\Explorer.exe /separate,/idlist,%I,%LProduct Name      : Microsoft? Windows? Operating SystemCompany Name      : Microsoft Corporation==================================================
==================================================URL Name          : skypeStatus            : EnabledDescription       : URL:Skype ProtocolCommand-Line      : "D:\\Chat\\Skype\\Skype.exe" "/uri:%l"Product Name      : SkypeCompany Name      : Skype Technologies S.A.==================================================
==================================================URL Name          : snewsStatus            : EnabledDescription       : URL:Snews ProtocolCommand-Line      : "%ProgramFiles%\\Windows Mail\\WinMail.exe" /newsurl:"%1"Product Name      : Microsoft(R) Windows(R) Operating SystemCompany Name      : Microsoft Corporation==================================================
==================================================URL Name          : synacastStatus            : EnabledDescription       : URL:synacast ProtocolCommand-Line      : "D:\\Networks\\SynaLive\\PE.exe" -peer -url "%1"Product Name      :Company Name      :==================================================
==================================================URL Name          : telnetStatus            : EnabledDescription       : URL:Telnet ProtocolCommand-Line      : url.dll,TelnetProtocolHandler %lProduct Name      :Company Name      :==================================================
==================================================URL Name          : TencentStatus            : EnabledDescription       : Tim ProtocolCommand-Line      : "D:\\Chat\\Tencent\\TM2008\\Bin\\Timwp.exe" "%1"Product Name      : QQCompany Name      : TENCENT==================================================
==================================================URL Name          : Thunderbird.Url.mailtoStatus            : EnabledDescription       : Thunderbird URLCommand-Line      : "D:\\Networks\\ThunderbirdPortable\\App\\thunderbird\\thunderbird.exe" -osint -compose "%1"Product Name      : ThunderbirdCompany Name      : Mozilla Corporation==================================================
==================================================URL Name          : Thunderbird.Url.newsStatus            : EnabledDescription       : Thunderbird (News) URLCommand-Line      : "D:\\Networks\\ThunderbirdPortable\\App\\thunderbird\\thunderbird.exe" -osint -mail "%1"Product Name      : ThunderbirdCompany Name      : Mozilla Corporation==================================================
==================================================URL Name          : tn3270Status            : EnabledDescription       : URL:TN3270 ProtocolCommand-Line      : url.dll,TelnetProtocolHandler %lProduct Name      : ThunderbirdCompany Name      : Mozilla Corporation==================================================
==================================================URL Name          : TSBuddyStatus            : EnabledDescription       : URL:TN3270 ProtocolCommand-Line      : D:\\Chat\\Tencent\\QQ2006\\SBuddyCall.exe %1Product Name      : ThunderbirdCompany Name      : Mozilla Corporation==================================================
==================================================URL Name          : webcalStatus            : EnabledDescription       : URL:Webcal ProtocolCommand-Line      : "%ProgramFiles%\\Windows Calendar\\wincal.exe" /webcal "%1"Product Name      : Microsoft? Windows? Operating SystemCompany Name      : Microsoft Corporation==================================================
==================================================URL Name          : WindowsCalendar.UrlWebcal.1Status            : EnabledDescription       : URL:Webcal ProtocolCommand-Line      : "%ProgramFiles%\\Windows Calendar\\wincal.exe" /webcal "%1"Product Name      : Microsoft? Windows? Operating SystemCompany Name      : Microsoft Corporation==================================================
==================================================URL Name          : WindowsMail.Url.MailtoStatus            : EnabledDescription       : URL:Mail ProtocolCommand-Line      : "%ProgramFiles%\\Windows Mail\\WinMail.exe" /mailurl:"%1"Product Name      : Microsoft(R) Windows(R) Operating SystemCompany Name      : Microsoft Corporation==================================================
==================================================URL Name          : WindowsMail.Url.newsStatus            : EnabledDescription       : URL:News ProtocolCommand-Line      : "%ProgramFiles%\\Windows Mail\\WinMail.exe" /newsurl:"%1"Product Name      : Microsoft(R) Windows(R) Operating SystemCompany Name      : Microsoft Corporation==================================================
==================================================URL Name          : WindowsMail.Url.nntpStatus            : EnabledDescription       : URL:NNTP ProtocolCommand-Line      : "%ProgramFiles%\\Windows Mail\\WinMail.exe" /newsurl:"%1"Product Name      : Microsoft(R) Windows(R) Operating SystemCompany Name      : Microsoft Corporation==================================================
==================================================URL Name          : WindowsMail.Url.snewsStatus            : EnabledDescription       : URL:Snews ProtocolCommand-Line      : "%ProgramFiles%\\Windows Mail\\WinMail.exe" /newsurl:"%1"Product Name      : Microsoft(R) Windows(R) Operating SystemCompany Name      : Microsoft Corporation==================================================
==================================================URL Name          : WLMail.Url.MailtoStatus            : EnabledDescription       : URL:Mail ProtocolCommand-Line      : C:\\Program Files\\Windows Live Mail desktop\\wlmail.exe /mailurl:"%1"Product Name      : Microsoft(R) Windows(R) Operating SystemCompany Name      : Microsoft Corporation==================================================
==================================================URL Name          : WLMail.Url.newsStatus            : EnabledDescription       : URL:News ProtocolCommand-Line      : C:\\Program Files\\Windows Live Mail desktop\\wlmail.exe /newsurl:"%1"Product Name      : Microsoft(R) Windows(R) Operating SystemCompany Name      : Microsoft Corporation==================================================
==================================================URL Name          : WLMail.Url.nntpStatus            : EnabledDescription       : URL:NNTP ProtocolCommand-Line      : C:\\Program Files\\Windows Live Mail desktop\\wlmail.exe /newsurl:"%1"Product Name      : Microsoft(R) Windows(R) Operating SystemCompany Name      : Microsoft Corporation==================================================
==================================================URL Name          : WLMail.Url.snewsStatus            : EnabledDescription       : URL:Snews ProtocolCommand-Line      : C:\\Program Files\\Windows Live Mail desktop\\wlmail.exe /newsurl:"%1"Product Name      : Microsoft(R) Windows(R) Operating SystemCompany Name      : Microsoft Corporation==================================================
==================================================URL Name          : WMP11.AssocProtocol.MMSStatus            : EnabledDescription       : URL:mms ProtocolCommand-Line      : "%ProgramFiles%\\Windows Media Player\\wmplayer.exe""%L"Product Name      : Microsoft? Windows? Operating SystemCompany Name      : Microsoft Corporation==================================================
==================================================URL Name          : WPCStatus            : EnabledDescription       : URL:Windows Parental Controls URL ExemptionRequest ProtocolCommand-Line      : %systemroot%\\system32\\wpcer.exe %1Product Name      : WindowsCompany Name      : Microsoft Corporation==================================================
Nov 05

我打游戏有个习惯,通关之后一定要研究下游戏的MOD。这次发掘Portal用的工具是GCFScape

打开 portal content.gcf,找到 portal/resource/portal_schinese.txt,右键,用shell execute打开,在txt中你会发现Portal都被翻译成了“传送门”。我想国内不标准翻译的“洞穴”应该被抛弃了吧?

另外发现了一个秘密武器:

“HL2_GravityGun” “零位能量场牵引器
(重力枪)”

难道说Portal要设计成和《prey》一样?

看来官方还翻译了《Still Alive》,很好很强大

胜利已然在望。
This was a triumph.

我胸潮激荡:
I’m making a note here:

心花怒放。
HUGE SUCCESS.

我此刻的喜悦之情
It’s hard to overstate

莫可名状。
my satisfaction.

穿梭之力量。
Aperture Science

我们竭尽全力
We do what we must

只因
because

心的方向。
we can.

为了所有
For the good

活着的人,
of all of us.

逝者已往。
Except the ones who are dead.

不必为过去每一次
But there’s no sense crying

失败而沮丧。
over every mistake.

只要你勇于尝试,
You just keep on trying

永不
till you run out of

退让。
cake.

力量自然从天而降。
And the Science gets done.

你将拥有时空操纵之枪。
And you make a neat gun.

为了所有活着的
For the people who are

人啊。
still alive.

让憎恨随风。
I’m not even angry.


I’m being

心境
so

明澄
sincere


right now.

即使
Even

揉碎
though you

我的
broke

心,让
my heart.


And


killed

得生。
me.

将我碾为灰尘。
And tore me to pieces.

抑或将我
And threw every piece

推入
into

火炕。
a fire.

我燃烧之时,
As they burned

略为伤神,
it hurt because

因为我曾是为你喝彩的人。
I was so happy for you!

因我的星光火点,
Now these points of data

为你打开智慧之门。
make a beautiful line.

我凤凰涅盘、
And we’re out of beta.

浴火重生。
We’re releasing on time.

所以我不惧烈火焚身。
So I’m GLaD. I got burned.

我们学会倔强和坚忍。
Think of all the things we learned

为了所有
for the people who are

活着的
still

人啊。
alive.

走你的路
Go ahead and leave

莫回头。
me.

我愿意
I think

一直
I prefer


to stay

你的
in

身后。
side.

可能
May

有一天你会
be you’ll find someone else

找到帮助你的新朋友。
to help you.

是黑山
Maybe


Black

战友?
Mesa

别做梦啦,
THAT WAS A JOKE.

哈哈,
FAT

机会没有。
CHANCE.

虽然你还有
Anyway

很长的路要走。
, this cake is great.

但它汗水相融,幸福相守。
It’s so delicious and moist.

就像我一边聊天,
Look at me still talking

一边还可以做研究。
when there’s Science to do.

眺望前路,
When I look out there,

我窃喜于不必面对你那些艰难险阻。
it makes me GLaD I’m not you.

我还有实验要做。
I’ve experiments to run.

我还有报告要补。
There is research to be done.

为所有
On the people who are

活着
still

的人。
alive.

相信我,
And believe me I am

我还活着。
still alive.

我正在做研究,
I’m doing Science and I’m

所以我还活着。
still alive.

我异想天开,
I feel FANTASTIC and I’m

所以我要活着。
still alive.

你垂死之刻,
While you’re dying I’ll be

我仍会活着。
still alive.

你作古之时,
And when you’re dead I will be

我还会活着。
still alive.

还活着。
STILL ALIVE”

看来官方简体中文版的歌词还是很有意思哈~

恩,我又把credits的时间轴提取出来鸟,做成了lyc歌词

最后献上华丽无比的Aperture Science Inc. ASCII Logo!!

APERTURE
              .,-:;//;:=,          . :H@@@MM@M#H/.,+%;,       ,/X+ +M@@M@MM%=,-%HMMM@X/,     -+@MM; $M@@MH+-,;XMMMM@MMMM@+-    ;@M@@M- XM@X;. -+XXXXXHHH@M@M#@/.  ,%MM@@MH ,@%=            .---=-=:=,.  =@#@@@MX .,              -%HX$$%%%+; =-./@M@M$                  .;@MMMM@MM: X@/ -$MM/                    .+MM@@@M$,@M@H: :@:                    . =X#@@@@-,@@@MMX, .                    /H- ;@M@M=.H@@@@M@+,                    %MM+..%#$. /MMMM@MMH/.                  XM@MH; =;  /%+%$XHH@$=              , .H@@@@MX,   .=--------.           -%H.,@@@@@MX,   .%MM@@@HHHXX$$$%+- .:$MMX =M@@MM%.     =XMMM@MM@MM#H;,-+HMM@M+ /MMMX=       =%@M@M#@$-.=$@MM@@@M; %M%=         ,:+$+-,/H#MMMMMMM@= =,               =++%%%%+/:-.
CAKE            ,:/+/-            /M/              .,-=;//;-       .:/= ;MH/,    ,=/+%$XH@MM#@:      -$##@+$###@H@MMM#######H:.    -/H# .,H@H@ X######@ -H#####@+-     -+H###@X  .,@##H;      +XM##M/,     =%@###@X;-X%-  :M##########$.    .:%M###@%:M##H,   +H@@@$/-.  ,;$M###@%,          -M####M=,,---,.-%%H####M$:          ,+@##@##################@/.         :%H##@$-M###############H,         ;HM##M$=#################.    .=$M##M$=################H..;XM##M$=          .:+M###################@%=           =+@MH%@################M/.          =+H#X%==+M##############M,       -/X#X+;.  .;XM##########H=    ,/X#H+:,     .=+HM######M+/+HM@+=.         ,:/%XM####H/.
EXPLOSION              ,.:=-.            .+             /M;              H#@:              ;,              -###H-          -@/               %####$.  -;  .%#X                M#####+;#H :M#M...          .+/;%#########X###- -/%H%+;-,    +##############/    .:$M###MH$%+############X  ,--=;-        -/H#####################H+=.           .+#################X.         =%M####################H;.            /@###############+;;/%%;,         -%###################$.       ;H######################M=    ,%#####MH$%;+#####M###-/@####%  :$H%+;=-      -####X.,H#   -+M##@- .              ,###;    ;      =$##+                .#H,               :XH,                 +                   .;-
RADIO                   ;=                   /=                   ;=                   /=                   ;=                   /=                   ;=                   /=            ,--==-:$;        ,/$@#######@X+-     ./@###############X=    /M#####X+/;;;;+H#####$.   %####M/;+H@XX@@%;;@####@,  +####H=+##$,--,=M#X-%####@. -####X,X@HHXH##MXHXXH-+####$ X###@.X/$M$:####$=@X/X,X####-.####:+$:##@:####$:##H/X=####%-%%$%,+==%$+-$+:$;-$$%-+,/$%%+-/+%%X$XX$$$$$$$%$$$%$X$X$%+/-
ATOM                 =/;;/-                +:    //               /;      /;              -X        H..//;;;:;;-,   X=        :+   .-;:=;:;%;.M-       ,=;;;#:,      ,:#;;:=,       ,@:%           :%.=/++++/=.$=           %= ,%;         %/:+/;,,/++:+/         ;+.   ,+/.    ,;@+,        ,%H;,    ,/+,      ;+;;/= @.  .H##X   -X :///+;      ;+=;;;.@,  .XM@$.  =X.//;=%/.   ,;:      :@%=        =$H:     .+%- ,%=         %;-///==///-//         =%,;+           :%-;;;:;;;;-X-           +:@-      .-;;;;M-        =M/;;;-.      -X :;;::;;-.    %-        :+    ,-;;-;:==              ,X        H.               ;/      %=                //    +;
BIOHAZARD                 ,////,             =+$HM####@H%;,          /H###############M$,          ,@################+           .H##############+             X############/              $##########/               %########/                /X/;;+X/
                 -XHHX-                ,######,#############X  .M####M.  X###########################-   -//-   -##############X##############%,      ,+##############X-##############X        X##############- %############%          %############%  %##########;            ;##########%   ;#######M=              =M#######;    .+M###@,                ,@###M+.       :XH.                  .HX:
BLACKMESA           .-;+$XHHHHHHX$+;-.        ,;X@@X%/;=----=:/%X@@X/,      =$@@%=.              .=+H@X:    -XMX:                      =XMX=   /@@:                          =H@+  %@X,                            .$@$ +@X.                               $@%-@@,                                .@@=%@%                                  +@$H@:                                  :@HH@:         :HHHHHHHHHHHHHHHHHHX,    =@H%@%         ;@M@@@@@@@@@@@@@@@@@H-   +@$=@@,        :@@@@@@@@@@@@@@@@@@@@@= .@@: +@X        :@@@@@@@@@@@@@@@M@@@@@@:%@%  $@$,      ;@@@@@@@@@@@@@@@@@M@@@@@@$.   +@@HHHHHHH@@@@@@@@@@@@@@@@@@@@@@@+    =X@@@@@@@@@@@@@@@@@@@@@@@@@@@@X=      :$@@@@@@@@@@@@@@@@@@@M@@@@$:        ,;$@@@@@@@@@@@@@@@@@@X/-           .-;+$XXHHHHHX$+;-.
BROKEN_HEART                          .,---.                        ,/XM#MMMX;,                      -%##########M%,                     -@######%  $###@=      .,--,         -H#######$   $###M:   ,;$M###MMX;     .;##########$;HM###X= ,/@##########H=      ;################+-+#############M/,      %##############+%M###############=      /##############:H################      .M#############;.@###############M      ,@###########M:.X################,      -$=X#######@:/@##################%-     +######$-.;##################X     .X#####+, .;H################/     -X####+.   ,;X##############,       .MM/      ,:+$H@M#######M#$-    .$$=           .,-=;+$@###X:    ;/=.                  .,/X$;   .::,                      .,    ..
CHECK                                     :X-                                  :X###                                ;@####@                              ;M######X                            -@########$                          .$##########@                         =M############-                        +##############$                      .H############$=.         ,/:         ,M##########M;.      -+@###;       =##########M;   =%M#######;     :#########M/-$M###########;   :#########/ ,;X###########; =########$.     ;H#########+#######M=       ,+##############+          /M#########@-            ;M######%              +####:               ,$M-
COMPANION_CUBE+@##########M/             :@#########@/##############$;H#######@;+############################M######################################X,-/++/+%+/,%#########################M$:           -X######################H;.      ,--.     =X##########:X######M;     -$H@M##MH%:    :H#######@  =%#M+=,   ,+@#######M###H:    -=/M#%  %M##@+   .X##$, ./+- ./###;    +M##%  %####M.  /###=         @##M.   X###%  %####M.  ;M##H:.     =$###X.   $###%  %####@.   /####M$-./@#####:    %###%  %H#M/,     /H###########@:     ./M#% ;$H##@@H:    .;$HM#MMMH$;,   ./H@M##M$=X#########%.      ..,,.     .;@####################H+:.           ./@#########################/ ./%%%%+/.-M###########################H$@#######@@############################X%########M$M#############+M##########H:            .$##########X=
FIRE                     -$-                    .H##H,                   +######+                .+#########H.              -$############@.            =H###############@  -X:          .$##################:  @#@-     ,;  .M###################;  H###;   ;@#:  @###################@  ,#####: -M###.  M#################@.  ;######H M####-  +###############$   =@#######X H####$   -M###########+   :#########M,  /####X-   =########%   :M########@/.    ,;%H@X;   .$###X   :##MM@%+;:-                 ..  -/;:-,.              ,,-==+M########H -##################@HX%%+%%$%%%+:,,    .-/H%%%+%%$H@###############M@+=:/+:/XHX%:#####MH%=    ,---:;;;;/%%XHM,:###$$@#MX %+;-                           .
GlaDOS       #+ @      # #              M#@ .    .X  X.%##@;# #   +@#######X. @#%   ,==.   ,######M+  -#####%M####M-    #  :H##M%:=##+ .M##M,;#####/+#######% ,M# .M########=  =@#@.=#####M=M#######=  X# :@@MMM##M.  -##M.,#######M#######. =  M             @##..###:.    .H####. @@ X,   ############: ###,/####;  /##= @#. M           ,M## ;##,@#M;/M#M  @# X#% X#.%=   ######M## ##.M#:   ./#M ,M #M ,#$##/         $## #+;#: #### ;#/ M M- @# :#+ #M@MM###M-;M #:$#-##$H# .#X @ + $#. #      ######/.: #%=# M#:MM./#.-#  @#: H#+,.=   @###: /@ %#,@  ##@X #,-#@.##% .@######+;/##/ @##  @#,+       /#M    . X,   ;###M#@ M###H .#M-     ,##M  ;@@; ###   .M#M##H ;####X ,@#######M/ -M###$  -H    .M###%  X####H  .@@MM@;  ;@#M@      H#M    /@####/      ,++.  / ==-,               ,=/:, .+X@MMH@#H  #####$=
LIGHTBULB         ,=;%$%%$X%%%%;/%%%%;=,     ,/$$+:-                -:+$$/,   :X$=                          =$X: ;M%.                              .%M;+#/                                  /#+##                                    M#H#,                     =;+/;,       ,#X.HM-       :@X+%H:   .%M%- .M#.     -M@.  /#%.     @#-  ,H@--MH, .;@$-    .%#+   .$M;    .+@X;, MM#@:/$X;.     ;M$,     =@H,     ,:+%H#M%;-       ,H@=      .$#;        -#H         =#$        %#;        #M        ;#%         H#-       ##       -#H         ;#+       ##       +#;          ;H+;;;;;;HH;;;;;;+H/           =H#@HHHHHHHHHH@#H=           =@#H%%%%%%%$HH@#@=           =@#X%%%%%%%$M###@=               =+%XHHX%+=
MECH_ARM      X MM X      X MM X      X MM X      X MM X      + HX +    ,=$$XX%/-  =X#########@%- ;##############=-###############M,;##@@@######M@###=.+:;+:=H##$=:/:;H.- +###- ## :###,,;+@:/%;-H##H==/::H; /#@/-=+$$%::+H#$ $#%-,      ,.:##--@/            =X%.%H=             -$; =HH,         .%M;  /MM/       :@M/.   .:XX,   -$H:.
PERSONALITY_SPHERE      .-+$H###MM@MMMMM##@$+-,. ....-@$+%$+%HX+--..  .  . .,:X$/+/++$#:-#MXH$=                      $HXH#: .--,:#+   ,+$HMX =@@X%, . .X#:,,,     =#@$H :####H =####;,M%$#X     X###$ $####X =####H %###X    ;###X /###@$: ,+HM##H.+###;   :###;,X##%=;%H@H$;-;M#@-;###/  ,M##;.@##;-H#######M=.M##-:###-  ;##M ;##X @###H-=@###.;##X H##;  ;##M./##X.@###H:/M###-=##X X##;  -###;,M##:,@########+-H##; @##-   %##M==@##%==%HMH%::/M##+.X##+    %###/./###X+: -+$M##M=,X##+     X###X X####H +#####% @##H     :###H %####H +#####; X##;     /#$.  -HM##H /###@+.  +#$. ./HX%$X:      .,-, .-,.      =XX$H@-/#H+/+%+/+;=.          .=/%;;/;;+#+ ..  .,-:XM#MM@@@@@@H@@M#@+=,.   ,,"

路径是protal content.gcf\portal\scripts\credits.txt。记住提取ASCII Art的正则是^.*?\[\d+\.000\]

Nov 03

<!–
- Unfortunately, Microsoft has added a clever new
- “feature” to Internet Explorer. If the text of
- an error’s message is “too small”, specifically
- less than 512 bytes, Internet Explorer returns
- its own error message. You can turn that off,
- but it’s pretty tricky to find switch called
- “smart error messages”. That means, of course,
- that short error messages are censored by default.
- IIS always returns error messages that are long
- enough to make Internet Explorer happy. The
- workaround is pretty simple: pad the error
- message with a big comment like this to push it
- over the five hundred and twelve bytes minimum.
- Of course, that’s exactly what you’re reading
- right now.
–>
很多网站的404、5xx页面都嵌入了这一段话,呵呵。
1.jpg

Nov 03

Lifehacker上写了一片文章 Geek To Live- Turn Thunderbird into the Ultimate Gmail IMAP Client,里面提到了:为什么我用Thunderbird设置成GMail的IMAP客户端之后会多出一个 [Imap/Trash] 的标签?
imap trash
这些是Thunderbird默认生成的标签。根据这篇帖子后面牛人Vanl的评论,我们可以把Thunderbird的Trash整合到Gmail的Trash文件夹里。方法是:

配置好Server settings:
thunderbird server settings

  1. 在Thunderbird 工具 / 选项 / 高级 / 常规 / 配置编辑器 (Tools menu, choose Options.
    Go to the “Advanced” Option menu and the “General” tab. Hit the “Config Editor”) 里打开Mozilla程序通用的“about:config”
  2. 输入 mail.server.server ,在得到的结果中根据 mail.server.serverX.name找到你的Gmail帐号,其中X表示你的Gmail帐号是Thunderbird里帐号编号。记住X的值
  3. 右击,新建 / 字符串 (New->String),输入 mail.server.serverX.trash_folder_name,其中X是刚才记住的那个编号。点击OK,再次输入[Gmail]/Trash。如图:
  4. 保存所有设置,重启Thunderbird,现在你可以在Gmail 的Web界面里可以删除 [IMAP/Trash]

同时Lifehacker里还详细的给出了关于IMAP、Gmail、Thunderbird的知识、技巧、原理、调整等等,更多的请参看原文:http://lifehacker.com/software/geek-to-live/turn-thunderbird-into-the-ultimate-gmail-imap-client-314574.php

Nov 02

digg上无意中看到很有创意的一个prefix
(•๋●) PICS: Thinking with Portals
是不是很好看呢?

再例如
♫♫♪♯☻
i ♥ cake
♜♔♛ Checkmate.
ñø î ∂ø ñø†
©žÃ¢
☺☻♥♦♣♠•◘○
(¬_¬)

注意这些不是用Webdings字体做出来的,当然Unicode Art和传统的ASCII Art有重复的地方,也有新的东西。有些0day的NFO用Unicode编码的话,可以正常在中文系统下查看Damn NFO ViewerNFOView之类的专用工具了。

在网上有人做了一个网站专门搜集这样的东东,地址是҈ Unicode art - an extended ASCII art form ҈

Nov 02

XSS很流行。

例如:Javascript的“闭合优先”可能导致一个XSS:
<script
type="text/javascript">parseInt('</script><script>alert(/xss22/)</script>');</script>

还有DOM Based XSS

甚至XPath Injection

对于XSS过滤我们可以采用Unicode空白字符来绕过绝大多数正则检测。

客户端的Script Injection已经开始蓬勃起来了,在Web 2.0严重依赖Javascript的今天,我们有安全吗?

Oct 20

我来火星一下,在TLF软件版看到一片帖子,说Firefox其实并不是狐狸而是“小熊猫”!,摘录如下:

http://en.wikipedia.org/wiki/Red_Panda

red_panda

firefox学名red panda,字面翻译是红熊猫,中文学名叫“小熊猫”。
按照wikipedia上面的解释,如果正确的话其实是现有中文“火狐”这个名字,之后才被英文直接翻译成firefox的。中文还有叫法为“红狐”或是“猫熊”。

现在话说回到firefox网页浏览器上。网上不少人说它那个logo上其实明显是个狐狸,而不是“小熊猫”,也算是起名时候没好好研究动植物学吧,呵呵呵。搞笑一下, firefox浏览器还是很好滴。

firefox logo

ps准备搭建一个wikipedia proxy,平时上wikipedia太麻烦了

Oct 15

研究CGI的时候无意发现了。

Internet Explorer

地址栏回车,HTTP头中 Accept 为:HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/msword, application/vnd.ms-powerpoint, application/x-shockwave-flash, application/vnd.ms-excel, application/x-silverlight, */*
按F5刷新,HTTP头中Accept 为: */*

Firefox

F5刷新:HTTP请求中有一个 Cache-Control: max-age=0
地址栏回车:没有这个Cache-Control 头

诡异~

写了一个脚本来证明我的这个观点 http://labs.dormforce.net/tests/enter-or-f5