Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Abo3 (can someone help me?)

From: Murat Balaban <murat(at)enderunix.org>
Date: Mon May 26 2003 - 01:24:36 EDT

Hi,

First of all you should read this: http://www.enderunix.org/docs/eng/bof-eng.txt

On Sat, May 24, 2003 at 09:11:20PM -0700, Discussion Lists wrote:
> The issue here is that there is an exit(1) at the end of the code. So

Yep. However return address is not the only memory area you might be interested in overflowing. Function pointers, at_exit addresses etc. might be quite useful to change the execution flow of the vulnerable program. In this example, you're expected to overflow a function pointer fn.

> is that we have to stick our shellcode in an environment variable, then

Place your shellcode in an environment variable, so that you know exactly where it is. You're not overwriting env variable, you are overwriting buf and reach fn.

> strlen("/home/user/gera/abo3");

Do you need help?X

If I say, you know the address of env variable, meaning that the address of our shellcode, you should've asked how? This part is the answer to that. Here you are calculating the address of the last environment variable. Again: read bof-eng.txt .

  • Murat
Received on Mon May 26 02:23:34 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:07:39 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library