Re: Buffer Overflow Example

From: camillo bongiovanni (camilloat_private)
Date: Wed Apr 18 2001 - 22:38:17 PDT

  • Next message: Kayne Ian (Softlab): "Re: msn messenger"

    Dorian_Andreatteat_private scrive:
    
    > I have been searching for a very simple bufferflow example, and I  couldn't
    > get a working example.
    >
    >  I would like 2 things.
    >
    > 1: A simple C program that I can install as root (i'll give the setuid as
    > ROOT) that causes a seg fault if overflowed.
    > 2: An exploit program that I will install as a user that will overflow the
    > other program and spawn a shell
    > with the priviliges as other program.
    >
    > If someone could send me or tell me where to get a WORKING example of this
    > with source included, that would be great.
    
    
    Ok. Go to
    
    http://www.phrack.com/search.phtml?view&article=p49-14
    
    
    ( namely "Smashing The Stack For Fun And Profit")
    
    
    and read the article. You probably will find everything you need.
    
    Regards
    
    > I
    >
    > Thanks,
    >
    > Darius
    
    
    Saluti
    
    Camillo Bongiovanni
    
    camillo (at) bongiovanni (dot) com (dot) ar
    
    -------------------------
    
    "God is real, unless declared integer"
    
    ---------------------------
    
    ...I DEFINITELY use Sqwebmail.
    



    This archive was generated by hypermail 2b30 : Wed Apr 18 2001 - 23:28:07 PDT