Skip to content

Latest commit

 

History

History
57 lines (47 loc) · 2.15 KB

README.md

File metadata and controls

57 lines (47 loc) · 2.15 KB

FTP Scanner for Pentesting and CTFs

Screenshot from 2024-07-28 19-53-06

Python License Platform Status

Overview

Welcome to the FTP Scanner, a tool designed for cybersecurity professionals and enthusiasts involved in Capture the Flag (CTF) competitions and pentesting activities. This script helps you identify anonymous FTP logins, lists files, grabs banners, and checks for known vulnerabilities against a database.

Features

  • Anonymous Login Detection: Checks if an FTP server allows anonymous logins.
  • File Listing: Lists all files available in the FTP directory.
  • Banner Grabbing: Extracts the FTP server banner.
  • Vulnerability Scanning: Compares the extracted banner against a local database of known vulnerabilities.

Prerequisites

Make sure you have Python 3.8+ installed. You'll also need to install the required dependencies:

Setup

git clone https://github.com/MIISTERC/ftp-scan.git
cd ftp-scan
sudo bash setup.sh

You can use the automated setup file setup.sh or you can do it manually..

git clone https://github.com/MIISTERC/ftp-scan.git
cd ftp-scan
pip3 install -r requirements.txt
sudo ln -s <path>/ftp-scan/ftpscan.py /usr/bin/ftpscan
ftpscan -h

or you can just use it by

python3 ftpscan.py -h

Usage

ftpscan -t 127.0.0.1 (default port is 21)
ftpscan -t 127.0.0.1 -p 1234

Warning

1.Make sure the shebang in ftpscan.py matches your actual python3 path if it does , then you are good to go :)
2.After running setup.sh , please don't move the script to another location as it deflects the symbolic link and as well as the script cant open the .db file. instead after cloning leave the ftp-scan directory as it is.

output

Example output
output

hope this tools! Help you..