ToDo:
Âè°ì¥Õ¥©¥ë¥Þ¥ó¥È¤«¤éÂèÆó¥Õ¥©¥ë¥Þ¥ó¥È¤Ë¸þ¤±¤Æ¼Í·â¤È¤« ¤À¤È¤â¤¦¤É¤¦¤·¤è¤¦¤â¤Ê¤¯Æñ¤·¤¤¤À¤í¤¦¤Ê¤¡¡£ À¼Í¥¤Î·±Îý¤Ë¤Ê¤ê¤½¤¦¤Ê
(09:24)
irb(main):001:0> disasm("\x58\x5a\x59\x31\xdb\x31\xc0\xb0\x04\x80\x31\x20\x34\x07\x89\xc5\xcd\x80\x30\xd3\x95\x85\xed\x75\xf0") /tmp/irb_disasm22831.0: ¥Õ¥¡¥¤¥ë·Á¼° binary ¥»¥¯¥·¥ç¥ó .data ¤ÎµÕ¥¢¥»¥ó¥Ö¥ë: 0000000000000000 <.data>: 0: 58 pop %eax 1: 5a pop %edx 2: 59 pop %ecx 3: 31 db xor %ebx,%ebx 5: 31 c0 xor %eax,%eax 7: b0 04 mov $0x4,%al 9: 80 31 20 xorb $0x20,(%ecx) c: 34 07 xor $0x7,%al e: 89 c5 mov %eax,%ebp 10: cd 80 int $0x80 12: 30 d3 xor %dl,%bl 14: 95 xchg %eax,%ebp 15: 85 ed test %ebp,%ebp 17: 75 f0 jne 0x9
¤Ê¤ó¤«¤¹¤´¤¤¥³¡¼¥É¤À¤Ê¡¼¥Ç¥Ð¥Ã¥¬¤Ç½ª¤ï¤ó¤È¤ï¤«¤é¤ó¡£
¤³¤ì¤À¤«¤é k* ¤Ï¡£
¤Ç¤â¤¿¤Ö¤óû¤¯¤Ê¤ê¤½¤¦¤Ê
¤È¤ê¤¢¤¨¤º¥ì¥¸¥¹¥¿¤Î½é´ü²½Éôʬ¤Ï¤¦¤Á¤Î´Ä¶¤Ë°Í¸¤¹¤ì¤Ð û¤¯¤Ê¤ê¤½¤¦¤Ê¡£ ¤Ä¡¼¤Î¤Ï EDX ºÇ½é¤«¤é 1 Æþ¤Ã¤Æ¤ä¤¬¤ë¤ß¤¿¤¤¤À¤«¤é pop EAX; pop EAX ¤È¤«¤Ç»Ï¤á¤ì¤Ð xor EAX, EAX ¤Ï ¤¤¤é¤ó¤è¤¦¤Ê¡£ ¤¢¤ÈÃÏÆ»¤Ë pop ¤¹¤ë¤è¤ê popa ¤·¤Á¤ã¤¦¤È ¥ì¥¸¥¹¥¿¤¬³ä¤ÈåºÎï¤Ë¤Ê¤ë¤È¤¤¤¦Èá»´¤Ê¥ï¥¶¤¬¤¢¤ë¤È¤«¡£
zlib ¤â¤½¤¦¤À¤±¤É¥Ð¥¤¥Ê¥êËä¤á¹þ¤ß¤Ï ¾¥é¥ó¥¥ó¥°¤âÍÑ°Õ¤·¤¿¤¤¤Ê¡¼¡£ ¤³¤ì¤Ï¤³¤ì¤Ç¤¹¤´¤¤¤Î¤Ë¡¢º®¤¸¤ë¤³¤È¤Ë¤è¤Ã¤Æ ÁÐÊý¤Îɾ²Á¤¬Å¬Àڤˤ·¤Ë¤¯¤¯¤Ê¤ëµ¤¤¬¤¹¤ë¡£ Python ¤È Ruby ¤ò¶¦Ä̤ÎÅÀ¿ôɾ²Á¤Ë¾è¤»¤ë¤è¤¦¤Ê´¶¤¸¡£
(09:50)
¤È¤¤¤¦¸Á¤¬¥¢¥á¥ê¥«¤Ë¤¢¤ë¡¢¤È¤¤¤¦Ì´¤ò¸«¤¿¡£
¥¢¥á¥ê¥«¤Î¥Ð¥¹¤Ï¥¬¥ó¥¬¥ó¤Ö¤Ä¤«¤ë¤È¤¤¤¦¤³¤È¤ò»Ø¤·¤Æ¡¢ ¥Ð¥¹µÒ¤â¤½¤ó¤Ê´¶¤¸¤Ê¤é¼Ö¤ÎÃç´ÖÆþ¤ê¤µ (¤³¤Î¤Ø¤óÌ´¤À¤±¤Ë°ÕÌ£¤¬¤ï¤«¤é¤ó) ¤È¤«¤¤¤¦Ïäòʹ¤¤Ê¤¬¤é¡¢ ÆüËܤǤϥª¥«¥Þ·¡¤ë¤Ã¤Æ¸À¤¦¤è¤Ê¡¼¤È¤« »×¤¤¤Ê¤¬¤éʹ¤¤¤Æ¤¤¤¿¤Î¤Ç¤¢¤Ã¤¿¡£
(10:12)
¥×¥ì¥Õ¥£¥¯¥¹¤«¤È»×¤¤¹þ¤ó¤Ç¤¿¤é°ã¤¦¤Î¤À¤Ã¤¿
#define GENERIC_NOP1 ".byte 0x90\n" #define GENERIC_NOP2 ".byte 0x89,0xf6\n" #define GENERIC_NOP3 ".byte 0x8d,0x76,0x00\n" #define GENERIC_NOP4 ".byte 0x8d,0x74,0x26,0x00\n" #define GENERIC_NOP5 GENERIC_NOP1 GENERIC_NOP4 #define GENERIC_NOP6 ".byte 0x8d,0xb6,0x00,0x00,0x00,0x00\n" #define GENERIC_NOP7 ".byte 0x8d,0xb4,0x26,0x00,0x00,0x00,0x00\n" #define GENERIC_NOP8 GENERIC_NOP1 GENERIC_NOP7
nop, mov, lea, lea, xxx, lea, lea 5B ¤Ï¥Û¥ó¥È¤Ë̵¤¤¤Î¤«¤Ê¡£
(13:22)
¼ÂÁõ¤è¤ê±Ñ¸ì½ñ¤¤¤Æ¤ë¤Î¤¬¤¦¤¶¤¯¤Ê¤Ã¤ÆÅÓÃæ¤Ç¤ä¤ëµ¤¼º¤»¤¿¡£
¤Ä¤Þ¤ê¥Ð¥¤¥Ê¥ê¤Î¥µ¥¤¥º¤Ï¥Ç¥Õ¥©¤Ç¸ø³«¡¢ ¤¢¤È¤Ê¤ó¤«¥·¥ó¥Ü¥ë¥´¥ë¥Õ¤È¤«¤·¤¿¾ì¹ç¤Ï¡¢ ̾Á°ÊѤ¨¤Æ¤«¤Ä statistics ¤ò¸ø³«¤¹¤ì¤Ð Alnum̵¤¤¤ó¤À¤¼¡¼¤È¤«¥¢¥Ô¡¼¥ë¤Ç¤¤ë¤è¡¢¤È¡£
(14:41)
shinh ¤Ã¤Æ SHINicHiro.h ¤Ê¤ó¤À¤è¡ª¤È¤« ¤¤¤¦¥¨¥¤¥×¥ê¥ë¥Õ¡¼¥ë¥Í¥¿¤ò¹Í¤¨¤¿¤±¤É Á´Á³¥Í¥¿¤Ë¤Ê¤Ã¤Æ¤Ê¤¤¤· ±³¤«¤É¤¦¤«¤âÄ꤫¤Ç¤Ï¤Ê¤¤
(14:47)
< HTTP/1.1 417 Expectation Failed < Connection: close < Content-Length: 0 < Date: Wed, 14 Feb 2007 13:17:56 GMT < Server: lighttpd/1.4.13
¤Ê¤ó¤À¤³¤ì¤Ï¡ª
(22:18)
¤ï¤é¤¿
http://www.kmonos.net/wlog/70.html#_1759070214
¤½¤ì¤Ï¤È¤â¤«¤¯¡¢¤³¤ì¸«¤Æ»×¤¤½Ð¤·¤¿¤Î¤Ç³Æ¸À¸ì¤ä Sample input ¤Ø¤Î¥ê¥ó¥¯¤òÄɲ䷤Ƥª¤¤Þ¤·¤¿¡£
¤¢¤È all expression ¥¿¥¤¥à¥¢¥¦¥È¤ÇÄ̤é¤Ê¤¤¤Ê¡¼¤È¤¤¤¦ Èᤷ¤µ¤¬»ä¤Î¶á¶·
(22:48)
Á° | 2007ǯ 2·î |
¼¡ | ||||
Æü | ·î | ²Ð | ¿å | ÌÚ | ¶â | ÅÚ |
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 |
Á´¤Æ¥ê¥ó¥¯¥Õ¥ê¡¼¤Ç¤¹¡£ ¥³¡¼¥ÉÊҤϼ«Í³¤Ë»ÈÍѤ·¤Æ¤¤¤¿¤À¤¤¤Æ¹½¤¤¤Þ¤»¤ó¡£ ¤½¤Î¾¤Î¤â¤Î¤ÏGPL°·¤¤¤Ç¤¢¤ì¤Ð¤¢¤é¤æ¤ë»ÈÍѤ˴ؤ·¤Æʸ¶ç¤Ï¸À¤¤¤Þ¤»¤ó¡£ ¤Ê¤Ë¤«¤¢¤ì¤Ð²¼µ¥á¡¼¥ë¥¢¥É¥ì¥¹¤Ø¡£