|
|||||||||||
|
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:
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");
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 .
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:07:39 EDT |
||||||||||
|
|||||||||||