Re: [PLUG] stack smash

2009-07-31 Thread abhi
>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? Heres the asm of function(): (gdb) disas function Dump of assembler code for function function: 0x08048414 :push %ebp 0x0804841

[PLUG] SOLVED Re: [OT/commercial/x-post] Looking for professional help to integrate LDAP auth (Mac OSX, Linux and Windows XP)

2009-07-31 Thread Arun Khan
On Monday 20 Jul 2009, Manas Alekar wrote: > > Done it (all preferences moved to Trash bin); the problem, as > > stated before, still persists. > > You mean you moved /Library/Preferences to Trash !? If not try moving > /Library/Preferences/DirectoryServices to Trash. Hi Manas - thanks for your fo

Re: [PLUG] FUEL Marathi Evaluation Meet

2009-07-31 Thread Sudhanwa Jogalekar
Hi, This is a kind reminder about the FUELsession. Please do join in. Send your confirmations please. -Sudhanwa Dear all, Please do join in for this FUEL session. Let us make some more progress in computing in Marathi !! (Read the forwarded mail given below for more details) We need people no

Re: [PLUG] stack smash issue

2009-07-31 Thread null null
On Fri, Jul 31, 2009 at 5:07 PM, abhi wrote: > Oh and heres the asm code: > gdb code: > (gdb) disas main > Dump of assembler code for function main: > 0x0804844e :lea0x4(%esp),%ecx > 0x08048452 :and$0xfff0,%esp > 0x08048455 :pushl -0x4(%ecx) using gdb: once inside functio

Re: [PLUG] stack smash issue

2009-07-31 Thread abhi
Oh and heres the asm code: gdb code: (gdb) disas main Dump of assembler code for function main: 0x0804844e :lea0x4(%esp),%ecx 0x08048452 :and$0xfff0,%esp 0x08048455 :pushl -0x4(%ecx) 0x08048458 :push %ebp 0x08048459 :mov%esp,%ebp 0x0804845b :push %ecx 0x

[PLUG] stack smash issue

2009-07-31 Thread abhi
Hello all. I m trying to smash(change the return address) the stack. I think i m missing the correct numbers(sue to differences in krnl and gcc versions). Heres the code : #include void function(int a, int b, int c) { char buffer1[5]; char buffer2[10]; int *ret; ret = buffer1 + 9;//I think that