[PLUG] stack smash

null null giimale at gmail.com
Sat Aug 1 12:34:15 IST 2009


On Sat, Aug 1, 2009 at 10:01 AM, abhi<abhi.elementx at gmail.com> wrote:
>>ret = buffer1 + 13; // ebp + 4
>>works fine for me, try n let me know what u get
>
> Hi null null(heh)
>  I tried but* aint working*.
>  What OS, kernel,  gcc do u have?
>

compile using: -fno-stack-protector option to gcc
Doesn't matter what version u are using. only thing restricting it in
4.3.3 is the default stack smash protection.
you need to just calulate the difference between eip and buffer1
(which should be 13 in this case) and it should work.
Yes, I'm using the same kernel and gcc version


-- 
Cheers,
@




More information about the Plug-mail mailing list