ftp_brute_force
ftp_brute_force
is a tool designed for performing FTP brute force attacks.
Installation
You can install it via pip
:
pip install ftp_brute_force
Usage Instructions
Basic Usage
You can import and use the tool as follows:
from ftp_brute_force import FtpBruteForce
ftp_brute(server_address, user_dict_path, password_dict_path, [server_port])
Example
from ftp_brute_force import FtpBruteForce
if __name__ == '__main__':
server_address = "192.168.1.1"
user_dict = r"user.dic"
password_dict = r"password.dic"
fbf = FtpBruteForce(server_address, user_dict, password_dict)
user_tuple, password_tuple = fbf.load_dict()
fbf.connection()
fbf.brute(user_tuple, password_tuple)
Options
server_address
: The IP address of the target FTP server.user_dict
: Path to the user dictionary for brute forcing.password_dict
: Path to the password dictionary for brute forcing.
Dependencies
- Python 3.10 or higher
ftplib
(built-in Python module)socket
(built-in Python module)time
(built-in Python module)os
(built-in Python module)
Let me know if you'd like to make any changes!
GitHub Repository
GitHub
Change Log
For details, see the CHANGELOG.