A simple to use python program to extract data transfered via FTP from its PCAP files. The program supports extracting TXT, JPEG and JPG formats.
Idea developed by Ipsita Hansdah. Program designed by Sonaal Pradeep.
The program runs and is tested on Linux using python3.7.5. The following packages are needed for the program : scapy, tqdm and colorama. To install these packages, run the following command on your terminal:
pip3 install -r requirements.txt
# 'os', 're' and other commented modules aren't included in PyPi, or come as default
The program comes with a well documented help page. Run the following command to access the help page:
python3 extr_ftp.py --help
# or
python3 extr_ftp.py -h
To run the program, enter the following command:
python3 extr_ftp.py path/to/pcap/file
# or, to send regex style paths
python3 extr_ftp.py "path/to/files/*"
- The program supports extracting textual data from HTTP packets, but this wouldn't be recommended as sometimes the entire content isn't extracted. To extract HTTP content, use the --html argument.