2013年6月27日星期四

NetCat 命令监听本地端口

今天打算用 nc ( netcat ) 命令做一个简单的本地监听,以测试防火墙是否封锁了某个端口。
网上很多文章上都是这样写:
    nc -l -p $PORT
但是在我的 CentOS 5u4 上确实不能正确执行成功,一直提示语法错误。
后来查看 nc 的 man 手册,关于 -l 选项,里面这样写着:
     -l      Used to specify that nc should listen for an incoming connection rather than initiate a connection to a remote host. It is an error to use this option in conjunction with the -p, -s, or -z options. Additionally, any timeouts specified with the -w option are ignored.

因此正确的写法应该是:
    nc -l $PORT
这样就直接监听本地的 $PORT 端口了。

费解,不知道是不是因为 CenOS 5u4 上的 nc 版本太旧的缘故。

2013年6月1日星期六

Crystal

T 恤内里的文字,在网上找了下,竟然找到了。

Crystal

They say your fate is clear and fair;then why do I see
All the splitting rays? Why do we huddle, wings to wings?
Ah, closer, your fiery part. Closer still, my precious one
Let me, long and steadily, look at you deeper within

Let me see you grow, from head to toe, from ice
To water, running to me, untill I discover
In you, the star of my afterlife, leading a sky of stary lights
Until finally, I see my own face, passing through summer

Passing through fall, traveling back and forth on different roads
Sighing high and low in different rooms. Why are you a mirror
Following me, forever a happiness - fervent, desolate
Simple, sad - changing faces to exchange with me

A day? Or a door that opens a flower, or perhaps
Last June that opened this fragrant chapter. But I -
I want to give you other decorations. Ah, look
In the fleeting summer, a rose has all her redness inside

He has decorated you, and I another. Ah, with the past fading like smoke
I want to get rid of decorative poses and prose! We
Would be simple then, peaceful, and finally
Immaculate. And I - I would forget those resentful faces”

《水晶》-by 郑单衣

“如果,你的命运皎洁而端庄,怎么会含着
类似分裂的光?我们,怎么会?翅膀依偎着翅膀
近些,火的一部分。再近些,宝贝
让我,让我长久地,向你的更深处俯视

让我看着你发育,从手到脚,起初是一片冰
随后你水袖盈盈,奔向我,我发现
你是我来世的星座,引领着漫天明灭的灯火
最后,我也看见了,我的脸,经过夏天
经过秋天,风尘仆仆,在众多的道路上往返
在不同的房间里叹息。你为何是一面镜子
跟着我,永远是,热烈而荒凉的幸福
朴素、哀婉、变换着姿容和我交换

一个白天?或者,一朵花的门,也许更像从前
六月翻开芬芳的书卷。我要给你
另外的饰物。你看
飞逝的夏天,一朵玫瑰里有她全部的火焰

他打扮过你。我又打扮过他。往事如烟
我要摒弃多余的姿态和语言!我们
也都将变得简洁、平安,最后
一尘不染。让我,让我忘怀那些怨恨的脸

使用 Charles 及旧版本 iTunes 下载旧版本 iOS APP

注意:吾爱破解论坛发布的一系列自动化下载软件,比如 iOS APP Store 旧版应用下载 5.1 什么的都不好用,目前只能手动通过 Charles 截留并修改旧版本 iTunes HTTPS 请求达到下载旧版本应用的目的。 从 iOS APP Store 下载的软件都是与用户...