ftpknocker is a multi-threaded scanner for finding anonymous FTP servers
pip install ftpknocker
Usage: ftpknocker [OPTIONS] [TARGETS]...
Options:
--threads INTEGER Number of threads to utilize
--port INTEGER Port to scan
--timeout FLOAT Seconds before timeout
--shuffle / --no-shuffle Shuffle target list
--help Show this message and exit.
The syntax for specifying targets is similar to nmap. Here are some examples:
Scan three individual IPs:
ftpknocker 192.168.1.1 192.168.1.2 192.168.1.3
Scan an entire IP-block using CIDR notation. In this example, a total of 256 hosts are scanned:
ftpknocker 192.168.1.0/24
Feed targets from a other program using a pipe (IPs must be sperated by newlines):
cat mytargets.txt | ftpknocker
- Clone the repository
- Install the requirements
pip install -r requirements
- Run
pytest