Re: ptrace
On Sun, 23 Mar 2003 at 02:26:44AM +0100, LeVA wrote:
> Hello!
>
> I have patched my kernel (2.4.20) with this patch:
> http://www.kernel.org/pub/linux/kernel/v2.4/testing/cset/cset-1.1076.txt
> It compile correctly.
> Now I have downloaded the km3.c and isec-ptrace-kmod-exploit.c
> The km3.c doesn't write the OK! stuff, and it could run forever starting
> child processes...
> But the 'isec-ptrace-kmod-exploit.c' runs like this:
> $ ./isec-ptrace-kmod-exploit
> sh-2.05a#
>
plhofmei@Oneil:/home/misc$ gcc isec-ptrace-kmod-exploit.c
plhofmei@Oneil:/home/misc$ ./a.out
[-] Unable to attach: Operation not permitted
Killed
plhofmei@Oneil:/home/misc$
Patch worked for me. gdb still works so the patch didn't disable ptrace
either....*shrugs*...are you sure you loaded the new kernel and ran
lilo?
--
Phil
PGP/GPG Key:
http://www.zionlth.org/~plhofmei/
wget -O - http://www.zionlth.org/~plhofmei/key.txt | gpg --import
--
Excuse #146: Multicasts on broken packets
Reply to:
- References:
- ptrace
- From: LeVA <leva@ecentrum.hu>