Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from ftplib import *
- FTP_TLS.port = 50000
- ftps = FTP_TLS(host="24.69.50.210", user='headrx', passwd='warez4life' )
- #ftp.login("headrx", "warez4life")
- data = []
- ftps.dir(data.append)
- ftps.quit()
- for line in data:
- print ("-"), line
- OUTPUT:
- Original exception was:
- Traceback (most recent call last):
- File "pyDirBuster.py", line 5, in <module>
- ftps = FTP_TLS(host="IP-ADDR-REMOVED", user='USERNAME', passwd='PASSWDNAME' )
- File "/usr/lib/python3.7/ftplib.py", line 745, in __init__
- FTP.__init__(self, host, user, passwd, acct, timeout, source_address)
- File "/usr/lib/python3.7/ftplib.py", line 117, in __init__
- self.connect(host)
- File "/usr/lib/python3.7/ftplib.py", line 155, in connect
- self.welcome = self.getresp()
- File "/usr/lib/python3.7/ftplib.py", line 236, in getresp
- resp = self.getmultiline()
- File "/usr/lib/python3.7/ftplib.py", line 222, in getmultiline
- line = self.getline()
- File "/usr/lib/python3.7/ftplib.py", line 210, in getline
- raise EOFError
- EOFError
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement