A Python script to validate FTP credentials and check server accessibility.
- Test FTP server connections
- Support both anonymous and authenticated logins
- Read credentials from file or command line input
- Save valid credentials to
valid_credentials.txt - Colorful console output with statistics
-
Clone the repository:
git clone https://github.com/yourusername/ftp-checker.git cd ftp-checker -
Install required packages:
pip install -r requirements.txt
Basic Usage ```bash python ftp_checker.py -f credentials.txt
Create a text file with credentials in this format (one per line):
ftp.example.com|21|admin|password
ftp.test.com|2121|anonymous|
192.168.1.100|21||
Valid credentials are saved to valid_credentials.txt in same format
- Console shows color-coded results:
- Green: Successful connections
- Red: Failed attempts
- Blue: Informational messages
Python 3.6+ Required packages: - ftplib - colorama - pyfiglet