Re: GetPC code (was: Shellcode from ASCII)

From: Gerardo Richarte (geraat_private)
Date: Mon Jun 30 2003 - 07:30:14 PDT

  • Next message: xenophi1e: "Corrupting memory control structures under XP"

    noir wrote:
    
    > i have spend good 20 minutes on this, i don't have the solution yet due to
    > lack of time but i thought this might be interesting for the list.
    >
    >         xor     %eax, %eax
    >         push    %eax
    >         fdivs   (%esp)
    >         fnstenv (%esp)
    >         mov     0xc(%esp), %eax
    >         add     $0xd, %eax
    >         nop
    
        noir: you are the man!!! When I saw your name in the inbox, I knew there
    was going to be a good answer!
    
        this code is great! no zeros and no 0xff !
    
        and works, of course :-)
    
        gera
    
    > sup mate ? ;)
    
        not much, as usual :-) you?
    



    This archive was generated by hypermail 2b30 : Mon Jun 30 2003 - 17:10:18 PDT