King's profileThe World of a Big CatPhotosBlogListsMore Tools Help

Blog


    April 16

    仙剑奇侠传诗词

    【灵儿逍遥初次离别】
    既不回头,何必不忘。
    既然无缘,何需誓言。
    今日种种,似水无痕。
    明夕何夕,君已陌路。
     
    February 10

    Nokia E63

    With the latest electronic toy of mine,a.k.a Nokia E60, I was beside myself of the new joys that came with the ability to listen to NPR podcast Wait Wait Don't Tell Me, in what used to be a tedious and otherwise zero efficiency metro trip.

    This has so far been the best experience I have had with a mobile phone. I actually typed this very entry on the QWERTY keyboard during the metro trip.

    January 13

    Ttmz内存注册机实例【转】

    ;*****************************************************************
    ;名       称:内存注册机

    ;编写环境: Winxp sp2,Masm32 v9,radasm
    ;完成日期: 2007/04/24
    ;版  本:
    ;作       者: choomsheng(E-Mail:mfk144@163.com)
    ;*****************************************************************
    .386
    .model flat,stdcall
    option casemap:none

          include windows.inc
          include masm32.inc
          include user32.inc
          include kernel32.inc

          includelib masm32.lib
          includelib user32.lib
          includelib kernel32.lib

    clac proto
          szText MACRO Name, Text:VARARG
            LOCAL lbl
              jmp lbl
                Name db Text,0
              lbl:
            ENDM

          m2m MACRO M1, M2
            push M2
            pop  M1
          ENDM

          return MACRO arg
            mov eax, arg
            ret
          ENDM

          SADD MACRO quoted_text:VARARG
            EXITM <ADDR literal(quoted_text)>
          ENDM

          literal MACRO quoted_text:VARARG
            LOCAL local_text
            .data
              local_text db quoted_text,0
            .code
            EXITM <local_text>
          ENDM
    .data
    FileName db "ttmz.exe",0 ;指定运行的程序
    d1 dw 235 ;eb
    d2 dw 254 ;fe
    Startup STARTUPINFO <>
    processinfo PROCESS_INFORMATION <>

    .data?
    hInstance HINSTANCE ?
    byteswritten dd ?
    uExitCode dd ?
    xread dd ?
    buffer db 254 dup(?)
    xcount dd ?
    testread db 1 dup(?)
    .code
    start:

      invoke GetModuleHandleA, NULL
      mov    hInstance,eax
      invoke CreateProcess, ADDR FileName, NULL, NULL, NULL, NULL, CREATE_SUSPENDED,
                NULL, NULL, ADDR Startup, ADDR processinfo
                ;创建进程
      .IF eax == NULL
      .ELSE
                invoke ResumeThread, processinfo.hThread ;运行程序
    ;--------------------------------------------------------------------------------
              @@:
              invoke ReadProcessMemory,processinfo.hProcess,0045d2dbh,addr testread,1,xread
              mov edx,offset testread
              mov eax,[edx]
              movzx esi,al
              cmp esi,45h
              jnz @B
               ;等待程序解压代码。
               ;循环读取 0045d2dbh 的内存是否为45h
               ;如果程序没加壳,可省略这段代码。
    ;--------------------------------------------------------------------------------
              invoke WriteProcessMemory, processinfo.hProcess, 0045d2dah, ADDR d1,
                             1, byteswritten     ;8d
              invoke WriteProcessMemory, processinfo.hProcess, 0045d2dbh, ADDR d2,
                             1, byteswritten ;45
      ;写入数据ebfe到指定内存地址。让程序暂停
              invoke Sleep, 2000 ;等待程序运行2秒
              invoke ReadProcessMemory,processinfo.hProcess,0012ff97h,addr buffer,16,xread
               ;读取指定内存数据。即读取注册码
              invoke TerminateProcess, processinfo.hProcess, uExitCode
    invoke StrLen,addr bufferde
    invoke write_disk_file,SADD("DTA.TXT"),addr buffer,eax ;将注册码写入文件
      .ENDIF
      Invoke ExitProcess, Eax
    End start

    以上代码设定为。运行到0045d2dah 时内存地址0012ff97h 为正确的注册码。
    修改0045d2dah的指令为 jmp 0045d2dah 即ebfe
    写的不好请大家见凉。

    January 09

    Dialogue 编导一键工具箱 Build 20090109 正式绿色版 重大更新!

    更新记录
    ------------------------------------------------------------
    2009.01.09 研发两日,去掉反馈收集模块(实在是找不到好的服务器放我写的反馈收集服务端。。。汗个),增加了一个在线自动更新模块,以后的更新都可自动完成,嘿嘿。

    1

    2

    3

    下载地址:http://mikesl.ys168.com

    January 08

    Nod32 升级ID获取器

    学习了数据库,xmlhttp读取网页和正则表达式之后的2小时作品,其未来应用应该是不可限量滴。。。。尤其是用在利用免费blog发布公共数据的场合,当然也可支持安全登录。。。下一版的计划是加入对代理服务器的支持,不过那样很可能就用不上xmlhttp这种高效的读取方式了,考虑用单独线程+http读文件实现以免卡死。。。

    1

    仅供学习,如果喜爱Nod32杀毒软件请购买正版!

    工具下载地址

    http://mikesl.ys168.com 下面的随手写的软件一栏

    November 28

    Why 24 hours a day?

    9:30, I sipped a bit of cappuccino and waited for the caffeine to kick in.

    This is usually how I started my daily work. A bit sorry cause without coffee I can also stay focused, the fluid is nothing but a rountine. Anyway, there's always so much to do and so little time. I really wish be granted more than just a mere 24 hours a day.

    Enough babbling, gotta get back to work. Tonight's topic is Bretton Woods System... what a bore!

    November 17

    Raysource Robot 1.0 beta version released!

    This time I wrote a tool to download rayfile resources on office computer while having a meeting with a laptop...

    The program comes in a bundle. Client side and server side.

    RaySourceRobot2   RaySourceRobot3 
    Client                             Server

    RaySourceRobot1 
    Client Interface

    Raysource 机器人 1.0 公测版发布

    这个软件可以让你在开会的时候或者在家时向在单位的电脑发送下载链接下载Rayfile.com的资源。这些资源可以在www.fs2you.com上找到。如果你家里的带宽很低,但是单位电脑下载很快,不妨试试这个工具。如果你的办公室多人共享一台电脑,你不得不带着小laptop组蓝牙局域网,那么你也可以试用这个软件。这样当别人占着电脑时,你也可以用自己的laptop发送下载链接到被占的电脑上在后台开始下载 :)

    使用说明:(In English, learn it if you don't read it)
    -----------------

    This tool helps you download rayfile.com resources remotely. It's developed using E language, therefore anti-virus software like Rising
    will alarm you while more competent programs like Nod32, Kapersky, Norton will not.

    Requirement
    --------------
    The software is intended to be used in a computer network. Lan/Internet is required.

    Two computers are needed for the program to function. One server, one client.

    How to use
    --------------
    The software is green, there's no installation of any kind. Please make sure you have latest version of raysource file installed on the server computer.

    1. install latest raysource client (www.rayfile.com) on the server computer.
    2. copy RaySourceRobotSrv.exe to the server and run it.
    3. copy RaySourceRobotClient.exe and ip.cfg to the client computer.
    4. run RaySourceRobotClient.exe from the client computer.

    5. start browsing, once you reached rayfile downloading page, copy the fs2you://... URL (right click on the first "download" and then click 'copy shortcut'. The client will retrieve the URL from clipboard.

    6. click 'download' button, a popup window will tell you if server download has successfully started.(Before that make sure you've filled in the correct server IP)

    Application Example
    --------------------
    For instance, by using this tool, I can send downloading command of a large file to my office computer which has 2m/s downloading speed. Next day I only need to bring a portable harddisk and copy it from the office computer.

    Another application is when you're in an office where 20 plus people share 4 computers. You may bring your own laptop and hook it up with one of those office computers using bluetooth. Then send downloading command from the laptop while someone else is at the office computer.

    The software is free, you may modify, distribute it as you wish.

    Leo Shen
    2008.11.14

     

    Download Here

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

    Notes:

    The software is pretty loosely written, especially the serverside. In coding, I also considered other possibilities of the program, such as making the serverside able to read from internet a list of URLs and start download automaticlly. This is helpful when most of the ports other than the 80 port are blocked.

    November 13

    崔斯特语录

    怀旧的愁绪可能是我们所告诉自己的谎言中最大的。它是拿美化了的过去当标准,来情绪性地看现在。对有些人而言,它可以给我们带来某种程度的安慰,让我们重新感受自己与自己的根源。但是我担心对大部份其他的人来说,这只会让他们扭曲了记忆,并且因此对周遭的现实浑然不觉。
      我怀疑有多少人在渴望“当年更单纯,并且更美好的世界”。他们从来没有看出事实上是他们自己当年更单纯,更美好,而不是这个世界!
        这看来似乎没道理,但我依照我多年来所看到的,大部份的人都抗拒变革,因为短命的人类当中有许多都已经过了他们最强壮并且最健康的年龄,他们认为自己的黄金岁月已经逝去,要他们接受任何变革似乎都不是易事。不,他们当中有许多人都紧紧抓着过去,那时世界“既单纯又美好。”他们个人恨恶变革,就好像任何的进步发展都为他们本身的失败打上了强光灯,让人都能看见。
      也许事实就是如此。也许这是我们最根本的恐惧之一,来自于愚蠢的自傲,害怕孩子们知道的比我们更多。在这么多人试着教训孩子们品行的同时,他们内心是否有着深深的恐惧,害怕孩子们看出父母本身的错误?
        我相信怀旧的愁绪是必要的东西,让我们能够在以往的成功和失败中找到内心的平静。但如果这样的情绪让我们做出一些行动,想要恢复那个已经被记忆扭曲、刻意涂上玫瑰色彩的年代,特别是当一个人认为他的一生是失败的,那么这就什么也不是,注定只会造成更大的挫折感。

    我会对这段话产生同感,是否意味着我事业野心的逐渐觉醒?The world will never change until the old men die?

    November 11

    Stop Talking, Start Doing 停止空谈,马上行动

    IBM的新广告词真的很棒,中国人就需要这样的态度。天马行空开罗圈会是个人就会,只有高效执行才能改变环境。说一百句不如做一件事能提高个人劳动效率。

    October 22

    Email Client Change

    My dream mail client started malfunctioning, I was a bit upset about the program for it worked just fine. But after a while it started giving me Email sent report but not really sending it. Now I have to switch to another client.

    Foxmail wasn't my first choice. But after a small test on Koomail fails, it seems I had run out of options.

    Downloaded foxmail and used gmail account to send it , this time it worked! The great thing about Gmail is that you can actually see the sent email from the webmail interface, just like the ones you see in foxmail.

    ce59YKLwtyoiA

    October 15

    CPU / Memory Usage Viewer

    Spent about 20 minutes drawing the look of the software, another 5 for coding.

    Here are some snapshots.

    SysInfo

    SysInfo1

    Downloading Here

    September 21

    欢送Z小T同学赴英~

    2008年9月21日晚,东方广场,呷哺呷哺,BFSU-0524四人组欢聚一堂,欢送即将赴英深造的Z小T同学~席间四人就若干八卦问题深入、广泛地交换了意见,相谈甚欢,因忽略了谈话的热烈程度而数次遭店内服务员及食客(不限于邻桌) 怒目相视,离店时店内众人共庆^ ^

    DSC01379

    DSC01380

    DSC01381

    DSC01382

    DSC01391

    DSC01392

    DSC01393

    September 20

    挠鼠肥第一次做的麻辣香锅~

    焯过水的臭美西兰花~

    嫩嫩黄瓜肥~

     

    泡澡中的香菇~

    葱姜蒜和切片后的盒装午餐肉~

    待炸大虾~

    切片土豆和藕~

    葱姜蒜辣椒花椒下锅爆香~

    又加入了麻辣烫底料半包~

     

    在油锅中煎熬的大虾~

     

    下锅~

     

    下就下吧。。。

     

    在锅中~

    美味的香锅成品~

    可口的香锅成品~

    成品和山楂绿豆汤~

    还是成品和山楂绿豆汤,等不了了开吃啦^ ^

    September 17

    [转帖]一个中国人幸福的一天

    早晨起床,掀开黑心绵作的被子,用致癌牙膏刷完牙,喝杯过了期的碘超标还掺了三聚氰胺的牛奶,吃根柴油炸的洗衣粉油条,外加一个苏丹红咸蛋。中午在餐馆点一盘用地沟油炒的避孕药喂的黄膳,再加一碟敌敌畏喷过的白菜,盛两碗杯陈化粮煮的毒米饭;晚上蒸一盘病的瘦肉精养大的死猪肉做的腊肉,沾上点毛发勾兑的毒酱油,夹两片大粪水浸泡的臭豆腐,还有用福尔马林泡过的凉拌海蜇皮,抓两个添加了漂白粉和吊白块的大馒头,还喝上两杯富含甲醇的白酒,看看中国足球。唉……这日子过的真是那个爽!!!这就是一个中国人幸福的一天!

    评:足球之笔,堪称一绝。

    September 14

    Pressure test for the Feedback server

    The Feedback server was put to test under its maximized internet traffic conditions. I ran a downloading client, Raysource, a p2p software downloading at astounding 170kb/s (Thunder 5 best speed only 110 kb)

    Under such application, the internet connection bandwidth should have been expolited to its extreme.

    To my greatest delight, the Feedback server survived the pressure test, reponding to the feedback clinet in the blink of an eye. I could hardly tell the difference when compared with responding time in a much more preferable net environment.

    With the result, I can run the server side on my own computer, push it to the background and leave it to do its work, while doing all other tasks such as downloading, playing online games, working, etc. This way I don't feel like keeping the computer on only to run the feedback server, and it would be a major crime to waste all the power for a single application.

    September 13

    Dialogue 编导一键工具箱 Build 080913 正式版

    Download URL:

    http://mikesl.ys168.com

    更新记录
    ------------------------------------------------------------
    2008.9.13 “关于”模块改写为收集用户反馈的一个模块,为此专门编写了反馈收集服务器端。

    444444

    222222

    These two pics demostrate the changes you'll see in the upgrade this time. When you hit "send", I will see your feedback on the server side as follows:

    333333

    The feedback server can be minimized to work in the background for least annoyance, as I often use the server to performe other tasks.

    1111

    September 12

    Dialogue编导一键工具箱设置修改 1.0 Beta

    设置1 

    The config.exe took me nearly two days to develop. As most of my tool.exe users have no idea how to alter the settings defined in tool.ini, I wrote this config program to add more guys and excuses to the receipt sub-function. Now you may make your own version of the tool.ini file!

    设置

    User interface was easy to draw, but the internal algorithm was a hard nut to crack. The seemly simple Select All and Delete Selected functions actually involved two kinds of loop algorithms, very different from each other. It took me almost 2 days to think like a computer to finally realize how different it is for machines than it is for us to perform the same task. Save modification function rather easy, took me only 5 minute to write.

    As usual, the download URL is http://mikesl.ys168.com

    September 09

    Dialogue 编导一键工具箱 Build 080909 正式版

     080909

    080909-1

    下载地址:http://mikesl.ys168.com/

    备用地址:http://www.91files.com/?T4PJL3RT3MSHXESE67P1

    说明:

    本工具箱旨在把编导从重复劳动中解放出来。所有操作一键完成:)
    请在使用前确保电脑里安装了Word软件。程序为绿色软件,随便解压就可使用,不在系统留下任何垃圾。

    目前本软件有五个功能,例会选题、策划模板、名片工具、常用单据和经费报销。

    1.例会选题可以一键生成选题会使用的格式文档

    2.策划模板可以一键生成格式化的策划文本,默认储存在当前电脑的“我的文档”目录中。

    3.名片工具可以绕过任何防拷的网页元素直接拷贝出网页文本。

    4.常用单据包含日常报销用的各种交通、餐费和杂费单据。一键呼出。

    5.经费报销可以一键生成关于就餐报销的请示。

    请在使用经费报销功能前编辑tool.ini中[餐费报销]下面的嘉宾、选题信息,以“|”为分割符号。推荐嘉宾、选题数不少于20个。

    3月24日重写了经费报销功能的部分模块,实现了更强的通用性和易用性,具体表现在现在的经费报销功能比较智能,能指定每位嘉宾的用餐标准并支持弹出支持报销金额的动态提示。

    程序可最小化到托盘,方便需要时呼出。

    请尽情使用,如使用中遇到bug或者有改进意见,请把反馈发往mikesl@163.com以便继续完善软件的功能。

    2008年9月9日 沈乐

    更新记录
    ------------------------------------------------------------
    2008.9.9 Dialogue 编导一键工具箱 Build 080909 正式版,在单位午休时间抓紧增加了例会选题模块,进一步推动组内文档格式规范化。

    2008.8.26 Dialogue 编导一键工具箱 Build 080826 正式版,经费报销模块更新,针对财务政策的改变增加了本人姓名输入并改“与”为“请”。

    2008.3.21 Dialogue 编导一键工具箱 Build 080324 公测版,重写了经费报销功能的部分模块,实现了更强的通用性和易用性,具体表现在现在的经费报销功能比较智能,能指定每位嘉宾的用餐标准并支持弹出支持报销金额的动态提示。另外改进了一键生成策划模板功能,增加了动态提示,生成后自动打开“我的文档”浏览。最小化时会弹出提示。

    2008.3.21 Dialogue 编导一键工具箱 Build 080321 公测版,增加名片工具,可以绕过名片系统的防拷实现粘贴拷贝。

    2008.3.20 Dialogue 编导一键工具箱 Build 080320 公测版,修正了开很多Word程序的bug,增添常用单据功能。增加了托盘功能访问菜单。

    2008.3.19 Dialogue 编导一键工具箱 Build 080319 公测版,工具箱初创,有策划模板和经费报销功能。

    September 03

    Wisdom tooth

    I had a wisdom tooth extracted this afternoon, took me 100 kuai and an hour. Side effect, a swelling left face.

    September 01

    The Prince by Nicolo Machiavelli

    CHAPTER XVII

    Concerning Cruelty And Clemency, And Whether It Is Better To Be Loved Than Feared

    "...is much safer to be feared than loved, when, of the two, either must be dispensed with."

    "Nevertheless a prince ought to inspire fear in such a way that, if he does not win love, he avoids hatred; because he can endure very well being feared whilst he is not hated, which will always be as long as he abstains from the property of his citizens and subjects and from their women."

    These two pieces of extracts are very wise. I first read them in the PC game, Sid Meier's Alpha Centuari, which left me contemplating on the true implications within till this day.