Penetration Testing mailing list archives

[PEN-TEST] shellcode basics


From: Guy Cohen <guy () CRYPTO ORG IL>
Date: Wed, 13 Dec 2000 15:38:48 +0200

Hi

If I have a jmp at 0x807822c a call at 0x8078266 and popl at 0x807822e,
how do i calculate the offsets from jmp to call and from call to popl ?

i know i can do it with
name:
        jmp name1
name2:
        popl
name1:
        call name2

but i don't like it this way.


Thanks,

Guy


Current thread: