Buffer Overflow Example

From: Dorian_Andreatteat_private
Date: Wed Apr 18 2001 - 09:46:06 PDT

  • Next message: Adrian Voinea: "Re: Buffer Overflow Example"

    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. I
    
    Thanks,
    
    Darius
    



    This archive was generated by hypermail 2b30 : Wed Apr 18 2001 - 21:34:22 PDT