tauseedzaman / FTP-Server-Scanner

This Python project consists of scripts to extract IP addresses from raw text and scan FTP servers for files, saving the results in a CSV file.

Repository from Github https://github.comtauseedzaman/FTP-Server-ScannerRepository from Github https://github.comtauseedzaman/FTP-Server-Scanner

FTP Server Scanner

This Python project consists of scripts to extract IP addresses from raw text and scan FTP servers for files, saving the results in a CSV file.

Project Structure

  • extract_ips.py: Extracts unique IP addresses from the raw.txt file and writes them to hosts.txt.
  • script.py: Connects to FTP servers listed in hosts.txt, recursively lists files on the server, and writes the output to ftp_output.csv.

Files

  • extract_ips.py: A script that extracts IP addresses from raw.txt and stores them in hosts.txt.
  • script.py: A script that connects to the FTP servers specified in hosts.txt, lists files on each server, and stores the results in ftp_output.csv.
  • raw.txt: Contains the raw text from which IP addresses will be extracted.
  • hosts.txt: Generated by extract_ips.py, it stores the unique IP addresses of the FTP servers to be scanned.
  • ftp_output.csv: The output file generated by script.py, which contains the listed files for each FTP server.

Usage

  1. Extract IP Addresses: Run the extract_ips.py script to extract IP addresses from the raw.txt file.

    python extract_ips.py

About

This Python project consists of scripts to extract IP addresses from raw text and scan FTP servers for files, saving the results in a CSV file.


Languages

Language:Python 100.0%