Skip to content

sonaalPradeep/PCAP-Data-Extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PCAP-Data-Extractor

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.


Packages Pre-requisites

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

How to run the Program

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/*"

Notes

  • 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.

About

A simple python program to extract ftp-data packets and reconstruct the data file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages