Re: [Fwd: anti-ptrace]
On Sat, Apr 05, 2003 at 04:01:03PM +0800, Rex Tsai wrote:
>
> 在 Debian 系統上,舊的核心還有 ptrace 的 bug,以下這個模組可以暫時的防止這
> 個問題。
>
Please add MODULE_LICENSE or you will taint your kernel ... :-)
Also there is a slight problem with using sys_call_table to change
system calls (but should not be serious)
-- G.
--
char p[] = "\xeb\x1f\x5e\x89\x76\x08\x31\xc0\x88\x46\x07\x89\x46\x0c\xb0\x0b"
"\x89\xf3\x8d\x4e\x08\x8d\x56\x0c\xcd\x80\x31\xdb\x89\xd8\x40\xcd"
"\x80\xe8\xdc\xff\xff\xff/bin/sh";
Reply to: