1. 1.
    0
    // code to dump the decrypted memory:
    static const char dump_mem[] = {
    0xba, 0x31, 0x00, 0x00, 0x00, // mov edx, 0x40
    0x8d, 0x4f, 0xce, // lea ecx, [edi-0x32]
    0x31, 0xdb, // xor ebx, ebx
    0x43, // inc ebx (stdout)
    0x31, 0xc0, // xor eax, eax
    0xb0, 0x04, // add al, 0x4 - sys_write
    0xcd, 0x80, // int 0x80
    0x31, 0xdb, // xor ebx,ebx
    0x43, // inc ebx
    0x31, 0xd2, // xor edx,edx
    0x42, // inc edx
    0x68, 0x0a, 0x00,0x00, 0x00, // push 0xa
    0x8d, 0x0c, 0x24, // lea ecx,[esp]
    0xb8, 0x04, 0x00,0x00, 0x00, // mov eax, 0x4
    0xcd, 0x80, // int 0x80 - sys_write
    0x31, 0xdb, // xor ebx,ebx
    0x31, 0xc0, // xor eax,eax
    0x40, // inc eax
    0xcd, 0x80, // int 0x80 - sys_exit
    };
    ···
   tümünü göster