buffer overflow

This is a discussion on buffer overflow within the C Programming forums, part of the General Programming Boards category; Hello, Can someone show me a quick example of code that performs a small buffer overflow that another driver application ...

  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    12

    buffer overflow

    Hello,
    Can someone show me a quick example of code that performs a small buffer overflow that another driver application would be able to take advantage of the overflow and access a part of the code that isn't normally accessible? I'm just looking for a small explained example if possible. Thanks very much

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    No. Go away. Learn to "hack" somewhere else.


    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    Registered User
    Join Date
    Nov 2005
    Posts
    12
    I'm not even hacking. I'm taking a security course, and I'm trying to learn about buffer overflows. I know I could find material on the web, but I was hoping that someone might be able to take an example, such as trying to copy a string that's longer than a pre-defined character array and then try to execute that program from a driver app to make it call a function that isn't part of the original intent of the application. In no way, did I say "make me this program so I can hack." Assumptions people always make.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 16
    Last Post: 10-29-2006, 05:04 AM
  2. Buffer overflow errors
    By EvBladeRunnervE in forum C Programming
    Replies: 2
    Last Post: 03-17-2004, 04:58 PM
  3. Buffer overflow issue.
    By caroundw5h in forum C Programming
    Replies: 3
    Last Post: 12-27-2003, 12:13 PM
  4. buffer overflow problem
    By Renski in forum C++ Programming
    Replies: 2
    Last Post: 05-22-2003, 09:15 AM
  5. Console Screen Buffer
    By GaPe in forum Windows Programming
    Replies: 0
    Last Post: 02-06-2003, 05:15 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21