Re: GetPC code (was: Shellcode from ASCII)

From: Gerardo Richarte (gera_at_corest.com)
Date: 06/30/03

  • Next message: xenophi1e: "Corrupting memory control structures under XP"
    Date: Mon, 30 Jun 2003 11:30:14 -0300
    To: vuln-dev@securityfocus.com
    
    

    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?


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