2007年1月6日 星期六
2
comments
06
1月
tjweiprogramming
很久沒碰 linux 了,剛才玩了一下,看到了一個網頁http://blog.linux.org.tw/~jserv/archives/001762.html順便練了一下,由於我幾乎完全不懂組合語言和 elf 結構,所以只是單純的修改了一下簡單的程式邏輯,改過之後長度從 115 降到 110 xor ebx, ebx ; zero ebx lea eax, [byte ebx + 4] ; 4: write syscall lea edx, [byte ebx + 13] ; 13: size of msgtext inc ebx ; 1: (stdout)...
訂閱:
文章 (Atom)