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.
extract_ips.py
: Extracts unique IP addresses from theraw.txt
file and writes them tohosts.txt
.script.py
: Connects to FTP servers listed inhosts.txt
, recursively lists files on the server, and writes the output toftp_output.csv
.
extract_ips.py
: A script that extracts IP addresses fromraw.txt
and stores them inhosts.txt
.script.py
: A script that connects to the FTP servers specified inhosts.txt
, lists files on each server, and stores the results inftp_output.csv
.raw.txt
: Contains the raw text from which IP addresses will be extracted.hosts.txt
: Generated byextract_ips.py
, it stores the unique IP addresses of the FTP servers to be scanned.ftp_output.csv
: The output file generated byscript.py
, which contains the listed files for each FTP server.
-
Extract IP Addresses: Run the
extract_ips.py
script to extract IP addresses from theraw.txt
file.python extract_ips.py